安装Manjaro Kde后应该做的事

1、设置AUR

排列国内源

1
sudo  pacman-mirrors -i -c China -m rank 

增加archlinuxcn库和antergos库

1
echo -e "\n[archlinuxcn]\nSigLevel = TrustAll\nServer = https://mirrors.tuna.tsinghua.edu.cn/archlinuxcn/\$arch\n\n[antergos]\nSigLevel = TrustAll\nServer = https://mirrors.tuna.tsinghua.edu.cn/antergos/\$repo/\$arch\n"|sudo tee -a /etc/pacman.conf

升级系统

1
sudo pacman -Syyu

安装archlinuxcn签名钥匙&antergos签名钥匙

1
sudo pacman -S --noconfirm archlinuxcn-keyring antergos-keyring

2、安装oh-my-zsh以及一些插件

安装oh-my-zsh

1
wget https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh -O - | sh

安装zsh-syntax-highlighting

1
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git $ZSH_CUSTOM/plugins/zsh-syntax-highlighting

安装zsh-autosuggestions

1
git clone git://github.com/zsh-users/zsh-autosuggestions $ZSH_CUSTOM/plugins/zsh-autosuggestions

安装autojump

1
2
3
git clone https://github.com/joelthelion/autojump.git $ZSH_CUSTOM/plugins/autojump
cd .oh-my-zsh/plugins/autojump
python3 install.py

在.zshrc里面激活这几个插件

1
2
3
4
5
6
7
8
9
# 编辑.zshrc
vim .zshrc
plugins=(
git
zsh-syntax-highlighting
zsh-autosuggestions
)
# 这个路径每个人的不一样,在安装autojump的时候终端会有提示
[[ -s /home/raymond/.autojump/etc/profile.d/autojump.sh ]] && source /home/raymond/.autojump/etc/profile.d/autojump.sh

3、 安装搜狗输入法

安装搜狗输入法#kde桌面

1
sudo pacman -S --noconfirm fcitx-im kcm-fcitx fcitx-sogoupinyin 

配置fcitx

1
sudo echo -e "export GTK_IM_MODULE=fcitx\nexport QT_IM_MODULE=fcitx\nexport XMODIFIERS=@im=fcitx">>~/.xprofile

最后重启

4.配置ss服务

  1. 安装shadowsocks客户端
1
sudo pacman -S shadowsocks-qt5 
  1. 配置转发服务
1
2
3
4
sudo pacman -S privoxy
sudo bash -c 'echo "forward-socks5 / 127.0.0.1:9999 .">> /etc/privoxy/config'
sudo systemctl start privoxy.service

打赏

请我喝杯咖啡吧~

支付宝
微信