Can GroundControl run without X? (On a Linux box)
Kivy is OpenGL right?
Why I like to know:
I would like to try to launch the GUI in a Terminal. Then only install an OS with the bare essentials and launch GC as the ‘desktop’.
I just like to know if this could be done. In THAT minimal manner.
Iv’e seen Some (Java ?) applications run like that. Using very little resources. making it very responsive. In Maslows case it would also take away any background processes that could interfere.
you need a windowing system, either X or wayland, you can’t run GC without
either. OpenGL is just the output, it wouldn’t give you a mouse or any other
controls.
Certainly on a Raspberry PI running Kivypi you don’t need to start the desktop, you can run GC from the command line.
Indeed the no desktop is included in the standard package!
if i’m logged in to the desktop then yes, but my attempt in this case was to:
Boot in / log into the commandline without having the desktop (and all it’s ‘bloat’) running.
and try to run GroundControl on the bare system.
… i just forgot to take the mouse stuff into account.
if GC could be ran without mouse, say, use the num-pad to do all the arrow key stuff that could be interesting
but i don’t want to put pressure on the dev team with stuff like that, just dropping the idea as a hint…
My ultimate wish would be something like this, eliminating screensaver and system idle issues that could eventually lead to dangerous situations…
Linux is far more easy to configure then Windows but still it needs to be configured.
in case of windows imagine the bureaucratic powersaving mode kick in when in the middle of a cnc job
or a forced windows update for that matter… cutting the serial communication… that kinda sux…
having a system that only has that installed what is actually essential, or at least does not have anything running in the background that’s not involved in the cnc job.
I’m not sure what i’m getting myself in to. It’s a bit like lifting up the hood with the engine running and throwing in a bunch of wrenches and see what comes flying back.
for the purposes of Maslow and GC, don’t worry about it. Just install one of the
GUI options and don’t worry about it.
While there are ways to make the GUi options more lightweight, they are probably
countered by the fact that the lightweight options don’t operate the way people
expect them to.
In fact, I’d suggest that you seriously consider KDE plasma for the GUI, as it’s
the most ‘windows like’ option and it’s good to not confuse people
but this is trivial stuff compared to getting everything up and running.
i’ll have a look at KDE my experience with kde in the past is that it seemed to be resource heavy but that’s a long time ago.
Mate recently won me over as the desktop with the most ‘classic’ feel to it. But thats a personal taste.
downloading a Kubntu…
Moment like this i wish that every *buntu had a clean minimal option without all the office and media player crap on top. and the option to choose your favorite filemanager
for instance I like XFCE, but it’s file manager is just not fun to use. And it is far to entangled to replace in a simple manner. LXDE then wins the lightweight option with a usable filemanager. And now Mate topped that since it’s just a little more licked. I’m about to install KDE, download just finished
i also installed kivy for python2 like stated in the wiki. But for some reason there is also python3.6 living in 17.10 so i have both 2.7 and 3.6 sitting on this box
And the sidestep to install the pyserial from repo instead of pip
this should be the correct one for python3 there is a separate package ‘python3-serial’
so that part should be ok if there isn’t any other issue at play
i don’t know if the pyserial from repo is different then the one from pip
You want to run GC in python 2.7x and not in python 3. Pyserial (3.3) is the correct one for python 2.7x. Both snakes can live side by side, but the installs for GC (kivy, pip) need to be made for 2.7
… work with multiple versions of Python installed in parallel?
On Linux, Mac OS X, and other POSIX systems, use the versioned Python commands in combination with the -m switch to run the appropriate copy of pip:
Kivy (1.10.0)
Kivy-Garden (0.1.4)
PyOpenGL (3.1.0)
pyserial (3.3)
On my mate
Edit: pygame (1.9.3)
I have no idea what modules are relevant and just guessing to compare.