@_fx, our friend Dimitar and I have been working on a version to run Openframe in desktop mode instead of command-line.
This could also have other advantages:
- Quicker loading times for X server based extensions (like Website or Processing)
- It’s harder to get locked into command-line for new users who don’t know Linux / Raspberry Pi that well. Less confusion about Openframe not working in desktop mode.
- Quicker development right on the Pi in desktop mode
Disadvantages may be:
- Slower in some cases (especially extension not necessarily needing x server) compared to running in the command line. We haven’t tested what the difference in performance it’s really going to make.
We figured the key is to prepare the extensions to also run in desktop mode. It seems like some extensions are working just fine, like the video extension. Extensions based on X server should check if X server is running and skip wrapping the process in an x server template and instead launching the process directly.
We’ve come up with a working version of the website extension: https://github.com/jvolker/Openframe-Website/tree/feature/desktop
To make this work Openframe can be installed just normally running the install script (autoboot disabled) and opening it from a terminal in desktop mode.
Then install the extension running
openframe -i github:jvolker/Openframe-Website#feature/desktop