I tried to install eagle on Ubuntu a couple of times and i did succeed but the biggest disappointment was the fact that there was no icon of eagle anywhere. You can search your Dash for eagle and the search results will show you folders. The only way to run eagle was to go to the installed directory, then goto “bin” and finally double click on the pyramid shaped icon named “eagle” without any extensions. And it does run !. But alas no way to get that good looking eagle icon on Desktop or on the Launcher. After some research and a lot of trials i found the perfect solution (along with a near perfect solution too! )!!. Here we will only talk about the best solution.
I am assuming you have already installed Eagle on your system. If not then please visit the website and follow the instructions, its pretty easy.
Note: Eagle still dosent run when you type “eagle” in the terminal, but thats not the point of this post and anyways that can be solved by proper environment variables , but once you have a desktop or launcher icon i really see no point in doing that. Okay enough of this preaching, lets see how to do it…
In terminal type this – (you can leave $USER as it is or replace it with your username instead)
sudo gedit /home/$USER/.local/share/applications/eagle.desktop
This is the place where the information about every desktop icon or launcher icon or application icon is kept and “eagle.desktop” is the file that we are creating corresponding to the eagle icon that we want so that Ubuntu gets to know about it. After that you need to write these according to your installation of eagle and save the file.
#!/usr/bin/env xdg-open [Desktop Entry] Version=7.4.0 Type=Application Terminal=false Icon=/home/shantam/eagle-7.4.0/bin/eagleicon50.png Name=Eagle Exec=/home/shantam/eagle-7.4.0/bin/eagle Comment=Eagle CAD
- For “Version” mention the version of your installation.
- For “Icon” you need to provide the path of the eagle icon in the “bin” folder of installation directory.
- For “Exec” you need to provide the path for that executable that you double clicked on to open eagle in the “bin” folder of installation directory.
- Rest is pretty self explanatory.
Once you do that go to your Dash and type “eagle”, the icon should appear. If it dosent then just log out and login once again and you should be good to go !!. Then just click on it and eagle should start. Now you can drag the ico from Dash to your Desktop or you can right click on the eagle icon in Launcher (after running eagle) and click on “Add to favorites” and voila the eagle icon will be fixed !!.
Here is a screenshot of the icon in my Launcher –