Start Anaconda Navigator Using A Menu
As part of the PyQuantNews course, we have to install Anaconda Navigator, as a core tool for learning and testing. The instructions are written from the perspective of a MacOS user, so that when you finish, there is GUI application available in the system menu.
However with Ubuntu Linux, we do not get that luxury. Maybe not a luxury, but surely a convenience.
There are some Mesa-LibGL errors that I am getting when invoking anaconda-navigator
from the commandline. While I was researching that Mesa-LibGL warning issue, I thought that it would be nice to start Anaconda Navigator from the Ubuntu Activities menu, and not using $ anaconda-navigator
.
A quick Google Search (Is there any other kind?), these instructions were found in the following Slackoverflow discussion: Anaconda-Navigator - Ubuntu16.04
Even though the Ubuntu version used is v16.04, it works as per spec in v22.04 LTS.
Instructions:
In an open Terminal, create a new text document called ‘anaconda-navigator.desktop’.
Enter the following information into the text document.
Save and close the file.
Move the ‘anaconda-navigator.desktop’ file to the system Applications directory.
Test the new Application menu entry:
- Exit the Terminal
- Navigate to the Ubuntu Activities menu, type in ‘anaconda’, the icon will present
- Click and the application will open
- Screenshot below
I would strongly suggest that any quality application that you need to open using the commandline, should have an applications menu entry created, and accessed through the menu.
It just looks better. However as always with most Open Source Software, the choice is yours.
References: