Desktop Entry file is the desktop shortcut under Linux. A simplest desktop entry file is as following:
For an "Application" entry, "Exec" points to an executable file; for an "Link" entry, please use "URL" to define the URL your want to point to.
"Terminal" is true means openning the program in terminal.
"Icon" is used to define the icon file of the desktop entry.
For more information, please visit here.
1
[Desktop Entry]
2 Exec =/ home / sting / Software / flock / flock
3 Name = flock
4 Terminal = false
5 Type = Application
6 Icon =/ home / sting / Software / flock / icons / mozicon128.png
The first line is necessary. There are two types of desktop entry, the first is "Application" which means the entry is pointed to an executable program, the second one is "Link", which means a link to an URL.
2 Exec =/ home / sting / Software / flock / flock
3 Name = flock
4 Terminal = false
5 Type = Application
6 Icon =/ home / sting / Software / flock / icons / mozicon128.png
For an "Application" entry, "Exec" points to an executable file; for an "Link" entry, please use "URL" to define the URL your want to point to.
"Terminal" is true means openning the program in terminal.
"Icon" is used to define the icon file of the desktop entry.
For more information, please visit here.
Blogged with Flock
Tags: linux
本文介绍了Linux下桌面快捷方式文件的格式与配置方法。详细解释了各字段的意义,如指向的程序路径、图标文件位置等,并区分了指向应用程序与链接到URL的不同配置。
9897

被折叠的 条评论
为什么被折叠?



