Skip to content

Commit c971cb2

Browse files
committed
feat: 新增软件和问题解决方案
1 parent bb83878 commit c971cb2

File tree

3 files changed

+59
-27
lines changed

3 files changed

+59
-27
lines changed
File renamed without changes.

linux/desktop/clash.desktop

Lines changed: 0 additions & 9 deletions
This file was deleted.

linux/manjaro-guide.md

Lines changed: 59 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ Server = https://mirrors.ustc.edu.cn/archlinuxcn/$arch
4040

4141
更新`GPG`签名
4242

43-
`sudo pacman -S archlinuxcn-keyring`
43+
`sudo pacman -Sy archlinuxcn-keyring && sudo pacman -Su`
4444

4545
### (二)、输入法设置
4646

@@ -113,28 +113,39 @@ sudo pacman -S --noconfirm net-tools
113113
#### 3.基本软件安装
114114

115115
```shell
116+
# 中文字体支持,安装后设置中选择noto-cjk
117+
sudo pacman -S noto-fonts-cjk noto-fonts-extra
118+
116119
# 安装谷歌浏览器、sublime-text、switchhosts、apifox、免费版的typora、linux版钉钉
117120
yay -S --noconfirm google-chrome sublime-text switchhosts-appimage apifox linuxqq typora-free dingtalk-bin
118121

119122
# 安装 dbeaver
120123
sudo pacman -S --noconfirm dbeaver
121124

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
124127
```
125128
#### 4.应用程序启动器
126129

127130
`yay -S ulauncher`
128131

129-
#### 4.截图软件
132+
#### 5.截图软件
130133

131134
`sudo pacman -S --noconfirm flameshot`
132135

133136
【推荐】 `yay -S snipaste`
134137

135138
录制gif图 `sudo pacman -S peek`
136139

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`环境
138149

139150
##### (1).安装`JDK`
140151
* 基本命令
@@ -160,9 +171,12 @@ yay -S --noconfirm visual-studio-code-bin wps-office ttf-wps-fonts foxitreader
160171
例如`sudo archlinux-java set java-17-openjdk`
161172

162173
##### (2).安装`intellij-idea-ultimate-edition`
163-
`yay -S intellij-idea-ultimate-edition --noconfirm`
164174

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.安装微信
166180

167181
目前微信的版本比较的多,哪个能用用哪个,安装下一个之前,务必卸载当前安装的
168182

@@ -171,23 +185,23 @@ yay -S --noconfirm visual-studio-code-bin wps-office ttf-wps-fonts foxitreader
171185
~~`yay -S --noconfirm wechat_app`~~<br/>
172186
官方原生Linux版微信 :`yay -S wechat-universal-bwrap`
173187

174-
#### 6.`github`访问问题
188+
#### 9.`github`访问问题
175189

176190
国内`github`访问很慢,即使使用`VPN`,依然不能访问,是因为现在好多地址使用了`github`地址都是使用镜像了,通过`VPN`,反而镜像也不能访问了。
177191

178192
在github上有一个github520的项目解决了这个问题,结合软件`SwitchHosts`,就能完美实现github的高速访问
179193

180194
安装好switchhosts后,添加一个远程hosts,填写以下地址:`https://cdn.jsdelivr.net/gh/521xueweihan/GitHub520@main/hosts`
181195

182-
#### 7.`ohmyzsh`安装
196+
#### 10.`ohmyzsh`安装
183197

184198
`ohmyzsh`就是使用的github镜像,通过上一节的switchhosts设置后,就能正常安装了。
185199

186200
安装地址:`sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)";`
187201

188202
推荐主题: `powerlevel10k/powerlevel10k`
189203

190-
#### 8.`clash`安装
204+
#### 11.`clash`安装
191205

192206
~~已停更:`yay -S clash-for-windows-chinese-git`~~
193207

@@ -202,7 +216,7 @@ clash v1.6.6版本镜像1 :
202216
clash v1.6.6版本镜像2 :
203217
`https://ghproxy.cc/https://github.com/clash-verge-rev/clash-verge-rev/releases/download/v1.6.6/clash-verge_1.6.6_arm64.deb`
204218

205-
#### 9.`sublime text`安装
219+
#### 12.`sublime text`安装
206220

207221
正常安装`sublime-text`: `yay -S sublime-text`
208222

@@ -219,25 +233,52 @@ echo -e "\n[sublime-text]\nServer = https://download.sublimetext.com/arch/stable
219233
sudo pacman -Syu --noconfirm sublime-text
220234
```
221235

222-
#### 10.忽略源文件的校验
236+
#### 13.忽略源文件的校验
223237

224238
手动编译安装:`makepkg -si --skipchecksums`
225239

226-
#### 11.软件包管理器
240+
#### 14.软件包管理器
227241

228242
`yay -S octopi`
229243

230-
#### 12.剪贴板管理工具
244+
#### 15.剪贴板管理工具
231245
`sudo pacman -S copyq`
232246

233-
#### 13.终端
247+
#### 16.终端
234248
`sudo pacman -S guake`
235249

236250
主题: `molokai`
237251

238-
#### 14.随用随记
252+
#### 17.随用随记
239253
`yay -S heynote-git`
240254

241-
#### 15.`redis`桌面客户端
255+
#### 18.`redis`桌面客户端
242256
`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

Comments
 (0)