Ubuntu 14.04 Create Desktop Shortcut

  1. If it is a program that comes with the system, the default desktop icon is placed under /usr/share/applications/, and the corresponding icon can be directly placed in the current user's ~/Desktop/ directory.
  2. If you download the compiled binary file from the Internet, you can create it manually, for example: put the following code in a pycharm.desktop file and copy it to the desktop:

    [Desktop Entry]
    Version=5.0.4
    Name=Pycharm
    GenericName = Pycharm
    Comment=Python IDE
    Type=Application
    Icon=/home/sass/Downloads/pycharm-5.0.4/bin/pycharm.png
    Exec=/home/sass/Downloads/pycharm-5.0.4/bin/pycharm.sh
    Terminal=false
    Categories=Development;
    Keywords=
    MimeType=
    X-Ubuntu-Touch=true
    X-Ubuntu-Gettext-Domain=
    X-Ubuntu-Single-Instance=true
    X-Screenshot=
    Name[zh_CN]=pycharm
    

     

  3. give permission
    chmod 777 pychram.desktop
     

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326824013&siteId=291194637