In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-02 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article introduces the relevant knowledge of "the specific process of creating desktop shortcuts in ubuntu". In the operation of actual cases, many people will encounter such a dilemma, so let the editor lead you to learn how to deal with these situations. I hope you can read it carefully and be able to achieve something!
By default, ubuntu saves the automatically installed software shortcuts in the / usr/share/applications directory. If we want to create a desktop shortcut, just right-click-copy-Ok the desktop, as shown below:
The above method is realized after the system automatically installs the software, and sometimes we download some software from the Internet to install it manually, so how to create a desktop shortcut to the software? Here, take Eclipse as an example. First, download the Eclipse package from the official website, decompress it directly in a certain directory, double-click the eclipse file in it, and you can start eclipse. However, if you want to open eclipse every time, you have to start it from the installation directory. Isn't that troublesome? Follow these steps to create a desktop shortcut.
1. Create a file and copy the following code into it
Here we only need to focus on three places, namely, the path of the Exec= software execution file, the Icon= shortcut icon (if any), and the Name= shortcut name. Modify the code according to the location of your software, and then close the file after saving.
The code is as follows:
[Desktop Entry]
Categories=Development
Commit [zh _ CN] =
Comment=
Exec=/home/owen/Software/eclipse/eclipse
GenericName [zh _ CN] = IDE
GenericName=IDE
Icon=/home/owen/Software/eclipse/icon.xpm
MimeType=
Name [zh _ CN] = eclipse
Name=eclipse
Path=
StartupNotify=true
Terminal=false
Type=Application
XmurDBUSripServiceNameName=
XmurDBUSMutual StartupType =
X-KDE-SubstituteUID=false
X-KDE-Username=owen
2. Change the file name to eclipse.desktop
3. Add executable permissions to the file
You can modify it through the chmod + x desktop file or by directly right-clicking the permission.
4. Copy the file to the desktop
Note: in previous versions of ubuntu11.04, there seemed to be an easier way to create desktop shortcuts: right-click the desktop-create initiator
That's all for the specific process of creating desktop shortcuts in ubuntu. Thank you for reading. If you want to know more about the industry, you can follow the website, the editor will output more high-quality practical articles for you!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.