@@ -40,7 +40,7 @@ Server = https://mirrors.ustc.edu.cn/archlinuxcn/$arch
40
40
41
41
更新` GPG ` 签名
42
42
43
- ` sudo pacman -S archlinuxcn-keyring `
43
+ ` sudo pacman -Sy archlinuxcn-keyring && sudo pacman -Su `
44
44
45
45
### (二)、输入法设置
46
46
@@ -113,28 +113,39 @@ sudo pacman -S --noconfirm net-tools
113
113
#### 3.基本软件安装
114
114
115
115
``` shell
116
+ # 中文字体支持,安装后设置中选择noto-cjk
117
+ sudo pacman -S noto-fonts-cjk noto-fonts-extra
118
+
116
119
# 安装谷歌浏览器、sublime-text、switchhosts、apifox、免费版的typora、linux版钉钉
117
120
yay -S --noconfirm google-chrome sublime-text switchhosts-appimage apifox linuxqq typora-free dingtalk-bin
118
121
119
122
# 安装 dbeaver
120
123
sudo pacman -S --noconfirm dbeaver
121
124
122
- # 安装redis工具another-redis-desktop-manager、vscode、wps、wps字体文件、 福昕阅读器
123
- yay -S --noconfirm visual-studio-code-bin wps-office ttf-wps-fonts foxitreader
125
+ # 安装redis工具another-redis-desktop-manager、vscode、福昕阅读器
126
+ yay -S --noconfirm visual-studio-code-bin foxitreader
124
127
```
125
128
#### 4.应用程序启动器
126
129
127
130
` yay -S ulauncher `
128
131
129
- #### 4 .截图软件
132
+ #### 5 .截图软件
130
133
131
134
` sudo pacman -S --noconfirm flameshot `
132
135
133
136
【推荐】 ` yay -S snipaste `
134
137
135
138
录制gif图 ` sudo pacman -S peek `
136
139
137
- #### 4.` Java ` 环境
140
+ #### 6.` Office ` 办公软件
141
+
142
+ 安装` Wps `
143
+ * ` ibtiff5 ` 是` Wps PDF ` 支持库
144
+ * ` xx-cn-xx ` 是中文语言包
145
+
146
+ ` yay -S wps-office-cn ttf-wps-fonts wps-office-fonts ibtiff5 ttf-ms-fonts wps-office-mime-cn wps-office-mui-zh-cn `
147
+
148
+ #### 7.` Java ` 环境
138
149
139
150
##### (1).安装` JDK `
140
151
* 基本命令
@@ -160,9 +171,12 @@ yay -S --noconfirm visual-studio-code-bin wps-office ttf-wps-fonts foxitreader
160
171
例如` sudo archlinux-java set java-17-openjdk `
161
172
162
173
##### (2).安装` intellij-idea-ultimate-edition `
163
- ` yay -S intellij-idea-ultimate-edition --noconfirm `
164
174
165
- #### 5.安装微信
175
+ * ` intellij-idea-ultimate-edition-jre ` 对字体虚化的处理支持
176
+
177
+ ` yay -S intellij-idea-ultimate-edition intellij-idea-ultimate-edition-jre --noconfirm `
178
+
179
+ #### 8.安装微信
166
180
167
181
目前微信的版本比较的多,哪个能用用哪个,安装下一个之前,务必卸载当前安装的
168
182
@@ -171,23 +185,23 @@ yay -S --noconfirm visual-studio-code-bin wps-office ttf-wps-fonts foxitreader
171
185
~~ ` yay -S --noconfirm wechat_app ` ~~ <br />
172
186
官方原生Linux版微信 :` yay -S wechat-universal-bwrap `
173
187
174
- #### 6 .` github ` 访问问题
188
+ #### 9 .` github ` 访问问题
175
189
176
190
国内` github ` 访问很慢,即使使用` VPN ` ,依然不能访问,是因为现在好多地址使用了` github ` 地址都是使用镜像了,通过` VPN ` ,反而镜像也不能访问了。
177
191
178
192
在github上有一个github520的项目解决了这个问题,结合软件` SwitchHosts ` ,就能完美实现github的高速访问
179
193
180
194
安装好switchhosts后,添加一个远程hosts,填写以下地址:` https://cdn.jsdelivr.net/gh/521xueweihan/GitHub520@main/hosts `
181
195
182
- #### 7 .` ohmyzsh ` 安装
196
+ #### 10 .` ohmyzsh ` 安装
183
197
184
198
` ohmyzsh ` 就是使用的github镜像,通过上一节的switchhosts设置后,就能正常安装了。
185
199
186
200
安装地址:` sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"; `
187
201
188
202
推荐主题: ` powerlevel10k/powerlevel10k `
189
203
190
- #### 8 .` clash ` 安装
204
+ #### 11 .` clash ` 安装
191
205
192
206
~~ 已停更:` yay -S clash-for-windows-chinese-git ` ~~
193
207
@@ -202,7 +216,7 @@ clash v1.6.6版本镜像1 :
202
216
clash v1.6.6版本镜像2 :
203
217
` https://ghproxy.cc/https://github.com/clash-verge-rev/clash-verge-rev/releases/download/v1.6.6/clash-verge_1.6.6_arm64.deb `
204
218
205
- #### 9 .` sublime text ` 安装
219
+ #### 12 .` sublime text ` 安装
206
220
207
221
正常安装` sublime-text ` : ` yay -S sublime-text `
208
222
@@ -219,25 +233,52 @@ echo -e "\n[sublime-text]\nServer = https://download.sublimetext.com/arch/stable
219
233
sudo pacman -Syu --noconfirm sublime-text
220
234
```
221
235
222
- #### 10 .忽略源文件的校验
236
+ #### 13 .忽略源文件的校验
223
237
224
238
手动编译安装:` makepkg -si --skipchecksums `
225
239
226
- #### 11 .软件包管理器
240
+ #### 14 .软件包管理器
227
241
228
242
` yay -S octopi `
229
243
230
- #### 12 .剪贴板管理工具
244
+ #### 15 .剪贴板管理工具
231
245
` sudo pacman -S copyq `
232
246
233
- #### 13 .终端
247
+ #### 16 .终端
234
248
` sudo pacman -S guake `
235
249
236
250
主题: ` molokai `
237
251
238
- #### 14 .随用随记
252
+ #### 17 .随用随记
239
253
` yay -S heynote-git `
240
254
241
- #### 15 .` redis ` 桌面客户端
255
+ #### 18 .` redis ` 桌面客户端
242
256
` yay -S -noconfirm another-redis-desktop-manager ` <br />
243
- ` yay -S tiny-rdm-git `
257
+ ` yay -S tiny-rdm-git `
258
+
259
+ #### 19.` SublimeText ` 和` DBeaver ` 等软件没有全局菜单
260
+ ` sudo pacman -S appmenu-gtk-module `
261
+
262
+ #### 20.` Apple ` 光标
263
+ ` yay -S apple_cursor `
264
+
265
+ #### 21.网卡连接网络使用随机` Mac ` 地址
266
+ 在` /etc/NetworkManager/conf.d/ ` 新建任意名称的` .conf ` 文件,复制以下内容
267
+ 例如` wifi_rand_mac.conf `
268
+
269
+ > 后面的注释项按需开启
270
+
271
+ ``` txt
272
+ [device-mac-randomization]
273
+ # 扫描 wifi 时随机化 MAC
274
+ wifi.scan-rand-mac-address=yes # no
275
+
276
+ [connection-mac-randomization]
277
+ # 每次通过有线连接时随机化 MAC
278
+ ethernet.cloned-mac-address=random # stable
279
+ # 每次通过无线连接时随机化 MAC
280
+ wifi.cloned-mac-address=random # stable
281
+ ```
282
+
283
+ * 重启网络管理器
284
+ ` sudo systemctl restart NetworkManager `
0 commit comments