Ubuntu Create desktop shortcuts

Source: Internet
Author: User

Ubuntu Create desktop shortcuts

Some of the programs that you install in Ubuntu do not create shortcuts, each time through the absolute path is more complex, you can create a shortcut on the desktop, so easy to start each time. I'm creating a shortcut for Chrome to share with you here.

First copy the following code into a file with the file name in the format: Xxxx.desktop. XXXX for you arbitrarily take the name, in order to understand the principle of simplicity. is usually the name of the program.

[Desktop Entry]

Categories=development;

comment[zh_cn]=

Comment=

Exec=/usr/bin/google-chrome

Genericname[zh_cn]=chrome

Genericname=chrome

Icon=/opt/google/chrome/product_logo_128.png

Mimetype=

Name[zh_cn]=chrome

Name=chrome

Path=

Startupnotify=true

Terminal=false

Type=application

X-dbus-servicename=

X-dbus-startuptype=

X-kde-substituteuid=false

X-kde-username=owen

It is noteworthy that Exec refers to the path of the executable file, which is the icon used by the shortcut. Name is the names of the shortcuts. If the path to the executable file cannot be found after the package is installed, you can view the specific path to the installation content by dpkg-l the Xxxx.deb command.

When you are finished, copy the Xxxx.desktop to the desktop, and if the user's current directory has a desktop directory, move the file directly to the desktop file.

Related Article

E-Commerce Solutions

Leverage the same tools powering the Alibaba Ecosystem

Learn more >

Apsara Conference 2019

The Rise of Data Intelligence, September 25th - 27th, Hangzhou, China

Learn more >

Alibaba Cloud Free Trial

Learn and experience the power of Alibaba Cloud with a free trial worth $300-1200 USD

Learn more >

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.