如何在桌面上增加一个自己的程序的图标呢,用desktop

liebaobei 2010-01-19 03:38:56
rt
...全文
97 3 打赏 收藏 转发到动态 举报
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
leemeng0x61 2010-01-19
  • 打赏
  • 举报
回复
在桌面创建".desktop"文件

[root@lion Desktop]# more /usr/share/applications/gnome-gedit.desktop
[Desktop Entry]
Encoding=UTF-8
Name=Text Editor
Name[zh_CN]=文本编辑器
Comment=Edit text files
Comment[zh_CN]=编辑文本文件
Exec=gedit %U
Terminal=false
Type=Application
StartupNotify=true
MimeType=text/plain;
Icon=text-editor
Categories=GNOME;GTK;Application;Utility;TextEditor;X-Red-Hat-Base;
X-GNOME-DocPath=gedit/gedit.xml
X-GNOME-Bugzilla-Bugzilla=GNOME
X-GNOME-Bugzilla-Product=gedit
X-GNOME-Bugzilla-Component=general
X-GNOME-Bugzilla-Version=2.14.0
X-Desktop-File-Install-Version=0.10
OnlyShowIn=GNOME;
steptodream 2010-01-19
  • 打赏
  • 举报
回复
看看这个
http://www.wangchao.net.cn/bbsdetail_1777149.html
deep_pro 2010-01-19
  • 打赏
  • 举报
回复
在桌面建个软链接,指向你的程序即可
虽然样子难看点,能用

23,120

社区成员

发帖
与我相关
我的任务
社区描述
Linux/Unix社区 应用程序开发区
社区管理员
  • 应用程序开发区社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧