Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Detect missing desktop environment and offer to install one when setting up #2308

Closed
blame-lewis opened this issue Oct 1, 2021 · 3 comments
Labels
enhancement New feature or request

Comments

@blame-lewis
Copy link

Is your feature request related to a problem? Please describe.
Yes. When setting up OctoDash, the frontend won't function unless a desktop environment is present, and a stock OctoPi install does not have one. The user may or may not realise that installing one is necessary or know how to.

Describe the solution you'd like

  1. OctoDash's installation script should check whether a desktop environment is installed.
  2. If one is not installed, it should prompt the user with a statement like "OctoDash can't work without a desktop environment. Would you like to install the stock Raspberry Pi one?"
  3. If the user selects yes, it's installed - apt-get -y dist-upgrade && apt-get install raspberrypi-ui-mods is fine.

Link other projects
Nothing related

Additional context
Nothing related

@blame-lewis blame-lewis added the enhancement New feature or request label Oct 1, 2021
@UnchartedBull
Copy link
Owner

OctoDash will install ratpoison as a Window manager, which is sufficient. There is no need to install the full-blown raspbian desktop environment, as this will just slow down the boot. I've been running OctoDash since the start now without any desktop environment at all.

Did you run into any issues while installing?

@blame-lewis
Copy link
Author

blame-lewis commented Oct 2, 2021 via email

@UnchartedBull
Copy link
Owner

Ah ok, I think the issue here is that you installed the drivers after the OctoDash installation, which probably messed something up. The driver installation scripts usually do some major changes to the files that OctoDash is also changing to automatically start up. I'm closing this here for now, since the full Desktop environment isn't really the ideal solution (way overkill for a single window). If you'd like to tinker with this feel free to execute your steps on a fresh SD Card and swap step 2 & 3 and report back.

Thanks for the info though!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants