to the dropdown list
KDE4 provides an option for chaning the default windowmanager, but you dunno how to add your favourite to the list? That's easy!
Entries in that list are simple, default .desktop files, here's an example (the one for sawfish-1.6):
[Desktop Entry]
Name=Sawfish
Exec=sawfish
TryExec=sawfish
X-KDE-WindowManagerConfigure=sawfish-ui
#X-KDE-WindowManagerRestartArgument=--replace
Explanation:
Exec = The Application to start
TryExec = Check wether this application is executable
X-KDE-WindowManagerConfigure = The Configurationtool of the windowmanager
X-KDE-WindowManagerRestartArgument = Extra commandline arguements passed
to the windowmanager to replace the existing one
Now let's check there to place it, open a terminalemulator (eg. Konsole) and run:
kde4-config --install data
it will output something like:
/usr/share/kde4/apps/
append /ksmserver/windowmanagers/ to the path and place your .desktop file there.
For example:
/usr/share/kde4/apps/ksmserver/windowmanagers/sawfish.desktop
Now you can choose your windowmanager from the KDE4 Settings.
KDE4 Settings: Add a WindowManager (rev2)
- 黄美姬
- 帖子: 8428
- 注册时间: 2009-10-08 11:15
- 来自: 大城市铁岭
KDE4 Settings: Add a WindowManager (rev2)
我们是命运的妓女,它把我们都嫖了
N卡驱动:http://www.nvidia.cn/Download/index.aspx?lang=cn
极品飞车:http://www.geforce.cn/optimize/optimal- ... ts-450-ops
孤岛危机优化设置:http://www.geforce.cn/optimize/optimal- ... tx-450-ops
终端彩色:cp /etc/skel/.bashrc ~/
PS1="\[\e]2;\u@\H \w\a\e[32;1m\]\T$\[\e[0m\] "
http://cdimage.ubuntu.com/
http://releases.ubuntu.com/
N卡驱动:http://www.nvidia.cn/Download/index.aspx?lang=cn
极品飞车:http://www.geforce.cn/optimize/optimal- ... ts-450-ops
孤岛危机优化设置:http://www.geforce.cn/optimize/optimal- ... tx-450-ops
终端彩色:cp /etc/skel/.bashrc ~/
PS1="\[\e]2;\u@\H \w\a\e[32;1m\]\T$\[\e[0m\] "
http://cdimage.ubuntu.com/
http://releases.ubuntu.com/
- 右京样一
- 帖子: 468
- 注册时间: 2009-07-12 19:38
- 来自: 沦落人茶馆
- 联系:
Re: KDE4 Settings: Add a WindowManager (rev2)
窗口管理……搞不太懂具体的功用是啥