[Linux] Fedora20 create desktop shortcuts

Source: Internet
Author: User
1 first install the gnome-tweak-tool command line and execute: [root @ localhostDownloads] yuminstall

1. first install gnome-tweak-tool

Command line execution:

[root@localhost Downloads]# yum install gnome-tweak-tool
2. after the installation is successful, enable the Tweak Tool and enable "Desktop" on the left-side menu bar to open Icons on Desktop. the following Icons that need to be displayed on the Desktop can be checked.

3. you need To display more information. right-click the shortcut you want To add in/usr/share/applications and Copy it To the Desktop folder.

4. if you think it is not enough, you can customize shortcuts.

The following uses eclipse as an example.

Add an eclipse. desktop file to the "applications" folder.

We can directly execute the command:

[root@localhost Downloads]# vi /usr/share/applications/eclipse.desktop 
Then add the following content to it:
[Desktop Entry]Name=eclipse Comment=eclipse ideExec=/opt/eclipse_j2ee/eclipse Icon=/opt/eclipse_j2ee/icon.xpmTerminal=falseType=ApplicationCategories=Application;Development;StartupNotify=true
Attribute explanation:

Name = you want to display the shortcut Name

Comment = There is nothing to say about this description.

Exec = the path of the execution program you want to create a shortcut

Icon = Icon path

There is almost no need to change the remaining items.

Edit and save. The icon you want to create is available in the "applications" folder.

It is actually a shortcut

Then, execute step 3.

For more attributes, you can view the shortcut of any system. The contents are similar.

If you have any questions or suggestions, you can leave a message to discuss them.

Related Article

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.