Blog‎ > ‎

Anaconda desktop entry for Ubuntu 18

posted Oct 19, 2019, 7:47 PM by MUHAMMAD MUN`IM AHMAD ZABIDI   [ updated Sep 20, 2020, 6:56 PM ]

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.

(base) big@mac:~$ anaconda-navigator &

Step 2

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

#!/usr/bin/env xdg-open
[Desktop Entry]
Name=Anaconda
Version=2.0
Type=Application
Exec=/home/abc/anaconda3/bin/anaconda-navigator
Icon=/home/abc/anaconda3/lib/python3.7/site-packages/anaconda_navigator/static/images/anaconda-icon-256x256.png
Comment=Open Anaconda Navigator
Terminal=false

Change abc 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/

$ cp anaconda-navigator.desktop ~/.local/share/applications/

Step 4

Now it will appear in your application list.

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



Comments