更新日志
日期 | 内容 |
---|---|
2022.04.03 | 完成初稿 |
2022.04.05 | 更新sublime和imwheel |
2022.04.06 | 添加所有软件在Feroda的安装方法 |
2022.04.07 | 添加所有软件在Ubuntu的安装方法 |
2022.04.17 | 添加deepin-wine、微信、谷歌输入法 |
2022.04.25 | 添加测试网速工具speedtest |
写在前面
本文在Arch Linux上最终完成的效果:
电脑配置信息如下:
一、安装chrome
Arch Linux
yay google-chrome
无法显示中文:
安装中文字体即可正常显示:
yay noto-fonts-cjk
Fedora
yum源无这个包,通过网站下载安装。
Ubuntu
apt源无这个包,下载安装。
二、安装中文输入法
Arch Linux
使用了一段时间rime,感觉不太习惯,使用fcitx,换用google输入法。
安装:
sudo pacman -S fcitx-im
sudo pacman -S fcitx-configtool
sudo pacman -S fcitx-googlepinyin
配置环境变量:
vim ~/xprofile
添加以下内容:
export GTK_IM_MODULE=fcitx
export QT_IM_MODULE=fcitx
export XMODIFIERS="@im=fcitx"
打开configtool来添加googlepinyin输入法:
重启,即可正常使用。
Fedora
Fedora自带。
三、命令行下载工具
比较推荐多线程下载工具axel。
Arch Linux
yay axel
Fedora
sudo yum install axel
Ubuntu
sudo apt-get install axel
四、clash for linux
Clash是一款用Go语言开发,可以在Linux/MacOS/Windows等多平台使用的代理工具。
1. 安装
在github发布页面下载:https://github.com/Dreamacro/clash/releases/download/v1.2.0/clash-linux-amd64-v1.2.0.gz。
下载后解压,赋予可执行权限:
gzip -d clash-linux-amd64-v1.10.0.gz
sudo chmod +x clash-linux-amd64-v1.10.0
运行:
./clash-linux-amd64-v1.10.0
2. 配置
运行后会生成`~/.config/clash 路径,并在该路径下生成 Config.yaml 和Country.mmdb两个文件。
Country.mmdb文件没有的话,可以下载:
axel http://www.ideame.top/mmdb/Country.mmdb
3. 订阅
从某个地方下载到具体的代理配置文件config.yaml,覆盖原来的即可。
4. 使用
重新启动clash,然后在系统网络设置中,按照config.yaml中的内容配置代理。
五、gnome shell扩展(重点)
1. 检查系统的gnome shell版本
查看当前gnonme-shell版本:
gnome-shell version
2. gnome-shell安装web支持
ArchLinux:
yay chrome-gnome-shell
Fedora:自带。
Ubuntu:
sudo apt-get install chrome-gnome-shell
3. 浏览器安装扩展
gnome自带浏览器无需安装扩展。
chrome浏览器需要安装连接器支持插件:GNOME Shell integration。
4. 安装扩展
浏览器访问扩展地址即可安装: https://extensions.gnome.org/。
比如要安装 TopIconsFix 扩展:
六、截图软件
截图软件使用Flameshot,一个简洁但功能丰富的软件。
注意:此软件运行需要第四节中安装的 TopIconsFix 扩展。
Arch Linux
yay Flameshot
Fedora
sudo yum install flameshot
Ubuntu
sudo apt-get install flameshot
七、桌面美化
1. 优化工具
Arch Linux
yay gnome-tweaks
Fedora
sudo yum install gnome-tweaks
Ubuntu
sudo apt-get install gnome-tweaks
可以调整桌面的主题设置、字体设置、窗口样式设置。
2. 更换主题
主题网站: https://www.gnome-look.org/browse/。
这里我比较喜欢 Dracula(https://www.gnome-look.org/p/1687249),在线下载包:
解压后放到~/.themes
目录下,打开tweak工具,设置该主题:
设置后可以看到主题立即更改。
3. 更换壁纸
同样在gnome look网站,找到喜欢的壁纸,这里我选择macos的壁纸合集(https://www.gnome-look.org/p/1541102),下载:
4. 修改dock
默认dock只在点击活动的时候才出现,安装gnome扩展 dash-to-dock:
这样就一直在桌面了。
5. 更改图标主题
同样在gnome look网站,找一个喜欢的icon主题,这里我选择排名第一的 Candy icons(https://www.pling.com/s/Gnome/p/1305251),在线下载包。
解压后放到~/.icons
目录,然后在tweak中选择该主题:
打开文件管理器,看下效果:
八、网易云音乐
yay netease-cloud-music
九、邮件客户端
Arch Linux
yay Thunderbird
Ubuntu
自带。
十、开发工具
1. git
yay git
安装完之后配置:
git config --global user.name mculover666
git config --global user.email 2412828003@qq.com
2. gcc
系统默认自带gcc 11.2.0。
3. vscode
- ArchLinux
yay vscode
社区的包目前为1.66版本,下载后也安装 Dracula Official 主题:
- Fedora
官方有rpm包可以下载。
- Ubuntu
官方有deb包可以下载。
官方下载的deb包和rpm包是VSCode原生支持,arch上装的VScode,好多扩展用不了。
4. 终端模拟器tilix
yay tilix
经过一些颜色和字体调整,效果如下:
5. sublime
安装 Install the GPG key:
curl -O https://download.sublimetext.com/sublimehq-pub.gpg && sudo pacman-key --add sublimehq-pub.gpg && sudo pacman-key --lsign-key 8A8F901A && rm sublimehq-pub.gpg
选择x86_64稳定版本:
echo -e "\n[sublime-text]\nServer = https://download.sublimetext.com/arch/stable/x86_64" | sudo tee -a /etc/pacman.conf
安装:
sudo pacman -Syu sublime-text
十一、滚轮速度
安装:
yay imwheel
配置:
vim ~/.imwheelrc
添加以下配置内容:
".*"
None, Up, Button4, 2
None, Down, Button5, 2
Control_L, Up, Control_L|Button4
Control_L, Down, Control_L|Button5
Shift_L, Up, Shift_L|Button4
Shift_L, Down, Shift_L|Button5
None, Thumb1, Alt_L|Left
None, Thumb2, Alt_L|Right
启动:
imwheel
这就快的一批了~
十二、deepin-wine
deepin-wine是深度进行优化过的wine,比原版wine好用一点。
1. 安装deepin-wine
yay deepin-wine6-stable
2. 安装微信
yay deepin-wine-wechat
十三、网速测试工具
1. 安装
sudo yay speedtest
2. 测试
speedtest