`
stingh711
  • 浏览: 122125 次
  • 性别: Icon_minigender_1
  • 来自: 无锡
社区版块
存档分类
最新评论

How to create a desktop shortcut in linux?

阅读更多
Desktop Entry file is the desktop shortcut under Linux. A simplest desktop entry file is as following:
<!---->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.
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

分享到:
评论

相关推荐

    How to create a shortcut to another file

    string shortcutPath = "C:\\path\\to\\shortcut.lnk"; // 创建快捷方式对象 Shortcut shortcut = new Shortcut(shortcutPath); shortcut.Description = "Target File Shortcut"; shortcut.IconLocation = "C:...

    Postman Desktop shortcut for Ubuntu 18

    Postman Desktop shortcut for Ubuntu 18, Postman version: Postman-linux-x64-7.0.7. To install, download Postman linux x64 7.0.7, modify the PATH_TO to Postman folder, copy the postman.desktop to /usr/...

    Shortcut to Si9000-能用到2038年的授权linece

    "Shortcut to Si9000-能用到2038年的授权linece"这个标题提到了Si9000,这是一个重要的电子设计自动化(EDA)软件工具,主要用于硬件工程师进行电路设计和分析。该软件提供了强大的阻抗计算功能,帮助工程师在设计...

    Excel.2013.Working.with.Data.Ranges.and.Tables

    You learn how to copy these validation rules to other cells, how to remove validation rules from cells and how to use the Data Form dialog box to enter and locate data in a range. Next you learn how...

    ShortCut.exe_命令行创建快捷方式

    用过别人写的,总觉得不顺手(并非写得不好),所以自写一个。ShortCut.exe_命令行创建快捷方式...shortcut D:\Tencent\QQ\Bin\QQ.exe /a -win /d QQ /s 3 /h ctrl+F5 /i C:\WINDOWS\system32\shell32.dll,13 /ld c.lnk

    Control Panel - Create New Shortcut

    标题“Control Panel - Create New Shortcut”暗示了这个压缩包可能包含了一个编程项目,该项目旨在创建Windows操作系统中的控制面板快捷方式。在Windows中,控制面板是用户管理系统设置的主要界面,而创建快捷方式...

    破解时间限制的RunAsDate

    能破解Prezi 1.从网上找个prezi试用版,下载后安装即可,但只有30天的试用期。...8. 在"Create Desktop Shortcut"旁键入"PreziDesktop", 点击“Create Desktop Shortcut”,桌面即有新的檔案,破解完成!

    AD选择题,绘图知识点练习,AD知识点复习

    这部分知识点可能涉及到自动设计软件的原理图绘制,例如How to create a circuit diagram using Autodesk Design software?、How to create a wiring diagram using Autodesk Design software?等。 最后,让我们...

    C.Programming.Step.By.Step.Beginners.To.Experts.Edition.B011EXMV7Q

    Are you wanting a shortcut from basic to expert in one day and all the technical jargon removed so its made easy to understand? If you are having doubts learning the language, do not! C is actually ...

    ShortCut.exe_命令行创建快捷方式(2012.01.10默认位置修正)

    shortcut D:\Tencent\QQ\Bin\QQ.exe /a -win /d QQ /s 3 /h ctrl+F5 /i C:\WINDOWS\system32\shell32.dll,13 /ld c.lnk PS:此次主要修正桌面及开始菜单默认位置(此为程序编写时偷懒遗留问题,没能及时上传),感谢...

    横河 OTDR 查看软件 Shortcut to AQ7932

    横河(Yokogawa)OTDR(Optical Time Domain Reflectometer,光学时域反射仪)查看软件“Shortcut to AQ7932”是专为分析和管理光纤网络而设计的专业工具。OTDR是一种用于测试光纤性能的重要设备,能够测量光纤的...

    Shortcut.exe 命令行创建快捷方式1.0

    shortcut AppFile [/a Arguments] [/h HotKey] [/s ShowCmd] [/d Description][/i IconPath,IconIndex] [/l|/ld|/ll|/ls LinkFile] AppFile 你希望创建快捷方式的文件名。 /a 可选参数—用于执行文件名的额外辅助...

    Linux Shortcut Maker-开源

    # Linux-Shortcut-Maker ## 用于创建 Linux 桌面快捷方式的工具。 支持 Gnome-shell、Xfce、Cinnamon、Mate Desktop。 你需要 zenity 来运行 # Ubuntu: $ sudo apt install zenity WIP! 它没有完全完成。 ### 用法...

    MyBase Desktop 6.0.2 破解正式版(官方更新至10/10/2011)

    2.Fixed: a bug in the rtf-to-text parser, which applies to search, word count, index, etc. 3.Fixed: a bug in the toolbar, size corruption on the WM_SETTINGCHANGE message. 4.Fixed: a bug that may crash...

    VB编程资源大全(英文源码 控制)

    optiondemo.zip This example demonstrates how to create realistic Option Buttons in Visual Basic.&lt;END&gt;&lt;br&gt;9 , mencrypt.zip This ocx allows you to encrypt strings while utilizing a password shift...

    AutoCreateShortCut.unitypackage

    增加了中文路径提示功能 Unity3D将程序运行日志、配置文件目录、EXE快捷方式实现一键到达。 **本帖主要解决的问题:** 1.exe同级目录一键打开log日志 2.exe同级目录一键打开streamingAssets配置目录 ...

    shortcut

    "快捷方式"(Shortcut)是计算机操作系统中的一个重要概念,它为用户提供了一种简便的方法来访问常用的程序、文件或文件夹。在Windows系统中,快捷方式通常表现为一个小箭头标识的图标,用户可以通过创建快捷方式将...

    BURNINTEST--硬件检测工具

    - Updated license management, in an attempt to remove a rare crash on startup. Release 5.3 build 1012.0002 WIN32 release 31 October 2007 - New build of Rebooter (64-bit Windows correction). - ...

    Shortcut

    在IT领域,快捷方式(Shortcut)是操作系统提供的一种便利功能,允许用户快速访问常用的应用程序、文件或文件夹。在Windows、Mac OS等系统中,快捷方式通常表现为一个图标,其指向原始文件或程序的位置,而不是复制...

    命令行创建快捷方式的工具Shortcut及语法和范例.rar

    shortcut /d "文本编辑器" C:\Program Files\Notepad++\notepad++.exe "%USERPROFILE%\Desktop\notepad++.lnk" ``` 这里,`/d`选项后面跟的是快捷方式的描述,`C:\Program Files\Notepad++\notepad++.exe`是目标...

Global site tag (gtag.js) - Google Analytics