Blog‎ > ‎

Anaconda desktop entry for Ubuntu 18

posted Oct 19, 2019, 7:47 PM by MUHAMMAD MUN`IM AHMAD ZABIDI

Step 1

Check if anaconda3 is installed on your system or not (Sometime the package may be broken due to network issues during installation (Not worked for me)). And whether you are able to launch anaconda-navigator without a desktop entry. Try this. If it works, you're definitely all set to go.

$ anaconda-navigator &

Step 2

Open your text editor and save the following content as Anaconda.desktop to your home directory.

[Desktop Entry]
Version=1.0
Type=Application
Name=Anaconda-Navigator
GenericName=Anaconda
Comment=Scientific Python Development Environment - Python3
Exec=bash -c 'export PATH="/home/munim/anaconda3/bin:$PATH" && /home/munim/anaconda3/bin/anaconda-navigator'
Categories=Development;Science;IDE;Qt;Education;
Icon=/home/munim/anaconda3/lib/python3.7/site-packages/anaconda_navigator/static/images/anaconda-icon-256x256.png
Terminal=false
StartupNotify=true
MimeType=text/x-python;

Change munim to your username in Exec and Icon lines. Also change python3.7 to something else if you're not on Python 3.7.

Step 3

Copy your Anaconda.desktop to /usr/share/applications/

$ sudo cp Anaconda.desktop /usr/share/applications

This will create a desktop entry named Anaconda in /usr/share/applications/.

Step 4

Hit the Windows key on your keyboard and search for "Anaconda"


Comments