mynote/linux/i3.md
2019-07-17 04:44:20 +08:00

55 lines
1.1 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# i3
## install && conf
> https://www.jianshu.com/p/cf14660d8af2
>
```bash
sudo pacman-mirrors -GB testing -c China
# 增加Arch linuxcn源
在/etc/pacman.conf文件末尾添加两行
[archlinuxcn]
Server = https://mirrors.ustc.edu.cn/archlinuxcn/$arch
# 更新系统
sudo pacman -Syu
# 安装archlinuxcn-keyring:
sudo pacman -S archlinuxcn-keyring
sudo pacman -Syu
# 安装chrome
sudo pacman -S google-chrome
#安装搜狗拼音
sudo pacman -S fcitx-im #默认全部安装
sudo pacman -S fcitx-configtool
sudo pacman -S fcitx-sogoupinyin
# 新建~/.xprofile文件加入如下内容
export GTK_IM_MODULE=fcitx
export QT_IM_MODULE=fcitx
export XMODIFIERS="@im=fcitx"
pacman -S adobe-source-code-pro-fonts wqy-bitmapfont wqy-microhei wqy-zenhei wqy-microhei-lite
sudo pacman -S xdg-user-dirs-gtk
export LANG=en_US
xdg-user-dirs-gtk-update
#然后会有个窗口提示语言更改,更新名称即可
export LANG=zh_CN.UTF-8
#然后重启电脑如果提示语言更改,保留旧的名称即可
```
```bash
# zsh icon bug
urxvt -font "xft:Deja Vu Sans Mono:size=12" &
```