Ubuntu shortcuts and ubuntu shortcuts

Source: Internet
Author: User

Ubuntu shortcuts and ubuntu shortcuts

By default, ubuntu stores the automatically installed software shortcuts in the/usr/share/applications directory. To create a desktop shortcut, right-click Copy-desktop, or lock the task initiator.
Sometimes, every time you install the software, you need to start the script and re-install it again. This is very troublesome because he has locked the shortcuts.
PHPStorm is used as an example. First download the software package, decompress it directly in a directory, execute the script for installation, and follow the steps below to create a desktop shortcut.

1. Create an object and copy the following code.

Here we only need to pay attention to three places, namely the Exec = software execution file path, Icon = shortcut Icon (if any), Name = shortcut Name. Modify the code based on your own software, save the code, and close the file.
[Desktop Entry]
Categories = Development;
Comment [zh_CN] =
Comment =
Exec =/home/owen/Software/phpstorm
GenericName [zh_CN] = IDE
GenericName = IDE
Icon =/home/owen/Software/phpstorm/icon. xpm
MimeType =
Name [zh_CN] = eclipse
Name = eclipse
Path =
StartupNotify = true
Terminal = false
Type = Application
X-forwarded-ServiceName =
X-forwarded-StartupType =
X-KDE-SubstituteUID = false
X-KDE-Username = owen

2. Change the file name to phpstorm. javastop3 and add executable permissions to the file.

You can use the chmod + x desktop file or right-click it to modify it.

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.