I am installing GC for the first time and I believe that I have successfully installed it on my Linux Mint (Mate) box, I can launch it in the terminal by issuing the “python main.py” command. Should there be an Icon on Desktop or in GroundControl-master folder which can be double clicked to launch GC? Also is it possible to add it to the applications menu under the Applications menu?
Awesome you are flying on good ol’Mint. Good news! You absolutely can make an Icon to launch with and add it to a menu. Bad news it isn’t in anyway automated. If you look around you can find out how to add an icon to the desktop you are using. Then you need to build the command to launch form it in the properties of the icon. Google is you friend mostly on this. The same is true for a menu. I’ve not personally worked with mint but often there are several choices of desktops and menu systems in them. Many have specific steps.
A rightclick on the desktop should give you the option to create a new launcher.
My launcher has (start-GC.deskop) opened in a text editor looks like this:
Good you found a solution.
I’m running Ubuntu-Mate 17.10
When I click my launcher, a small terminal opens with a symbol of an X over a T, that must be the xterm I guess.
I found this, but did not really get what the solution was. To install gnome terminal?
I stole, I mean borrowed the Maslow logo by right clicking the logo on the top right corner of this web page and doing a save as. Opened in gimp and selected image/scale image and then changed size to 48 x 48 pixels saved it to the Ground Control folder.
I just installed gnome terminal and the launcher I created earlier worked. From what I can gather the terminal needs a xterm wrapper to successfully complete the command from the launcher and Mate Terminal does not have one or one is not defined/assigned. Further down the post it links to a bug report and at the end it list it has fixed in Mate Feb-2018. All this is a bit over my head but I am going to update my install (Linux Mint 18.2 Sonya) since I am not sure how how old my install cd is.
Also does anyone have opinions on which solution, Launcher vs Script would be the best?
Hi Kelvin, please help me with this. I have the same problem on my linux mint, the launcher for ground control doesn’t work. i haven’t been able to get it working, despite a fresh installation of mint.
Yet I just don’t completely understand what you are saying, since I have never used gnome. Are you referring to install just the terminal, instead of the hole gnome? if so,how can this be done? after checking the article, would you still recommend this?
Further more here’s a screen shot of the error the terminal comes up with ( ImportError: No module named PIL)
how you do this?
I have tried : sudo apt-get install pil
and also: sudo apt-get install pillow
I have found a couple of topics about this error in stackoverflow, but they are related to python, and don’t mention ground control at all. Some of them suggest to instal PIL, other says PIL is deprecated, and now you have to use Pillow. After trying to install both of them trough the terminal (sudo apt-get install pil (or pillow on the second try)) the answer is : Unable to locate package Pil. So I am guessing pil or pillow are components from the python language rather than installable linux packages.
personally, I prefer to install the OS packages instead of using PIP, it’s more
maintainable over time (one upgrade process rather than one for the OS files and
a different one for PIP installed software)