Two methods for creating quick start for ubuntu: The Starter bar or the desktop startup mode (take eclipse as an example): create under/usr/share/applications. shell Code of the desktop file & lt; em & gt; cd/usr/share/applicationssudotoucheclipse. desktop & lt;/em & gt; open. de. two methods for creating quick start for ubuntu: The Starter bar or the desktop startup mode (take eclipse as an example): create under/usr/share/applications. shell Code of the desktop file
Cd/usr/share/applications sudo touch eclipse. desktopOpen the. desktop file Shell code
Sudo gedit eclipse. desktopAnd insert the following code into the file: Desktop code
[Desktop Entry] Type = Application Name = Eclipse Comment = Eclipse Integrated Development Environment Icon =/app/eclipse/icon. xpm # icon path Exec =/app/eclipse # Application PATH Terminal = false Categories = Development; IDE; Java;Save and exit. Click the icon in the upper left corner of ubuntu (Dash homepage), enter the name of application. desktop, and drag it to the startup bar or desktop. Quick Command line startup: link the application execution file symbol to/usr/local/bin: Shell code
Cd/usr/local/bin sudo ln-s/app/eclipse-indigo-4.2.2/eclipse (in addition, for the ln command, you want to give eclipse an alias, you can add the desired name to the end of the command line)Where/app/eclipse-indigo-4.2.2/eclipse is the eclipse path
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.