XFCE资料收集贴

各种窗口管理器和美化相关
回复
heiyou
帖子: 80
注册时间: 2008-11-19 16:18

XFCE资料收集贴

#1

帖子 heiyou » 2008-12-22 21:24

XFCE修改系统自动生成的菜单方法

原来特简单

/usr/share/applications
目录里有大量的*.desktop文件。想加一个菜单项只须复制同类别的文件然后改改内容就完事。很简单。

http://forum.xfce.org/index.php?topic=2658.0

Add an applicatation to the menu:
You have to create a .desktop file (usually in /usr/share/applications/) for the app you want to add.

In the following example, we create a entry in the menu with the name "foo" in the submenu "Multimedia":

Code:

[Desktop Entry]
Encoding=UTF-8
Name=foo
GenericName=bar
Comment=Senseless programm ever
Exec=foobar
Icon=/usr/share/pixmaps/foobar.xpm
Terminal=false
Type=Application
Categories=Multimedia;


Remove an application to the menu:
You can do this in to ways.
First way, and the easier one is to simply remove the .desktop file in the /usr/share/applications/-folder.
The second way is, to add this line to the .desktop file:

Code:

NoDisplay=true

注意:不想显示就加上面一句,最好不删除desktop文件。原因如下:
You should do "NoDisplay=true" as if you remove the file you will lose any mime filetype associations.
上次由 heiyou 在 2009-01-02 16:07,总共编辑 1 次。
heiyou
帖子: 80
注册时间: 2008-11-19 16:18

Re: 找到XFCE修改系统自动生成的菜单方法

#2

帖子 heiyou » 2009-01-02 16:06

xfce常见问题解答
http://wiki.xfce.org/zh-cn/faq

此页为用户和开发者提供了大量 Xfce 文档。
http://www.xfce.org/documentation/
头像
weive
帖子: 3236
注册时间: 2007-10-21 18:36
来自: 汕头/广东/中国

Re: XFCE资料收集贴

#3

帖子 weive » 2009-01-02 20:28

还行……就wiki什么的……
但是没有什么使用技巧之类的……
有PDF的书籍那就更好了……
老子的哲学是“”,庄子的哲学是“
人有一技在身,则逍遥游而无不为
回复