Initial commit

This commit is contained in:
Dichgrem 2024-03-23 10:44:31 +08:00
parent 6a951633ce
commit 81d7b3d8bd
22 changed files with 759 additions and 235 deletions

View File

@ -70,7 +70,71 @@ tags = ["Junk-cleanup"]
2. **Stacer** Stacer 是一款开源的系统优化和监控工具,提供了垃圾清理、系统管理、系统监控等功能,适用于多种 Linux 发行版。 2. **Stacer** Stacer 是一款开源的系统优化和监控工具,提供了垃圾清理、系统管理、系统监控等功能,适用于多种 Linux 发行版。
3. **SweeperKDE 扫除者):** Sweeper 是 KDE 桌面环境的一部分,提供了简单易用的垃圾清理功能,可以帮助您清理系统中的临时文件、缓存等。 3. **SweeperKDE 扫除者):** Sweeper 是 KDE 桌面环境的一部分,提供了简单易用的垃圾清理功能,可以帮助您清理系统中的临时文件、缓存等。
## Arch linux 清理
1. **缓存清理**:
- `sudo pacman -Sc`: 清理包缓存,删除已安装的但不再需要的软件包。
- `sudo pacman -Scc`: 进一步清理所有包文件,包括已下载的包。
2. **系统日志**:
- `/var/log` 目录下包含系统日志文件。你可以删除较旧的日志文件,或者使用日志轮换工具,如 `logrotate`
3. **临时文件**:
- `/tmp` 目录下包含临时文件。你可以通过 `sudo rm -rf /tmp/*` 清理它们。
4. **缓存文件**:
- 一些应用程序会在 `~/.cache` 目录下存储缓存文件。你可以检查该目录并删除不再需要的文件。
5. **AUR 缓存**:
- AUR 辅助工具(如 `yay`)会在 `~/.cache/yay` 目录下存储构建和下载的软件包。你可以清理这些文件。
6. **旧内核**:
- 如果你安装了多个内核版本,你可以删除不再需要的旧内核。首先使用 `uname -r` 查看当前内核版本,然后使用 `sudo pacman -Rns linux-older-kernel` 删除不需要的版本。
7. **不再使用的配置文件**:
- 检查家目录下的隐藏文件,如 `~/.config`,并删除不再需要的配置文件。
8. **Docker日志文件**:
使用 `docker ps -a` 命令查找你感兴趣的容器的 ID。
````
docker ps -a
````
进入容器的日志目录,路径类似于 `/var/lib/docker/containers/<container-id>/`
````
cd /var/lib/docker/containers/<container-id>/
````
使用命令清理或删除日志文件。你可以删除所有日志文件,或者只删除特定的日志文件。
````
# 删除所有日志文件
rm *.log
# 删除特定日志文件(例如 stdout 和 stderr
rm *-json.log
````
## **Arch Linux 安装备份**
你可以定期备份 Arch Linux 安装的软件列表,以便在需要时轻松还原。
````
pacman -Qqe > package-list.txt
````
这将列出所有已安装的软件包,并将其保存到文件 `package-list.txt` 中。在还原系统时,你可以使用以下命令:
````
sudo pacman -S --needed - < package-list.txt
````
## 后记 ## 后记
垃圾文件的产生总是无可避免,这是因为随着使用时间的流逝,系统的熵值也在增大;生命以负熵为食,同样的为系统清理垃圾也是逆熵的一部分。在你的生命中会有许多电子设备,但它们往往只有你一任主人,请善待它们! 垃圾文件的产生总是无可避免,这是因为随着使用时间的流逝,系统的熵值也在增大;生命以负熵为食,同样的为系统清理垃圾也是逆熵的一部分。在你的生命中会有许多电子设备,但它们往往只有你一任主人,请善待它们!

View File

@ -60,6 +60,8 @@ MCSManager 面板简称MCSM 面板)是一款全中文,轻量级,开
4.浏览器打开 PVE 地址进入系统后我们需要给PVE换源。 4.浏览器打开 PVE 地址进入系统后我们需要给PVE换源。
## 换源
首先,移除(备份)一下 PVE 原始的官方源 (将 sources.list 改名为 sources.list.bak) 首先,移除(备份)一下 PVE 原始的官方源 (将 sources.list 改名为 sources.list.bak)
``mv /etc/apt/sources.list /etc/apt/sources.list.bak`` ``mv /etc/apt/sources.list /etc/apt/sources.list.bak``
@ -123,7 +125,20 @@ deb-src https://mirrors.ustc.edu.cn/debian/ bookworm-updates main contrib
7.安装基本系统,随后将进入包管理器和大组件安装; 7.安装基本系统,随后将进入包管理器和大组件安装;
![image-ldsc.webp](https://pic.dich.ink/1/2024/03/06/65e8667090f06.webp) ![image-ldsc.webp](https://pic.dich.ink/1/2024/03/06/65e8667090f06.webp)
我们选择清华源速度较快。注意Debian 安装时默认开启安全源,这个源是国外的所以下载速度极慢,因此还需要修改配置文件,这里使用 Ctrl+Alt+F2 从图形界面转到tty命令终端, 键入 Enter使用命令``nano /target/etc/apt/sources.list``,将所有的源都改成 http://mirrors.ustc.edu.cn 或者清华源,然后 Ctrl+X 退出保存, Ctrl+Alt+F5 回到图形界面。 我们选择清华源速度较快。注意Debian 安装时默认开启安全源,这个源是国外的所以下载速度极慢,因此还需要修改配置文件。
在安装步骤进入到选择安装的桌面环境和软件时, 键入 Ctrl+Alt+F2 可以看到从图形界面转到了tty命令终端, 键入 Enter
这里修改软件源配置文件
```
nano /target/etc/apt/sources.list
```
修改debian-security源地址  `http://mirrors.ustc.edu.cn ` 目测最快
```
deb http://mirrors.ustc.edu.cn/debian-security bullseye-security main
```
修改后 Ctrl+X 退出保存,然后退出终端重新进入界面继续安装,键入 Ctrl+Alt+F5。
![image-uphv.webp](https://pic.dich.ink/1/2024/03/06/65e8665b075cf.webp) ![image-uphv.webp](https://pic.dich.ink/1/2024/03/06/65e8665b075cf.webp)

View File

@ -3,7 +3,7 @@ title = "TerminalConsole and Shell"
date = 2024-03-12 date = 2024-03-12
[taxonomies] [taxonomies]
tags = ["Terminal","Console","Shell"] tags = ["linux"]
+++ +++

View File

@ -60,4 +60,143 @@ reboot
不出意外,重启后键盘即可使用,若系统不同将 apt 替换即可。 不出意外,重启后键盘即可使用,若系统不同将 apt 替换即可。
## 四.其他问题
对于Redmi 或 Lenovo刚发布的AMD R7 6800H机型
- WIFI没有驱动 - (螃蟹卡 8852be
- 蓝牙没有驱动 - (螃蟹卡 8852be)。
- 开启窗口特效后kwin_x11进程CPU占用飙升。
- 电源管理,无论怎么调,笔记本都发热很严重。
### 修复wifi驱动
```shell
# 内核小于5.18的
git clone https://github.com/HRex39/rtl8852be.git
# 内核大于等于5.18的
git clone https://github.com/HRex39/rtl8852be.git -b dev
cd rtl8852be
make -j8
sudo make install
sudo modprobe 8852be
```
### 修复蓝牙驱动
```shell
# 内核=5.15
git clone https://github.com/HRex39/rtl8852be_bt.git -b 5.15
# 内核=5.18
git clone https://github.com/HRex39/rtl8852be_bt.git -b 5.18
cd rtl8852be_bt
make -j8
sudo make install
```
### 修复kwin_x11显卡未驱动
首先去amd官网下载最新的linux-amd驱动
````
https://www.amd.com/zh-hans/support/linux-drivers // 22.20 for Ubuntu 20.04.5 HWE
````
修改Deepin为ubuntu
````
sudo vim /etc/os-release // ID=Deepin => ID=ubuntu
sudo apt install ./amdgpu-install_22.20.50200-1_all.deb
sudo vim /etc/apt/sources.list.d/amdgpu.list // focal => bionic
sudo apt update
sudo amdgpu-install --no-dkms
sudo apt install inxi clinfo
````
安装成功以后用inxi查看下
`inxi -G`
````
Graphics: Device-1: AMD Rembrandt driver: amdgpu v: kernel
Display: x11 server: X.Org 1.20.11 driver: amdgpu,ati unloaded: fbdev,modesetting,vesa
resolution: 1920x1080~60Hz
OpenGL: renderer: AMD YELLOW_CARP (LLVM 14.0.1 DRM 3.42 5.15.34-amd64-desktop)
v: 4.6 Mesa 22.1.0-devel
````
最后还原最初的修改:
````
sudo vim /etc/os-release // ID=ubuntu => ID=Deepin
sudo apt purge amdgpu-install
````
看下效果图:
````
➜ ~ glxinfo -B
name of display: :0
display: :0 screen: 0
direct rendering: Yes
Extended renderer info (GLX_MESA_query_renderer):
Vendor: AMD (0x1002)
Device: AMD YELLOW_CARP (LLVM 14.0.1, DRM 3.42, 5.15.34-amd64-desktop) (0x1681)
Version: 22.1.0
Accelerated: yes
Video memory: 2048MB
Unified memory: no
Preferred profile: core (0x1)
Max core profile version: 4.6
Max compat profile version: 4.6
Max GLES1 profile version: 1.1
Max GLES[23] profile version: 3.2
Memory info (GL_ATI_meminfo):
VBO free memory - total: 1388 MB, largest block: 1388 MB
VBO free aux. memory - total: 3047 MB, largest block: 3047 MB
Texture free memory - total: 1388 MB, largest block: 1388 MB
Texture free aux. memory - total: 3047 MB, largest block: 3047 MB
Renderbuffer free memory - total: 1388 MB, largest block: 1388 MB
Renderbuffer free aux. memory - total: 3047 MB, largest block: 3047 MB
Memory info (GL_NVX_gpu_memory_info):
Dedicated video memory: 2048 MB
Total available memory: 5120 MB
Currently available dedicated video memory: 1388 MB
OpenGL vendor string: AMD
OpenGL renderer string: AMD YELLOW_CARP (LLVM 14.0.1, DRM 3.42, 5.15.34-amd64-desktop)
OpenGL core profile version string: 4.6 (Core Profile) Mesa 22.1.0-devel
OpenGL core profile shading language version string: 4.60
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL version string: 4.6 (Compatibility Profile) Mesa 22.1.0-devel
OpenGL shading language version string: 4.60
OpenGL context flags: (none)
OpenGL profile mask: compatibility profile
OpenGL ES profile version string: OpenGL ES 3.2 Mesa 22.1.0-devel
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20
````
### 手动管理电源避免CPU过度使用而发热
安装下面的三方电源管理工具 `Boost Changer`,选择 `Performance`策略即可
````
wget https://github.com/nbebaw/boostchanger/releases/download/v4.4.0/boostchanger_4.4.0_amd64.deb
````
## 参考
[https://zhuanlan.zhihu.com/p/530643928](https://zhuanlan.zhihu.com/p/530643928)
[https://github.com/HRex39/rtl8852be](https://github.com/HRex39/rtl8852be)
[https://github.com/HRex39/rtl8852be_bt](https://github.com/HRex39/rtl8852be_bt)
[https://bbs.deepin.org/post/241607](https://bbs.deepin.org/post/241607)

View File

@ -0,0 +1,37 @@
+++
title = "Windows二级菜单恢复及设置开机启动"
date = 2023-08-26
[taxonomies]
tags = ["Windows11"]
+++
前言 Windows操作系统作为全球最为普及的桌面操作系统之一其用户界面的设计非常经典而win11中的二级菜单令人感到无语本文教你回到一级菜单。
<!-- more -->
## **使用CMD恢复完整右键菜单**
Win11的`显示更多选项`怎么设置才能将其关闭,并恢复成Win10的状态呢系统内置的命令提示符CMD可以帮助我们完成这一任务另外请注意此操作仅适用于CMD并不适用于Windows PowerShell。
**步骤1.** 按**Win+S**打开搜索框,输入**cmd**并以管理员身份运行命令提示符。
**步骤2.** 输入以下命令并按**Enter**键执行。
```
reg add HKCU\Software\Classes\CLSID{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}\InprocServer32 /ve /d “” /f
```
注意如果您想要重新打开Win11新样式的右键菜单的话以同样的方式在命令提示符中执行此命令
```
reg delete "HKCU\Software\Classes\CLSID{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}" /f
```
## **Win11添加开机自启动项方法**
选择“开始”按钮 ,然后滚动查找你希望在启动时运行的应用。
右键单击该应用,选择“更多”,然后选择“打开文件位置”。此操作会打开保存应用快捷方式的位置。如果没有“打开文件位置”选项,这意味着该应用无法在启动时运行。
文件位置打开后按win+ R键入“shell:startup”然后选择“确定”。这将打开“启动”文件夹。
将该应用的快捷方式从文件位置复制并粘贴到“启动”文件夹中,即添加启动项成功。

View File

@ -148,8 +148,8 @@
<span class="button next"> <span class="button next">
<a href="https://blog.dich.ink/mechrev-keyboard/"> <a href="https://blog.dich.ink/windows-secondary-menu-recovery-and-settings-boot-startup/">
<span class="button__text">机械革命键盘失灵拯救记</span>&nbsp; <span class="button__text">Windows二级菜单恢复及设置开机启动</span>&nbsp;
<span class="button__icon"></span> <span class="button__icon"></span>
</a> </a>
</span> </span>

View File

@ -119,9 +119,7 @@
<span class="post-tags-inline"> <span class="post-tags-inline">
:: ::
<a class="post-tag" href="https://blog.dich.ink/tags/console/">#Console</a>, <a class="post-tag" href="https://blog.dich.ink/tags/linux/">#linux</a></span>
<a class="post-tag" href="https://blog.dich.ink/tags/shell/">#Shell</a>,
<a class="post-tag" href="https://blog.dich.ink/tags/terminal/">#Terminal</a></span>
</li> </li>
<li class="post-list"> <li class="post-list">
@ -239,6 +237,16 @@
:: ::
<a class="post-tag" href="https://blog.dich.ink/tags/keyboard/">#keyboard</a></span> <a class="post-tag" href="https://blog.dich.ink/tags/keyboard/">#keyboard</a></span>
</li>
<li class="post-list">
<a href="https://blog.dich.ink/windows-secondary-menu-recovery-and-settings-boot-startup/">
<span class="post-date">2023-08-26</span>
:: <span class="post-list-title">Windows二级菜单恢复及设置开机启动</span></a>
<span class="post-tags-inline">
::
<a class="post-tag" href="https://blog.dich.ink/tags/windows11/">#Windows11</a></span>
</li> </li>
<li class="post-list"> <li class="post-list">
<a href="https://blog.dich.ink/accurate-pronunciation/"> <a href="https://blog.dich.ink/accurate-pronunciation/">

View File

@ -306,6 +306,26 @@
<summary type="html">&lt;p&gt;前言 机械革命作为一款极高性价比的笔记本,其优惠的力度和问题不断的故障让玩家们爱恨交织;作者在其上安装 Linux 时遇到了键盘失灵的问题,为了避免更多人踩坑,故写本文。&lt;&#x2F;p&gt; <summary type="html">&lt;p&gt;前言 机械革命作为一款极高性价比的笔记本,其优惠的力度和问题不断的故障让玩家们爱恨交织;作者在其上安装 Linux 时遇到了键盘失灵的问题,为了避免更多人踩坑,故写本文。&lt;&#x2F;p&gt;
</summary> </summary>
</entry>
<entry xml:lang="en">
<title>Windows二级菜单恢复及设置开机启动</title>
<published>2023-08-26T00:00:00+00:00</published>
<updated>2023-08-26T00:00:00+00:00</updated>
<author>
<name>
Unknown
</name>
</author>
<link rel="alternate" type="text/html" href="https://blog.dich.ink/windows-secondary-menu-recovery-and-settings-boot-startup/"/>
<id>https://blog.dich.ink/windows-secondary-menu-recovery-and-settings-boot-startup/</id>
<summary type="html">&lt;p&gt;前言 Windows操作系统作为全球最为普及的桌面操作系统之一其用户界面的设计非常经典而win11中的二级菜单令人感到无语本文教你回到一级菜单。&lt;&#x2F;p&gt;
</summary>
</entry> </entry>
<entry xml:lang="en"> <entry xml:lang="en">
<title>常见发音错误术语集合</title> <title>常见发音错误术语集合</title>

View File

@ -194,9 +194,7 @@
<span class="post-tags-inline"> <span class="post-tags-inline">
:: tags:&nbsp; :: tags:&nbsp;
<a class="post-tag" href="https://blog.dich.ink/tags/console/">#Console</a>&nbsp; <a class="post-tag" href="https://blog.dich.ink/tags/linux/">#linux</a></span>
<a class="post-tag" href="https://blog.dich.ink/tags/shell/">#Shell</a>&nbsp;
<a class="post-tag" href="https://blog.dich.ink/tags/terminal/">#Terminal</a></span>

View File

@ -163,6 +163,75 @@
<li><strong>Stacer</strong> Stacer 是一款开源的系统优化和监控工具,提供了垃圾清理、系统管理、系统监控等功能,适用于多种 Linux 发行版。</li> <li><strong>Stacer</strong> Stacer 是一款开源的系统优化和监控工具,提供了垃圾清理、系统管理、系统监控等功能,适用于多种 Linux 发行版。</li>
<li><strong>SweeperKDE 扫除者):</strong> Sweeper 是 KDE 桌面环境的一部分,提供了简单易用的垃圾清理功能,可以帮助您清理系统中的临时文件、缓存等。</li> <li><strong>SweeperKDE 扫除者):</strong> Sweeper 是 KDE 桌面环境的一部分,提供了简单易用的垃圾清理功能,可以帮助您清理系统中的临时文件、缓存等。</li>
</ol> </ol>
<h2 id="arch-linux-qing-li">Arch linux 清理</h2>
<ol>
<li>
<p><strong>缓存清理</strong>:</p>
<ul>
<li><code>sudo pacman -Sc</code>: 清理包缓存,删除已安装的但不再需要的软件包。</li>
<li><code>sudo pacman -Scc</code>: 进一步清理所有包文件,包括已下载的包。</li>
</ul>
</li>
<li>
<p><strong>系统日志</strong>:</p>
<ul>
<li><code>/var/log</code> 目录下包含系统日志文件。你可以删除较旧的日志文件,或者使用日志轮换工具,如 <code>logrotate</code></li>
</ul>
</li>
<li>
<p><strong>临时文件</strong>:</p>
<ul>
<li><code>/tmp</code> 目录下包含临时文件。你可以通过 <code>sudo rm -rf /tmp/*</code> 清理它们。</li>
</ul>
</li>
<li>
<p><strong>缓存文件</strong>:</p>
<ul>
<li>一些应用程序会在 <code>~/.cache</code> 目录下存储缓存文件。你可以检查该目录并删除不再需要的文件。</li>
</ul>
</li>
<li>
<p><strong>AUR 缓存</strong>:</p>
<ul>
<li>AUR 辅助工具(如 <code>yay</code>)会在 <code>~/.cache/yay</code> 目录下存储构建和下载的软件包。你可以清理这些文件。</li>
</ul>
</li>
<li>
<p><strong>旧内核</strong>:</p>
<ul>
<li>如果你安装了多个内核版本,你可以删除不再需要的旧内核。首先使用 <code>uname -r</code> 查看当前内核版本,然后使用 <code>sudo pacman -Rns linux-older-kernel</code> 删除不需要的版本。</li>
</ul>
</li>
<li>
<p><strong>不再使用的配置文件</strong>:</p>
<ul>
<li>检查家目录下的隐藏文件,如 <code>~/.config</code>,并删除不再需要的配置文件。</li>
</ul>
</li>
<li>
<p><strong>Docker日志文件</strong>:<br />
使用 <code>docker ps -a</code> 命令查找你感兴趣的容器的 ID。</p>
<pre style="background-color:#151515;color:#e8e8d3;"><code><span>docker ps -a
</span></code></pre>
<p>进入容器的日志目录,路径类似于 <code>/var/lib/docker/containers/&lt;container-id&gt;/</code></p>
<pre style="background-color:#151515;color:#e8e8d3;"><code><span>cd /var/lib/docker/containers/&lt;container-id&gt;/
</span></code></pre>
<p>使用命令清理或删除日志文件。你可以删除所有日志文件,或者只删除特定的日志文件。</p>
<pre style="background-color:#151515;color:#e8e8d3;"><code><span># 删除所有日志文件
</span><span>rm *.log
</span><span>
</span><span># 删除特定日志文件(例如 stdout 和 stderr
</span><span>rm *-json.log
</span></code></pre>
</li>
</ol>
<h2 id="arch-linux-an-zhuang-bei-fen"><strong>Arch Linux 安装备份</strong></h2>
<p>你可以定期备份 Arch Linux 安装的软件列表,以便在需要时轻松还原。</p>
<pre style="background-color:#151515;color:#e8e8d3;"><code><span>pacman -Qqe &gt; package-list.txt
</span></code></pre>
<p>这将列出所有已安装的软件包,并将其保存到文件 <code>package-list.txt</code> 中。在还原系统时,你可以使用以下命令:</p>
<pre style="background-color:#151515;color:#e8e8d3;"><code><span>sudo pacman -S --needed - &lt; package-list.txt
</span></code></pre>
<h2 id="hou-ji">后记</h2> <h2 id="hou-ji">后记</h2>
<p>垃圾文件的产生总是无可避免,这是因为随着使用时间的流逝,系统的熵值也在增大;生命以负熵为食,同样的为系统清理垃圾也是逆熵的一部分。在你的生命中会有许多电子设备,但它们往往只有你一任主人,请善待它们!</p> <p>垃圾文件的产生总是无可避免,这是因为随着使用时间的流逝,系统的熵值也在增大;生命以负熵为食,同样的为系统清理垃圾也是逆熵的一部分。在你的生命中会有许多电子设备,但它们往往只有你一任主人,请善待它们!</p>

View File

@ -138,6 +138,116 @@
</span><span>reboot </span><span>reboot
</span></code></pre> </span></code></pre>
<p>不出意外,重启后键盘即可使用,若系统不同将 apt 替换即可。</p> <p>不出意外,重启后键盘即可使用,若系统不同将 apt 替换即可。</p>
<h2 id="si-qi-ta-wen-ti">四.其他问题</h2>
<p>对于Redmi 或 Lenovo刚发布的AMD R7 6800H机型</p>
<ul>
<li>WIFI没有驱动 - (螃蟹卡 8852be</li>
<li>蓝牙没有驱动 - (螃蟹卡 8852be)。</li>
<li>开启窗口特效后kwin_x11进程CPU占用飙升。</li>
<li>电源管理,无论怎么调,笔记本都发热很严重。</li>
</ul>
<h3 id="xiu-fu-wifiqu-dong">修复wifi驱动</h3>
<pre data-lang="shell" style="background-color:#151515;color:#e8e8d3;" class="language-shell "><code class="language-shell" data-lang="shell"><span># 内核小于5.18的
</span><span>git clone https://github.com/HRex39/rtl8852be.git
</span><span># 内核大于等于5.18的
</span><span>git clone https://github.com/HRex39/rtl8852be.git -b dev
</span><span>
</span><span>cd rtl8852be
</span><span>make -j8
</span><span>sudo make install
</span><span>sudo modprobe 8852be
</span></code></pre>
<h3 id="xiu-fu-lan-ya-qu-dong">修复蓝牙驱动</h3>
<pre data-lang="shell" style="background-color:#151515;color:#e8e8d3;" class="language-shell "><code class="language-shell" data-lang="shell"><span># 内核=5.15
</span><span>git clone https://github.com/HRex39/rtl8852be_bt.git -b 5.15
</span><span># 内核=5.18
</span><span>git clone https://github.com/HRex39/rtl8852be_bt.git -b 5.18
</span><span>
</span><span>cd rtl8852be_bt
</span><span>make -j8
</span><span>sudo make install
</span></code></pre>
<h3 id="xiu-fu-kwin-x11xian-qia-wei-qu-dong">修复kwin_x11显卡未驱动</h3>
<p>首先去amd官网下载最新的linux-amd驱动</p>
<pre style="background-color:#151515;color:#e8e8d3;"><code><span>https://www.amd.com/zh-hans/support/linux-drivers // 22.20 for Ubuntu 20.04.5 HWE
</span></code></pre>
<p>修改Deepin为ubuntu</p>
<pre style="background-color:#151515;color:#e8e8d3;"><code><span>sudo vim /etc/os-release // ID=Deepin =&gt; ID=ubuntu
</span><span>
</span><span>sudo apt install ./amdgpu-install_22.20.50200-1_all.deb
</span><span>
</span><span>sudo vim /etc/apt/sources.list.d/amdgpu.list // focal =&gt; bionic
</span><span>
</span><span>sudo apt update
</span><span>
</span><span>sudo amdgpu-install --no-dkms
</span><span>
</span><span>sudo apt install inxi clinfo
</span></code></pre>
<p>安装成功以后用inxi查看下</p>
<p><code>inxi -G</code></p>
<pre style="background-color:#151515;color:#e8e8d3;"><code><span>Graphics: Device-1: AMD Rembrandt driver: amdgpu v: kernel
</span><span> Display: x11 server: X.Org 1.20.11 driver: amdgpu,ati unloaded: fbdev,modesetting,vesa
</span><span> resolution: 1920x1080~60Hz
</span><span> OpenGL: renderer: AMD YELLOW_CARP (LLVM 14.0.1 DRM 3.42 5.15.34-amd64-desktop)
</span><span> v: 4.6 Mesa 22.1.0-devel
</span></code></pre>
<p>最后还原最初的修改:</p>
<pre style="background-color:#151515;color:#e8e8d3;"><code><span>sudo vim /etc/os-release // ID=ubuntu =&gt; ID=Deepin
</span><span>sudo apt purge amdgpu-install
</span></code></pre>
<p>看下效果图:</p>
<pre style="background-color:#151515;color:#e8e8d3;"><code><span>➜ ~ glxinfo -B
</span><span>name of display: :0
</span><span>display: :0 screen: 0
</span><span>direct rendering: Yes
</span><span>Extended renderer info (GLX_MESA_query_renderer):
</span><span> Vendor: AMD (0x1002)
</span><span> Device: AMD YELLOW_CARP (LLVM 14.0.1, DRM 3.42, 5.15.34-amd64-desktop) (0x1681)
</span><span> Version: 22.1.0
</span><span> Accelerated: yes
</span><span> Video memory: 2048MB
</span><span> Unified memory: no
</span><span> Preferred profile: core (0x1)
</span><span> Max core profile version: 4.6
</span><span> Max compat profile version: 4.6
</span><span> Max GLES1 profile version: 1.1
</span><span> Max GLES[23] profile version: 3.2
</span><span>Memory info (GL_ATI_meminfo):
</span><span> VBO free memory - total: 1388 MB, largest block: 1388 MB
</span><span> VBO free aux. memory - total: 3047 MB, largest block: 3047 MB
</span><span> Texture free memory - total: 1388 MB, largest block: 1388 MB
</span><span> Texture free aux. memory - total: 3047 MB, largest block: 3047 MB
</span><span> Renderbuffer free memory - total: 1388 MB, largest block: 1388 MB
</span><span> Renderbuffer free aux. memory - total: 3047 MB, largest block: 3047 MB
</span><span>Memory info (GL_NVX_gpu_memory_info):
</span><span> Dedicated video memory: 2048 MB
</span><span> Total available memory: 5120 MB
</span><span> Currently available dedicated video memory: 1388 MB
</span><span>OpenGL vendor string: AMD
</span><span>OpenGL renderer string: AMD YELLOW_CARP (LLVM 14.0.1, DRM 3.42, 5.15.34-amd64-desktop)
</span><span>OpenGL core profile version string: 4.6 (Core Profile) Mesa 22.1.0-devel
</span><span>OpenGL core profile shading language version string: 4.60
</span><span>OpenGL core profile context flags: (none)
</span><span>OpenGL core profile profile mask: core profile
</span><span>
</span><span>OpenGL version string: 4.6 (Compatibility Profile) Mesa 22.1.0-devel
</span><span>OpenGL shading language version string: 4.60
</span><span>OpenGL context flags: (none)
</span><span>OpenGL profile mask: compatibility profile
</span><span>
</span><span>OpenGL ES profile version string: OpenGL ES 3.2 Mesa 22.1.0-devel
</span><span>OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20
</span></code></pre>
<h3 id="shou-dong-guan-li-dian-yuan-bi-mian-cpuguo-du-shi-yong-er-fa-re">手动管理电源避免CPU过度使用而发热</h3>
<p>安装下面的三方电源管理工具 <code>Boost Changer</code>,选择 <code>Performance</code>策略即可</p>
<pre style="background-color:#151515;color:#e8e8d3;"><code><span>wget https://github.com/nbebaw/boostchanger/releases/download/v4.4.0/boostchanger_4.4.0_amd64.deb
</span></code></pre>
<h2 id="can-kao">参考</h2>
<p><a href="https://zhuanlan.zhihu.com/p/530643928">https://zhuanlan.zhihu.com/p/530643928</a></p>
<p><a href="https://github.com/HRex39/rtl8852be">https://github.com/HRex39/rtl8852be</a></p>
<p><a href="https://github.com/HRex39/rtl8852be_bt">https://github.com/HRex39/rtl8852be_bt</a></p>
<p><a href="https://bbs.deepin.org/post/241607">https://bbs.deepin.org/post/241607</a></p>
</div> </div>
@ -149,9 +259,9 @@
</div> </div>
<div class="pagination__buttons"> <div class="pagination__buttons">
<span class="button previous"> <span class="button previous">
<a href="https://blog.dich.ink/accurate-pronunciation/"> <a href="https://blog.dich.ink/windows-secondary-menu-recovery-and-settings-boot-startup/">
<span class="button__icon"></span>&nbsp; <span class="button__icon"></span>&nbsp;
<span class="button__text">常见发音错误术语集合</span> <span class="button__text">Windows二级菜单恢复及设置开机启动</span>
</a> </a>
</span> </span>

View File

@ -181,11 +181,11 @@
<div class="post on-list"> <div class="post on-list">
<h1 class="post-title"><a href="https://blog.dich.ink/accurate-pronunciation/">常见发音错误术语集合</a></h1> <h1 class="post-title"><a href="https://blog.dich.ink/windows-secondary-menu-recovery-and-settings-boot-startup/">Windows二级菜单恢复及设置开机启动</a></h1>
<div class="post-meta-inline"> <div class="post-meta-inline">
<span class="post-date"> <span class="post-date">
2023-08-25 2023-08-26
</span> </span>
</div> </div>
@ -193,18 +193,18 @@
<span class="post-tags-inline"> <span class="post-tags-inline">
:: tags:&nbsp; :: tags:&nbsp;
<a class="post-tag" href="https://blog.dich.ink/tags/pronunciation/">#pronunciation</a></span> <a class="post-tag" href="https://blog.dich.ink/tags/windows11/">#Windows11</a></span>
<div class="post-content"> <div class="post-content">
<p>前言 中文和英语发音习惯不同,容易引起误解。本文旨在帮助您准确发音常见的科技术语,欢迎随时补充</p> <p>前言 Windows操作系统作为全球最为普及的桌面操作系统之一其用户界面的设计非常经典而win11中的二级菜单令人感到无语本文教你回到一级菜单</p>
</div> </div>
<div> <div>
<!-- &#xFE0E; -- force text style - some devices render this as emoji --> <!-- &#xFE0E; -- force text style - some devices render this as emoji -->
<a class="read-more button" href="https://blog.dich.ink/accurate-pronunciation/"> <a class="read-more button" href="https://blog.dich.ink/windows-secondary-menu-recovery-and-settings-boot-startup/">
<span class="button__text">Read more</span>&nbsp; <span class="button__text">Read more</span>&nbsp;
<span class="button__icon">&#8617;&#xFE0E;</span> <span class="button__icon">&#8617;&#xFE0E;</span>
</a> </a>

View File

@ -78,6 +78,40 @@
<div class="posts"> <div class="posts">
<div class="post on-list"> <div class="post on-list">
<h1 class="post-title"><a href="https://blog.dich.ink/accurate-pronunciation/">常见发音错误术语集合</a></h1>
<div class="post-meta-inline">
<span class="post-date">
2023-08-25
</span>
</div>
<span class="post-tags-inline">
:: tags:&nbsp;
<a class="post-tag" href="https://blog.dich.ink/tags/pronunciation/">#pronunciation</a></span>
<div class="post-content">
<p>前言 中文和英语发音习惯不同,容易引起误解。本文旨在帮助您准确发音常见的科技术语,欢迎随时补充。</p>
</div>
<div>
<!-- &#xFE0E; -- force text style - some devices render this as emoji -->
<a class="read-more button" href="https://blog.dich.ink/accurate-pronunciation/">
<span class="button__text">Read more</span>&nbsp;
<span class="button__icon">&#8617;&#xFE0E;</span>
</a>
</div>
</div>
<div class="post on-list">
<h1 class="post-title"><a href="https://blog.dich.ink/calling-cards/">流量卡购买与套路</a></h1> <h1 class="post-title"><a href="https://blog.dich.ink/calling-cards/">流量卡购买与套路</a></h1>
<div class="post-meta-inline"> <div class="post-meta-inline">
@ -176,41 +210,6 @@
</div> </div>
</div>
<div class="post on-list">
<h1 class="post-title"><a href="https://blog.dich.ink/pve-mcsm/">PVE安装与MC服务器搭建</a></h1>
<div class="post-meta-inline">
<span class="post-date">
2023-08-11
</span>
</div>
<span class="post-tags-inline">
:: tags:&nbsp;
<a class="post-tag" href="https://blog.dich.ink/tags/debain/">#Debain</a>&nbsp;
<a class="post-tag" href="https://blog.dich.ink/tags/pve/">#PVE</a></span>
<div class="post-content">
<p>前言 假期将至不少家里有闲置设备的小伙伴想尝试开设一个我的世界Minecraft服务器却不知从何下手。本文以 PVE-Debian-MCSM 为主线介绍其部署流程。</p>
</div>
<div>
<!-- &#xFE0E; -- force text style - some devices render this as emoji -->
<a class="read-more button" href="https://blog.dich.ink/pve-mcsm/">
<span class="button__text">Read more</span>&nbsp;
<span class="button__icon">&#8617;&#xFE0E;</span>
</a>
</div>
</div> </div>
<div class="pagination"> <div class="pagination">
<div class="pagination__buttons"> <div class="pagination__buttons">

View File

@ -78,6 +78,41 @@
<div class="posts"> <div class="posts">
<div class="post on-list"> <div class="post on-list">
<h1 class="post-title"><a href="https://blog.dich.ink/pve-mcsm/">PVE安装与MC服务器搭建</a></h1>
<div class="post-meta-inline">
<span class="post-date">
2023-08-11
</span>
</div>
<span class="post-tags-inline">
:: tags:&nbsp;
<a class="post-tag" href="https://blog.dich.ink/tags/debain/">#Debain</a>&nbsp;
<a class="post-tag" href="https://blog.dich.ink/tags/pve/">#PVE</a></span>
<div class="post-content">
<p>前言 假期将至不少家里有闲置设备的小伙伴想尝试开设一个我的世界Minecraft服务器却不知从何下手。本文以 PVE-Debian-MCSM 为主线介绍其部署流程。</p>
</div>
<div>
<!-- &#xFE0E; -- force text style - some devices render this as emoji -->
<a class="read-more button" href="https://blog.dich.ink/pve-mcsm/">
<span class="button__text">Read more</span>&nbsp;
<span class="button__icon">&#8617;&#xFE0E;</span>
</a>
</div>
</div>
<div class="post on-list">
<h1 class="post-title"><a href="https://blog.dich.ink/android-tv/">Android TV 折腾小记</a></h1> <h1 class="post-title"><a href="https://blog.dich.ink/android-tv/">Android TV 折腾小记</a></h1>
<div class="post-meta-inline"> <div class="post-meta-inline">

View File

@ -145,6 +145,7 @@
<img src="https://pic.dich.ink/1/2024/03/06/65e866883d700.webp" alt="image-alwv.webp" /> <img src="https://pic.dich.ink/1/2024/03/06/65e866883d700.webp" alt="image-alwv.webp" />
安装完成后 reboot。</p> 安装完成后 reboot。</p>
<p>4.浏览器打开 PVE 地址进入系统后我们需要给PVE换源。</p> <p>4.浏览器打开 PVE 地址进入系统后我们需要给PVE换源。</p>
<h2 id="huan-yuan">换源</h2>
<p>首先,移除(备份)一下 PVE 原始的官方源 (将 sources.list 改名为 sources.list.bak)</p> <p>首先,移除(备份)一下 PVE 原始的官方源 (将 sources.list 改名为 sources.list.bak)</p>
<p><code>mv /etc/apt/sources.list /etc/apt/sources.list.bak</code></p> <p><code>mv /etc/apt/sources.list /etc/apt/sources.list.bak</code></p>
<p>添加国内 Debian 软件源:</p> <p>添加国内 Debian 软件源:</p>
@ -185,7 +186,15 @@
<img src="https://pic.dich.ink/1/2024/03/06/65e86677d1a34.webp" alt="image-hihs.webp" /></p> <img src="https://pic.dich.ink/1/2024/03/06/65e86677d1a34.webp" alt="image-hihs.webp" /></p>
<p>7.安装基本系统,随后将进入包管理器和大组件安装; <p>7.安装基本系统,随后将进入包管理器和大组件安装;
<img src="https://pic.dich.ink/1/2024/03/06/65e8667090f06.webp" alt="image-ldsc.webp" /></p> <img src="https://pic.dich.ink/1/2024/03/06/65e8667090f06.webp" alt="image-ldsc.webp" /></p>
<p>我们选择清华源速度较快。注意Debian 安装时默认开启安全源,这个源是国外的所以下载速度极慢,因此还需要修改配置文件,这里使用 Ctrl+Alt+F2 从图形界面转到tty命令终端, 键入 Enter使用命令<code>nano /target/etc/apt/sources.list</code>,将所有的源都改成 http://mirrors.ustc.edu.cn 或者清华源,然后 Ctrl+X 退出保存, Ctrl+Alt+F5 回到图形界面。</p> <p>我们选择清华源速度较快。注意Debian 安装时默认开启安全源,这个源是国外的所以下载速度极慢,因此还需要修改配置文件。</p>
<p>在安装步骤进入到选择安装的桌面环境和软件时, 键入 Ctrl+Alt+F2 可以看到从图形界面转到了tty命令终端, 键入 Enter
这里修改软件源配置文件</p>
<pre style="background-color:#151515;color:#e8e8d3;"><code><span>nano /target/etc/apt/sources.list
</span></code></pre>
<p>修改debian-security源地址  <code>http://mirrors.ustc.edu.cn </code> 目测最快</p>
<pre style="background-color:#151515;color:#e8e8d3;"><code><span>deb http://mirrors.ustc.edu.cn/debian-security bullseye-security main
</span></code></pre>
<p>修改后 Ctrl+X 退出保存,然后退出终端重新进入界面继续安装,键入 Ctrl+Alt+F5。</p>
<p><img src="https://pic.dich.ink/1/2024/03/06/65e8665b075cf.webp" alt="image-uphv.webp" /></p> <p><img src="https://pic.dich.ink/1/2024/03/06/65e8665b075cf.webp" alt="image-uphv.webp" /></p>
<p>下载需要一些时间,此时可以饮口茶先,随后看到如下界面:</p> <p>下载需要一些时间,此时可以饮口茶先,随后看到如下界面:</p>
<p><img src="https://pic.dich.ink/1/2024/03/06/65e86657265a4.webp" alt="image-whqy.webp" /></p> <p><img src="https://pic.dich.ink/1/2024/03/06/65e86657265a4.webp" alt="image-whqy.webp" /></p>

View File

@ -145,9 +145,6 @@
<url> <url>
<loc>https://blog.dich.ink/tags/chromebook/</loc> <loc>https://blog.dich.ink/tags/chromebook/</loc>
</url> </url>
<url>
<loc>https://blog.dich.ink/tags/console/</loc>
</url>
<url> <url>
<loc>https://blog.dich.ink/tags/debain/</loc> <loc>https://blog.dich.ink/tags/debain/</loc>
</url> </url>
@ -169,6 +166,9 @@
<url> <url>
<loc>https://blog.dich.ink/tags/licenses/</loc> <loc>https://blog.dich.ink/tags/licenses/</loc>
</url> </url>
<url>
<loc>https://blog.dich.ink/tags/linux/</loc>
</url>
<url> <url>
<loc>https://blog.dich.ink/tags/open-source/</loc> <loc>https://blog.dich.ink/tags/open-source/</loc>
</url> </url>
@ -202,24 +202,21 @@
<url> <url>
<loc>https://blog.dich.ink/tags/searching/</loc> <loc>https://blog.dich.ink/tags/searching/</loc>
</url> </url>
<url>
<loc>https://blog.dich.ink/tags/shell/</loc>
</url>
<url> <url>
<loc>https://blog.dich.ink/tags/soft/</loc> <loc>https://blog.dich.ink/tags/soft/</loc>
</url> </url>
<url> <url>
<loc>https://blog.dich.ink/tags/software/</loc> <loc>https://blog.dich.ink/tags/software/</loc>
</url> </url>
<url>
<loc>https://blog.dich.ink/tags/terminal/</loc>
</url>
<url> <url>
<loc>https://blog.dich.ink/tags/uefi/</loc> <loc>https://blog.dich.ink/tags/uefi/</loc>
</url> </url>
<url> <url>
<loc>https://blog.dich.ink/tags/wifi/</loc> <loc>https://blog.dich.ink/tags/wifi/</loc>
</url> </url>
<url>
<loc>https://blog.dich.ink/tags/windows11/</loc>
</url>
<url> <url>
<loc>https://blog.dich.ink/tags/working/</loc> <loc>https://blog.dich.ink/tags/working/</loc>
</url> </url>
@ -234,6 +231,10 @@
<loc>https://blog.dich.ink/terminal-console-shell/</loc> <loc>https://blog.dich.ink/terminal-console-shell/</loc>
<lastmod>2024-03-12</lastmod> <lastmod>2024-03-12</lastmod>
</url> </url>
<url>
<loc>https://blog.dich.ink/windows-secondary-menu-recovery-and-settings-boot-startup/</loc>
<lastmod>2023-08-26</lastmod>
</url>
<url> <url>
<loc>https://blog.dich.ink/zola-blog/</loc> <loc>https://blog.dich.ink/zola-blog/</loc>
<lastmod>2024-03-12</lastmod> <lastmod>2024-03-12</lastmod>

View File

@ -118,12 +118,6 @@
</a> </a>
</li> </li>
<li class="tag-list">
<a href="https://blog.dich.ink/tags/console/">
Console (1 post)
</a>
</li>
<li class="tag-list"> <li class="tag-list">
<a href="https://blog.dich.ink/tags/debain/"> <a href="https://blog.dich.ink/tags/debain/">
Debain (1 post) Debain (1 post)
@ -166,6 +160,12 @@
</a> </a>
</li> </li>
<li class="tag-list">
<a href="https://blog.dich.ink/tags/linux/">
linux (1 post)
</a>
</li>
<li class="tag-list"> <li class="tag-list">
<a href="https://blog.dich.ink/tags/open/"> <a href="https://blog.dich.ink/tags/open/">
open (1 post) open (1 post)
@ -232,12 +232,6 @@
</a> </a>
</li> </li>
<li class="tag-list">
<a href="https://blog.dich.ink/tags/shell/">
Shell (1 post)
</a>
</li>
<li class="tag-list"> <li class="tag-list">
<a href="https://blog.dich.ink/tags/soft/"> <a href="https://blog.dich.ink/tags/soft/">
soft (1 post) soft (1 post)
@ -250,12 +244,6 @@
</a> </a>
</li> </li>
<li class="tag-list">
<a href="https://blog.dich.ink/tags/terminal/">
Terminal (1 post)
</a>
</li>
<li class="tag-list"> <li class="tag-list">
<a href="https://blog.dich.ink/tags/uefi/"> <a href="https://blog.dich.ink/tags/uefi/">
UEFI (1 post) UEFI (1 post)
@ -268,6 +256,12 @@
</a> </a>
</li> </li>
<li class="tag-list">
<a href="https://blog.dich.ink/tags/windows11/">
Windows11 (1 post)
</a>
</li>
<li class="tag-list"> <li class="tag-list">
<a href="https://blog.dich.ink/tags/working/"> <a href="https://blog.dich.ink/tags/working/">
working (1 post) working (1 post)

View File

@ -19,18 +19,18 @@ Dich&#x27;blog</title>
<meta name="description" content="All posts tagged Shell"> <meta name="description" content="All posts tagged linux">
<meta property="og:description" content="All posts tagged Shell"> <meta property="og:description" content="All posts tagged linux">
<meta property="og:title" content="Dich'blog"> <meta property="og:title" content="Dich'blog">
<meta property="og:type" content="website"> <meta property="og:type" content="website">
<meta property="og:url" content="https://blog.dich.ink/tags/shell/"> <meta property="og:url" content="https://blog.dich.ink/tags/linux/">
<meta name="twitter:card" content="summary_large_image"> <meta name="twitter:card" content="summary_large_image">
<meta name="twitter:description" content="All posts tagged Shell"> <meta name="twitter:description" content="All posts tagged linux">
<meta name="twitter:title" content="Dich'blog"> <meta name="twitter:title" content="Dich'blog">
<meta property="twitter:domain" content="blog.dich.ink"> <meta property="twitter:domain" content="blog.dich.ink">
<meta property="twitter:url" content="https://blog.dich.ink/tags/shell/"> <meta property="twitter:url" content="https://blog.dich.ink/tags/linux/">
<link rel="alternate" type="application/atom+xml" title="RSS" href="https://blog.dich.ink/atom.xml"> <link rel="alternate" type="application/atom+xml" title="RSS" href="https://blog.dich.ink/atom.xml">
@ -80,7 +80,7 @@ Dich&#x27;blog</title>
<div class="post"> <div class="post">
<h1 class="post-title"> <h1 class="post-title">
tag: #Shell tag: #linux
(1 post) (1 post)
</h1> </h1>
@ -96,9 +96,7 @@ Dich&#x27;blog</title>
<span class="post-tags-inline"> <span class="post-tags-inline">
:: ::
<a class="post-tag" href="https://blog.dich.ink/tags/console/">#Console</a>, <a class="post-tag" href="https://blog.dich.ink/tags/linux/">#linux</a></span>
<a class="post-tag" href="https://blog.dich.ink/tags/shell/">#Shell</a>,
<a class="post-tag" href="https://blog.dich.ink/tags/terminal/">#Terminal</a></span>
</li> </li>
</ul> </ul>

View File

@ -1,129 +0,0 @@
<!DOCTYPE html>
<html lang="en">
<head>
<title>
Dich&#x27;blog</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=5">
<meta name="robots" content="noodp"/>
<link rel="stylesheet" href="https://blog.dich.ink/style.css">
<link rel="stylesheet" href="https://blog.dich.ink/color/blue.css">
<link rel="stylesheet" href="https://blog.dich.ink/color/background_dark.css">
<link rel="stylesheet" href="https://blog.dich.ink/font-hack-subset.css">
<meta name="description" content="All posts tagged Terminal">
<meta property="og:description" content="All posts tagged Terminal">
<meta property="og:title" content="Dich'blog">
<meta property="og:type" content="website">
<meta property="og:url" content="https://blog.dich.ink/tags/terminal/">
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:description" content="All posts tagged Terminal">
<meta name="twitter:title" content="Dich'blog">
<meta property="twitter:domain" content="blog.dich.ink">
<meta property="twitter:url" content="https://blog.dich.ink/tags/terminal/">
<link rel="alternate" type="application/atom+xml" title="RSS" href="https://blog.dich.ink/atom.xml">
</head>
<body class="">
<div class="container">
<header class="header">
<div class="header__inner">
<div class="header__logo">
<a href="https://blog.dich.ink" style="text-decoration: none;">
<div class="logo">
Dich&#x27;blog
</div>
</a>
</div>
</div>
<nav class="menu">
<ul class="menu__inner">
<li><a href="https://blog.dich.ink">blog</a></li>
<li class="active"><a href="https://blog.dich.ink/tags">tags</a></li>
<li><a href="https://blog.dich.ink/archive">archive</a></li>
<li><a href="https://blog.dich.ink/about">about me</a></li>
<li><a href="https://blog.dich.ink/links">links</a></li>
<li><a href="https://github.com/Dichgrem" target="_blank" rel="noopener noreferrer">github</a></li>
</ul>
</nav>
</header>
<div class="content">
<div class="post">
<h1 class="post-title">
tag: #Terminal
(1 post)
</h1>
<a href="https://blog.dich.ink/tags">
Show all tags
</a>
<ul><li class="post-list">
<a href="https://blog.dich.ink/terminal-console-shell/">
<span class="post-date">2024-03-12</span>
:: <span class="post-list-title">TerminalConsole and Shell</span></a>
<span class="post-tags-inline">
::
<a class="post-tag" href="https://blog.dich.ink/tags/console/">#Console</a>,
<a class="post-tag" href="https://blog.dich.ink/tags/shell/">#Shell</a>,
<a class="post-tag" href="https://blog.dich.ink/tags/terminal/">#Terminal</a></span>
</li>
</ul>
</div>
</div>
<footer class="footer">
<div class="footer__inner">
<div class="copyright">
<span>©
2024
Dichgrem</span>
<span class="copyright-theme">
<span class="copyright-theme-sep">:: </span>
Theme: <a href="https://github.com/pawroman/zola-theme-terminimal/">Terminimal</a> by pawroman
</span>
</div>
</div>
</footer>
</div>
</body>
</html>

View File

@ -19,18 +19,18 @@ Dich&#x27;blog</title>
<meta name="description" content="All posts tagged Console"> <meta name="description" content="All posts tagged Windows11">
<meta property="og:description" content="All posts tagged Console"> <meta property="og:description" content="All posts tagged Windows11">
<meta property="og:title" content="Dich'blog"> <meta property="og:title" content="Dich'blog">
<meta property="og:type" content="website"> <meta property="og:type" content="website">
<meta property="og:url" content="https://blog.dich.ink/tags/console/"> <meta property="og:url" content="https://blog.dich.ink/tags/windows11/">
<meta name="twitter:card" content="summary_large_image"> <meta name="twitter:card" content="summary_large_image">
<meta name="twitter:description" content="All posts tagged Console"> <meta name="twitter:description" content="All posts tagged Windows11">
<meta name="twitter:title" content="Dich'blog"> <meta name="twitter:title" content="Dich'blog">
<meta property="twitter:domain" content="blog.dich.ink"> <meta property="twitter:domain" content="blog.dich.ink">
<meta property="twitter:url" content="https://blog.dich.ink/tags/console/"> <meta property="twitter:url" content="https://blog.dich.ink/tags/windows11/">
<link rel="alternate" type="application/atom+xml" title="RSS" href="https://blog.dich.ink/atom.xml"> <link rel="alternate" type="application/atom+xml" title="RSS" href="https://blog.dich.ink/atom.xml">
@ -80,7 +80,7 @@ Dich&#x27;blog</title>
<div class="post"> <div class="post">
<h1 class="post-title"> <h1 class="post-title">
tag: #Console tag: #Windows11
(1 post) (1 post)
</h1> </h1>
@ -90,15 +90,13 @@ Dich&#x27;blog</title>
<ul><li class="post-list"> <ul><li class="post-list">
<a href="https://blog.dich.ink/terminal-console-shell/"> <a href="https://blog.dich.ink/windows-secondary-menu-recovery-and-settings-boot-startup/">
<span class="post-date">2024-03-12</span> <span class="post-date">2023-08-26</span>
:: <span class="post-list-title">TerminalConsole and Shell</span></a> :: <span class="post-list-title">Windows二级菜单恢复及设置开机启动</span></a>
<span class="post-tags-inline"> <span class="post-tags-inline">
:: ::
<a class="post-tag" href="https://blog.dich.ink/tags/console/">#Console</a>, <a class="post-tag" href="https://blog.dich.ink/tags/windows11/">#Windows11</a></span>
<a class="post-tag" href="https://blog.dich.ink/tags/shell/">#Shell</a>,
<a class="post-tag" href="https://blog.dich.ink/tags/terminal/">#Terminal</a></span>
</li> </li>
</ul> </ul>

View File

@ -89,9 +89,7 @@
<span class="post-tags-inline"> <span class="post-tags-inline">
:: tags:&nbsp; :: tags:&nbsp;
<a class="post-tag" href="https://blog.dich.ink/tags/console/">#Console</a>&nbsp; <a class="post-tag" href="https://blog.dich.ink/tags/linux/">#linux</a></span>
<a class="post-tag" href="https://blog.dich.ink/tags/shell/">#Shell</a>&nbsp;
<a class="post-tag" href="https://blog.dich.ink/tags/terminal/">#Terminal</a></span>
<div class="post-content"> <div class="post-content">

View File

@ -0,0 +1,161 @@
<!DOCTYPE html>
<html lang="en">
<head>
<title>Dich&#x27;blog</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=5">
<meta name="robots" content="noodp"/>
<link rel="stylesheet" href="https://blog.dich.ink/style.css">
<link rel="stylesheet" href="https://blog.dich.ink/color/blue.css">
<link rel="stylesheet" href="https://blog.dich.ink/color/background_dark.css">
<link rel="stylesheet" href="https://blog.dich.ink/font-hack-subset.css">
<meta name="description" content="">
<meta property="og:description" content="">
<meta property="og:title" content="Dich'blog">
<meta property="og:type" content="article">
<meta property="og:url" content="https://blog.dich.ink/windows-secondary-menu-recovery-and-settings-boot-startup/">
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:description" content="">
<meta name="twitter:title" content="Dich'blog">
<meta property="twitter:domain" content="blog.dich.ink">
<meta property="twitter:url" content="https://blog.dich.ink/windows-secondary-menu-recovery-and-settings-boot-startup/">
<link rel="alternate" type="application/atom+xml" title="RSS" href="https://blog.dich.ink/atom.xml">
</head>
<body class="">
<div class="container">
<header class="header">
<div class="header__inner">
<div class="header__logo">
<a href="https://blog.dich.ink" style="text-decoration: none;">
<div class="logo">
Dich&#x27;blog
</div>
</a>
</div>
</div>
<nav class="menu">
<ul class="menu__inner">
<li class="active"><a href="https://blog.dich.ink">blog</a></li>
<li><a href="https://blog.dich.ink/tags">tags</a></li>
<li><a href="https://blog.dich.ink/archive">archive</a></li>
<li><a href="https://blog.dich.ink/about">about me</a></li>
<li><a href="https://blog.dich.ink/links">links</a></li>
<li><a href="https://github.com/Dichgrem" target="_blank" rel="noopener noreferrer">github</a></li>
</ul>
</nav>
</header>
<div class="content">
<div class="post">
<h1 class="post-title"><a href="https://blog.dich.ink/windows-secondary-menu-recovery-and-settings-boot-startup/">Windows二级菜单恢复及设置开机启动</a></h1>
<div class="post-meta-inline">
<span class="post-date">
2023-08-26
</span>
</div>
<span class="post-tags-inline">
:: tags:&nbsp;
<a class="post-tag" href="https://blog.dich.ink/tags/windows11/">#Windows11</a></span>
<div class="post-content">
<p>前言 Windows操作系统作为全球最为普及的桌面操作系统之一其用户界面的设计非常经典而win11中的二级菜单令人感到无语本文教你回到一级菜单。</p>
<span id="continue-reading"></span><h2 id="shi-yong-cmdhui-fu-wan-zheng-you-jian-cai-dan"><strong>使用CMD恢复完整右键菜单</strong></h2>
<p>Win11的<code>显示更多选项</code>怎么设置才能将其关闭,并恢复成Win10的状态呢系统内置的命令提示符CMD可以帮助我们完成这一任务另外请注意此操作仅适用于CMD并不适用于Windows PowerShell。</p>
<p><strong>步骤1.</strong><strong>Win+S</strong>打开搜索框,输入<strong>cmd</strong>并以管理员身份运行命令提示符。</p>
<p><strong>步骤2.</strong> 输入以下命令并按<strong>Enter</strong>键执行。</p>
<pre style="background-color:#151515;color:#e8e8d3;"><code><span>reg add HKCU\Software\Classes\CLSID{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}\InprocServer32 /ve /d “” /f
</span></code></pre>
<p>注意如果您想要重新打开Win11新样式的右键菜单的话以同样的方式在命令提示符中执行此命令</p>
<pre style="background-color:#151515;color:#e8e8d3;"><code><span>reg delete &quot;HKCU\Software\Classes\CLSID{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}&quot; /f
</span></code></pre>
<h2 id="win11tian-jia-kai-ji-zi-qi-dong-xiang-fang-fa"><strong>Win11添加开机自启动项方法</strong></h2>
<p>选择“开始”按钮 ,然后滚动查找你希望在启动时运行的应用。</p>
<p>右键单击该应用,选择“更多”,然后选择“打开文件位置”。此操作会打开保存应用快捷方式的位置。如果没有“打开文件位置”选项,这意味着该应用无法在启动时运行。</p>
<p>文件位置打开后按win+ R键入“shell:startup”然后选择“确定”。这将打开“启动”文件夹。</p>
<p>将该应用的快捷方式从文件位置复制并粘贴到“启动”文件夹中,即添加启动项成功。</p>
</div>
<div class="pagination">
<div class="pagination__title">
<span class="pagination__title-h">Thanks for reading! Read other posts?</span>
<hr />
</div>
<div class="pagination__buttons">
<span class="button previous">
<a href="https://blog.dich.ink/accurate-pronunciation/">
<span class="button__icon"></span>&nbsp;
<span class="button__text">常见发音错误术语集合</span>
</a>
</span>
<span class="button next">
<a href="https://blog.dich.ink/mechrev-keyboard/">
<span class="button__text">机械革命键盘失灵拯救记</span>&nbsp;
<span class="button__icon"></span>
</a>
</span>
</div>
</div>
</div>
</div>
<footer class="footer">
<div class="footer__inner">
<div class="copyright">
<span>©
2024
Dichgrem</span>
<span class="copyright-theme">
<span class="copyright-theme-sep">:: </span>
Theme: <a href="https://github.com/pawroman/zola-theme-terminimal/">Terminimal</a> by pawroman
</span>
</div>
</div>
</footer>
</div>
</body>
</html>