重裝系統(tǒng)后筆記:網(wǎng)絡(luò)設(shè)置、WSL安裝、修改注冊表
# 重裝系統(tǒng)后,記錄的一些筆記
## 網(wǎng)絡(luò)設(shè)置
1. 安裝 [clash-verge](https://github.com/zzzgydi/clash-verge/releases)
? ?- 中國移動云盤: <https://caiyun.139.com/m/i?0I5CIX490zAh3> ?提取碼:UmnV
2. 配置 clash-verge (私信我獲取配置鏈接)
3. 根據(jù)工作需要您可能還需要在 host 文件添加域名解析
host 路徑:C:\Windows\System32\drivers\etc\hosts
## 【W(wǎng)indows】安裝 WSL (Windows Subsystem for Linux)
WSL 是一種允許在Windows操作系統(tǒng)上運(yùn)行Linux發(fā)行版的技術(shù),
安裝 WSL 后,可以在 Windows 上運(yùn)行 Linux 命令行工具。
安裝命令如下:
```powershell
wsl --install
```
安裝后,可以在 windos terminal 中選擇 Ubuntu 作為默認(rèn)終端。
## 【W(wǎng)indows】修改注冊表,交換左Ctrl和左Alt鍵位(我的習(xí)慣)
1. 創(chuàng)建一個批處理文件 (SwapCtrlAlt..bat)
2. 內(nèi)容如下:
? ? ```bat
? ? @echo off
? ? net session >nul 2>&1
? ? if %errorLevel% == 0 (
? ? ? ? echo Continuing...
? ? ) else (
? ? ? ? echo Please run the script as an administrator.
? ? ? ? pause
? ? ? ? exit /b 1
? ? )
? ? @echo off
? ? echo Swapping Left Ctrl and Left Alt keys...
? ? (
? ? ? ? echo Windows Registry Editor Version 5.00
? ? ? ? echo.
? ? ? ? echo [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout]
? ? ? ? echo "Scancode Map"=hex:00,00,00,00,00,00,00,00,03,00,00,00,38,00,1D,00,1D,00,38,00,00,00,00,00
? ? ) > SwapCtrlAlt.reg
? ? reg import SwapCtrlAlt.reg >nul 2>&1
? ? del SwapCtrlAlt.reg
? ? echo Left Ctrl and Left Alt keys have been swapped.
? ? echo Please restart your computer to apply the changes.
? ? pause
? ? ```
3. 管理員身份運(yùn)行批處理文件,重啟電腦.
P.S. 重啟后,如果需要恢復(fù)默認(rèn)設(shè)置:
1. 打開注冊表編輯器:
? ?- 按下Win + R鍵組合來打開“運(yùn)行”對話框。
? ?- 輸入“regedit”并按Enter鍵,以打開注冊表編輯器。
2. 導(dǎo)航到注冊表項(xiàng):HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout
3. 刪除鍵值:Scancode Map
4. 保存更改并退出注冊表編輯器。
5. 重新啟動計(jì)算機(jī)
## 下載瀏覽器/軟件
- 下載 chrome 登錄/導(dǎo)入書簽
- 下載 vscode
- 安裝 Git
- 下載密碼管理器
- ...
P.S.
您可以了解下我獨(dú)立開發(fā)的密碼管理器:
- [Passbox](https://zzk13180.github.io/passbox/)
- 近期會發(fā)布新版本,加入更多功能,敬請期待
- 歡迎您的使用和反饋,謝謝