怪:用update-alternatives配置wm
用update-alternatives --config x-window-manager,select kwin.但是我又想用kde了,可是用相同的命令select xfwm4後,又改不回拉?我的update-alternatives --display x-window-manager
Selection Alternative
-----------------------------------------------
1 /usr/bin/kwin
2 /usr/bin/fvwm2
*+ 3 /usr/bin/xfwm4
Press enter to keep the default[*], or type selection number:
debian:/# update-alternatives --display x-window-manager
x-window-manager - status is manual.
link currently points to /usr/bin/xfwm4
/usr/bin/kwin - priority 50
/usr/bin/fvwm2 - priority 50
slave x-window-manager.1.gz: /usr/share/man/man1/fvwm2.1.gz
/usr/bin/xfwm4 - priority 60
slave x-window-manager.1.gz: /usr/share/man/man1/xfwm4.1.gz
Current `best' version is /usr/bin/xfwm4.
Any help? 看看 update-alternatives 是不是 shell 脚本,如果是,打开查一下其修改的是哪个文件,手动改回来即可。
若不是 shell 脚本,就用 strace -o file.txt update-alternatives--config x-window-manager,select kwin ,打开 file.txt 查找其修改的文件,手动改回即可。 多谢KanKer的回答.
用update-alternatives --config x-session-manager已经可以了.
我也会去看看你说的情况的. :-D
页:
[1]