manjaro i3 配置筆記

更改國內源

sudo pacman-mirrors -GB testing -c Chinahtml

增長Arch linuxcn源

在/etc/pacman.conf文件末尾添加兩行:linux

[archlinuxcn]
Server = https://mirrors.ustc.edu.cn/archlinuxcn/$archgit

更新系統
sudo pacman -Syugithub

安裝archlinuxcn-keyring:
sudo pacman -S archlinuxcn-keyring
sudo pacman -Syuchrome

安裝chrome
sudo pacman -S google-chromejson

安裝搜狗拼音
sudo pacman -S fcitx-im #默認所有安裝
sudo pacman -S fcitx-configtool
sudo pacman -S fcitx-sogoupinyin vim

啓動 qtconfig-qt4 將Interdace下的Default Input Method 改成fcitxapi

啓動 fcitx 設置輸入法app

添加輸入法開機啓動
sudo vim .i3/config 佈局

添加

exec --no-startup-id fcitx

exec --no-startup-id sslocal -c ~/app/ss/conf/ss.json --log-file ~/app/ss/logs/ss.log -d start --pid-file ~/app/ss/run/ss.pidhttps://github.com/meskarune/i3lock-fancy

設置硬件時鐘

sudo hwclock --systohc
同步時間
ntpdate -u ntp.api.bz

安裝zsh

sudo pacman -S zsh zsh-doc
其中,zsh-doc安裝在/usr/share/doc/zsh/文件夾下,包含html和pdf格式的zsh文檔。

sudo pacman -S manjaro-zsh-config #manjaro的zsh配置文檔。
cp /etc/skel/.zshrc ~/.zshrc #將配置文件複製到用戶目錄
zsh #啓動zsh
chsh -s /bin/zsh #默認啓動zsh

多顯示器配置

執行  arandr  命令,調整顯示器佈局;另存爲 路徑爲.screenlayout/screenlayout.sh

添加開機啓動 

sudo vim .i3/config

添加  exec --no-startup-id screenlayout

相關文章
相關標籤/搜索