If you have installed a program, drag it to the desktop. this is not the scope of this article. This article uses eclipse as an example: www.2cto.com. first, after downloading eclipse and decompressing it, there will be an icon. the xpm icon renames eclipse to prevent conflicts. xpm and copy...
If you have installed a program, drag it to the desktop.
Scope of this section
This article takes eclipse as an example:
Www.2cto.com
After downloading eclipse and decompressing it, there will be an icon named "icon. xpm ".
To prevent conflicts, rename it eclipse. xpm
Copy the file to the/usr/share/pixmaps/directory.
If you do not have the permission, you can copy the Java code sudo cp ~ in the command line ~ /Develop/eclipse. xpm/usr/share/pixmaps/
Then execute the following command in the command line: Java code cd ~ /Desktop/vi eclipse. desktop add the following content www.2cto.com #! /Usr/bin/env xdg-open [Desktop Entry] Version = 1.0 Type = Application Terminal = false Icon [en_US] = eclipse Name [en_US] = eclipse Exec =/home/jimmy /develop/eclipse Name = eclipse Icon = eclipse
The executable file Exec =/home/jimmy/develop/eclipse
Adjust according to your own segment
After saving, you can see the shortcut on the top of the desktop.
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.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service