manjaro i3wm 配置美化
入了i3wm的坑,浪费时间
更改国内源
sudo pacman-mirrors -i -c China -m rank
修改/etc/pacman.conf
在文件末尾加上163镜像源
[archlinuxcn]
SigLevel = Optional TrustedOnly
Server = http://mirrors.163.com/archlinux-cn/$arch
之后执行安装archlinuxcn-keyring
输入法
sudo pacman -S fcitx fcitx-im fcitx-configtool fcitx-googlepinyin
vim ~/.xprofile
export GTK_IM_MODULE=fcitx
export QT_IM_MODULE=fcitx
export XMODIFIERS="@im=fcitx"
终端运行fcitx
就可以设置输入法了
一些常用的软件
vscode
sublime
nixnote2
terminator
feh
albert
goldendict
tmux
wireshark
filezilla
putty
vim/neovim
emacs
...
软件太多,遇到什么说什么吧
zsh 配置
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
或
sh -c "$(wget -O- https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
ZSH_THEME="steeef"
git clone git://github.com/zsh-users/zsh-autosuggestions $ZSH_CUSTOM/plugins/zsh-autosuggestions
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting
plugins=(
git
zsh-autosuggestions
zsh-syntax-highlighting
z
)
oooiiii
解决蜂鸣声
sudo vim /etc/inputrc
将 set bell-style none
前面的注释符号去掉
简单的自定义 i3wm 的配置文件
原有的配置文件首先进行备份~/.i3/config
,然后在该配置文件末尾加上下面的语句
注意自定义的语句有些和默认配置冲突,要把默认配置修改一下
#########################################################
# my configuration #
#########################################################
# terminator
bindsym $mod+Return exec terminator
# fcitx
exec_always --no-startup-id fcitx
# feh 下面的配置不生效?
exec_always --no-startup-id feh --bg-scale "~/Pictures/1.jpg"
# browser
bindsym $mod+F2 exec google-chrome-stable
# albert
exec_always --no-startup-id albert
# xrandr 配置显示器
exec xrandr --output HDMI1 --auto --output LVDS1 --off
manjaro i3wm 自带了一个截图软件scrot
,可以不用下载其他的截图软件了,只不过它的配置我依然没有成功……