Blog‎ > ‎

Anaconda Navigator Launcher Icon

posted Oct 20, 2018, 7:21 PM by MUHAMMAD MUN`IM AHMAD ZABIDI   [ updated Oct 20, 2018, 7:23 PM ]
First get a suitable icon. It's already in your drive but it's located so deep in thes system it's easier just to Google for it. For example get it from here:

$ wget https://www.psych.mcgill.ca/labs/mogillab/anaconda2/pkgs/anaconda-navigator-1.4.3-py27_0/lib/python2.7/site-packages/anaconda_navigator/static/images/anaconda-icon-1024x1024.png

There you go!



Next move it to the pixmaps directory

# mv anaconda-icon-1024x1024.png /usr/share/pixmaps/anaconda-navigator.png

Enter the following text in your favorite text editor. The command:

$ atom Anaconda.desktop

The text follows. The Exec option is the location of the executable. The Icon option is the filename in the pixmaps directory.

[Desktop Entry]
Name=Anaconda
Exec=/home/raden/anaconda3/bin/anaconda-navigator
Terminal=false
Type=Application
Categories=Development;Science;IDE;Qt;
Icon=anaconda-navigator

The move the file in to the Applications 'registry':

# mv Anaconda.desktop /usr/share/applications

Test it by hitting the Windows key on your Ubuntu keyboard:



Comments