安裝
所用Linux版本為kali-rolling,直接安裝
apt install i3
設置為xinit的啟動對像
修改 ~/.xserverrc
#!/bin/sh
exec /usr/bin/Xorg -nolisten tcp "$@" vt$XDG_VTNR
修改 ~/xinintrc
#!/bin/sh
# /etc/X11/xinit/xinitrc
# global xinitrc file, used by all X sessions started by xinit (startx)
# invoke global X session script
#. /etc/X11/Xsession
######################################
exec i3
startx or xinit 可進入i3
i3配置文件
~/.config/i3/config
最后加入
##################################
exec --no-startup-id export GTK_IM_MODULE=ibus
exec --no-startup-id export XMODIFIERS=@im=ibus
exec --no-startup-id export QT_IM_MODULE=ibus
###########################
exec --no-startup-id feh --bg-scale /home/abc/.config/i3/bgp.jpg
exec --no-startup-id ibus-daemon --xim -d -r
注:1.這里是為了使用ibus輸入法. 2.feh軟件用來設置桌面
~/.config/i3status/config
加入了溫度顯示,注意溫度顯示的地址
#order += "ipv6"
order += "cpu_temperature 0"
order += "disk /"
order += "wireless _first_"
order += "ethernet _first_"
order += "battery all"
order += "load"
order += "tztime local"
cpu_temperature 0 {
format = "T: %degrees °C"
path = "/sys/devices/platform/coretemp.0/hwmon/hwmon2/temp2_input"
}
安裝配套應用
dmenu(應用菜單)
xbacklight(亮度調節)
feh(壁紙)
conky(顯示系統信息)
以上未完全測試
效果:
卸載其他終端,使用xterm
配置xterm下次在寫