linux desktop entry 文件的编写问题

sh/bash/dash/ksh/zsh等Shell脚本
回复
sarrow
帖子: 403
注册时间: 2007-10-27 1:04

linux desktop entry 文件的编写问题

#1

帖子 sarrow » 2013-11-18 11:15

其中的 Icon属性,可以用图片的绝对路径;也能写成将对路径。

我想知道的是,相对路径有哪些?

可以将图表放在下面这里?
/usr/share/pixmaps

还有其他地方吗?

另外,我用的是 ubuntu 13.04
sarrow
帖子: 403
注册时间: 2007-10-27 1:04

Re: linux desktop entry 文件的编写问题

#2

帖子 sarrow » 2013-11-18 11:16

好像还有 ~/.icons 还有吗?
sarrow
帖子: 403
注册时间: 2007-10-27 1:04

Re: linux desktop entry 文件的编写问题

#3

帖子 sarrow » 2013-11-18 11:18

好像还有 ~/.icons 还有吗?

还有一个问题。unity桌面的 Win+A 快捷键,会搜索那些文件夹下的desktop文件?

我要添加个人用户的快捷方式,应该把这些文件放在哪个文件夹下?
头像
eexpress
帖子: 58428
注册时间: 2005-08-14 21:55
来自: 长沙

Re: linux desktop entry 文件的编写问题

#4

帖子 eexpress » 2013-11-18 12:26

/usr/share/icons/hicolor/ 也可以。

desktop的内容,都应该在公用位置。

https://developer.gnome.org/integration ... es.html.en
● 鸣学
sarrow
帖子: 403
注册时间: 2007-10-27 1:04

Re: linux desktop entry 文件的编写问题

#5

帖子 sarrow » 2013-11-18 12:39

恩,多谢ee!

问题解决!
回复