Deepin Ubuntu, etc. create desktop shortcuts

Source: Internet
Author: User

Linux Internet download software generally only has the. SH End Execution program. Does not automatically create desktop icons like store downloads. You need to make your own edits at this point.

#创建一个桌面图标后缀名为.desktoptouch myDesktop.desktop#修改文件权限sudo chmod 775 myDesktop.desktop#编辑文件vim myDesktop.desktop#添加内容(PS:添加时请去掉注释;添加时请去掉注释;添加时请去掉注释)[Desktop Entry]Name=myDesktop #显示的桌面快捷方式名称Version=1.0 #版本号 可不填写Type=Application #快捷方式类型Terminal=false  #是否打开终端窗口 一般不需要打开Exec=/root/test.sh #.sh结尾的路径位置Icon=/root/test.png #桌面快捷方式显示的图标

Take idea as an example I put idea into the/opt/idea

Deepin Ubuntu, etc. create desktop shortcuts

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.