Install Eagle on Ubuntu with its proper Icon

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”  Screenshot from 2015-10-03 09:16:23without 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

NOTE:

  • 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.

Screenshot from 2015-10-03 09:22:24Once 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 –

Screenshot from 2015-10-03 07:31:01

Advertisements

One thought on “Install Eagle on Ubuntu with its proper Icon

  1. Thank you, simple and straight forward. I’m sure the version shouldn’t matter but for the record, I’m running Ubuntu 16.04 LTS on 64-bit.
    Oh, if interested, as for electronics projects, I’m working with Adafruit HUZZAH ESP8266 to create a Wifi enabled automated roller blind. I want to control all the blinds in my house from one app.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s