Ubuntu creates a desktop shortcut. some programs installed on ubuntu do not have a shortcut. each time they are executed through an absolute path, it is complicated. you can create a shortcut on the desktop by yourself, this makes it easy to start each time. I am creating a shortcut for chrome. here I will discuss it with you... ubuntu creates a desktop shortcut. some programs installed on ubuntu do not have a shortcut. each time they are executed through an absolute path, it is complicated. you can create a shortcut on the desktop by yourself, this makes it easy to start each time. I am creating a shortcut for chrome. I will share it with you here. First, copy the following code to a file. the file name is in the format of xxxx. desktop. xxxx, which is easy to understand. Generally, it is the program name. [Desktop Entry] Categories = Development; comment [zh_CN] = Comment = Exec =/usr/bin/google-chromeGenericName [zh_CN] = ChromeGenericName = chromeIcon =/opt/google/chrome/login = Name [zh_CN] = ChromeName = chromePath = StartupNotify = trueTerminal = falseType = ApplicationX-container-ServiceName = X-container-StartupType = X-KDE-SubstituteUID = falseX-KDE-Username = owen. it is worth noting that, exec refers to the path of the executable file, and Icon refers to the Icon used by the shortcut. Name is the Name of the shortcut. If the path of the executable file cannot be found after the package is installed, you can use the dpkg-L xxxx. deb command to view the specific path of the installation content. After that, copy xxxx. desktop to the Desktop. if your current directory has a Desktop Directory, directly move the file to the desktop file.
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.