Console TDM (简体中文)
Related articles
Console TDM是一个用纯bash脚本写出的xorg-xinit扩展组件. 它的灵感来自于CDM,这个软件可以替代诸如GDM这样的显示管理器的工作.
安装
AUR中已经收录了console-tdm,您可以通过yaourt
来安装这个软件包.
现在,您需要通过这个命令systemctl disable
来保证没有其他的显示管理器在开机时被运行.
比如,你正在使用GDM显示管理器,你需要使他在开机时不被运行:
# systemctl disable gdm.service
or
# systemctl disable graphical.target # systemctl enable multi-user.target
当安装Console TDM完成,你需要修改你的~/.bash_profile
文件,请加入以下文字
source /usr/bin/tdm
并编辑你的~/.xinitrc配置文件,加入以下字段并注释掉其他以exec
开头的字段
exec tdm --xstart
配置
You should copy the links to your WM/DE starter to ~/.tdm/sessions, 然后将不需要X图形环境的程序连接到~/.tdm/extra. 为了方便,你也可以运行tdmctl init
来达到同样效果.
tdmctl
组件的功能非常像systemctl,并且它也是调整Console TDM设置的强有力工具.
您可以通过编辑~/.tdm/tdminit
使Console TDM更具个性化.