KDE4 Settings: Add a WindowManager (rev2)

各种窗口管理器和美化相关
回复
头像
黄美姬
帖子: 8428
注册时间: 2009-10-08 11:15
来自: 大城市铁岭

KDE4 Settings: Add a WindowManager (rev2)

#1

帖子 黄美姬 » 2010-04-22 2:07

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.
我们是命运的妓女,它把我们都嫖了

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)

#2

帖子 右京样一 » 2010-04-23 22:58

窗口管理……搞不太懂具体的功用是啥
沦落人闲居搬迁:
http://ukyoi.wordpress.com/

我没有命令恐惧症,但是有图形界面癖……
回复