A quick how to: Add Eclipse to the Unity Launcher. You can add any other application to the Unity Launcher using these steps.
All the Unity Launchers (e.g. evince, gedit, etc) are implemented as .desktop files. These files are stored in the folder /usr/share/applications/. The .desktop file contains the following information: where the icon is located, where the executable is located, the launcher name, and other secondary information like a comment about the launcher.
Make Eclipse accessible from the command line
All the commands accessible from the command line are stored in a "bin" folder. The folder destined to user binaries is located in /usr/bin.
Let's add the eclipse executable to /usr/bin using the following command.
sudo ln -s /path/to/eclipse/eclipse /usr/bin/
Now eclipse is accessible from the command line as the command eclipse.
Put the icon in the right place
All the icons associated to a Unity Launcher are stored in the /usr/share/pixmap folder. Let's place the eclipse icon in the right folder.
sudo cp /path/to/eclipse/icon.xpm /usr/share/pixmap/eclipse.xpm
Create the .desktop file
Finally, you'll need to create a new .desktop file for Eclipse. Proceed with the following command.
sudo gedit /usr/share/applications/eclipse.desktop
Insert the following text inside this new file.
Note 1: If you didn't add eclipse to /usr/bin, you'll have to use the full path in the Exec section, e.g. Exec=/path/to/eclipse/eclipse
Note 2: If you didn't place the eclipse icon under the /usr/share/pixmap folder, you'll have to use the full path in the Icon section, e.g. Icon=/path/to/eclipse/icon.xpm
This is the result.
Now, Eclipse is accessible from dash and the Unity Launcher.
Oh!! the best way :D :okey: I never add the eclipse to usr/bin....
ReplyDeleteThanks :) worked for me
ReplyDeleteWorked to me too... thank you...
ReplyDeletehei... that's work for me too. thanks :D
ReplyDeleteThank you, that works for me on Ubuntu 13.04
ReplyDeleteThis doesn't work under Ubuntu 13.04 64-bit. It puts an Eclipse icon on the launcher that doesn't launch the application (after launching eclipse from the command line and locking the icon to the taskbar). The icon shows up as Untitled window.
ReplyDeleteHere's how to make this work under Ubuntu 13.04.
ReplyDeleteCopy the icon.xpm to /usr/share/pixmaps, not /usr/share/pixmap.
Create the eclipse.desktop file in ~/Desktop, not /usr/share/applications.
Make ~/Desktop/eclipse.desktop executable.
This will put the Eclipse icon on your desktop and when you launch it you can lock it to the taskbar and the taskbar icon will launch eclipse.
+1. Brilliant. Worked for Ubuntu 12.04 64-bit.
ReplyDeleteThanks alot :D
ReplyDeleteso simple... and works! thanks
ReplyDeleteI have a issue after doing this. Eclipse menus doesn't show up, I changed the exec line of the .desktop file to
ReplyDeleteExec=env UBUNTU_MENUPROXY=0 eclipse
to more information http://stackoverflow.com/questions/19452390/eclipse-menus-dont-show-up-after-upgrading-to-ubuntu-13-10
thanks.
Thanks a ton !
ReplyDeleteThe eclipse pin to the launcher.
ReplyDeleteBut i cannot get the icon in launcher.
Insta stalker With best Instagram profile web viewer, you can stalk any users and stories highlights, Anonymously Online Instagram User Posts and Highlights ...
ReplyDeleteSelling USA FRESH SPAMMED SSN Leads/Fullz, along with Driving License/ID Number with EXCELLENT connectivity.
ReplyDelete**PRICE**
>>1$ FOR EACH FULLZ WITHOUT DL NUMBER
>>2$ FOR EACH LEAD/FULLZ/PROFILE
>>5$ FOR EACH PREMIUM LEAD/FULLZ/PROFILE
**DETAILS IN EACH LEAD/FULLZ**
->FULL NAME
->SSN
->DATE OF BIRTH
->DRIVING LICENSE NUMBER WITH EXPIRY DATE
->ADDRESS WITH ZIP
->PHONE NUMBER, EMAIL, I.P ADDRESS
->EMPLOYEE DETAILS
->REALTIONSHIP DETAILS
->MORTGAGE INFO
->BANK ACCOUNT DETAILS
>All Leads are Tested & Verified.
>Invalid info found, will be replaced.
>Serious buyers will be welcome & I will give discounts on bulk orders.
>Fresh spammed data of USA Credit Bureau
>Good credit Scores, 700 minimum scores
>Bulk order will be preferable
>Minimum order 20 leads/fullz
>Hope for the long term business
>You can asked for samples, specific states & zips (if needed)
>Payment mode BTC, ETH, LTC, Paypal & PERFECT MONEY
Email > leads.sellers1212@gmail.com
Telegram > @leadsupplier
ICQ > 752822040
''OTHER GADGETS PROVIDING''
>SSN Fullz
>Dead Fullz
>Carding Tutorials
>Hacking Tutorials
>SMTP Linux Root
>DUMPS with pins track 1 and 2
>Sock Tools
>Server I.P's
>USA emails with passwords (bulk order preferable)
**Contact 24/7**
Email > leads.sellers1212@gmail.com
Telegram > @leadsupplier
ICQ > 752822040