In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-05 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/01 Report--
Editor to share with you how to build Ubuntu shortcuts, I believe that most people do not know much about it, so share this article for your reference, I hope you can learn a lot after reading this article, let's go to know it!
System: Ubuntu 14.04
Sample software: eclipse (Matlab can modify the corresponding path by itself)
Generally speaking, there are shortcuts installed through apt-get in the search bar. Here we are talking about how to create shortcuts for downloaded packages.
1. First, create a shortcut file in the appropriate location of the system, with the following command line code:
Sudo gedit / usr/share/applications/eclipse.desktop
The contents of the document are as follows:
[Desktop Entry] Encoding=UTF-8Name=eclipseComment=Eclipse IDEExec=/opt/eclipse/eclipseIcon=/opt/eclipse/icon.xpmTerminal=falseStartupNotify=trueType=ApplicationCategories=Application;Development
Exec represents the location of the application
Icon represents the location of the application icon
When Terminal is false, the command line window is not started, and for true, the command line window is started.
two。 You will see a shortcut to eclipse (corresponding to the file Name) in / usr/share/applications, as shown below:
1) if the icon does not display properly, please check whether the path of the Icon you filled in is correct, or if you do not remove the space after each line when you are in the copy file, otherwise the icon will not be displayed correctly, because if there is a space, it will be read as an ordinary character.
2) double-click cannot start the application properly. Please check whether the path entered in Exec is correct.
3. Then you can find eclipse in the search bar. If you want to put this shortcut on the desktop, right-click in the folder and copy it to the desktop (it seems impossible to copy to the desktop by using the cp command in terminal). An error will be reported, as shown below:
The above is all the content of the article "how to build shortcuts in Ubuntu". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!
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: 201
*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.