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

implement --no-ui with no X available. #228

Closed
wants to merge 1 commit into from

Conversation

kda
Copy link

@kda kda commented Apr 28, 2022

I start streamdeck from "systemctl --user" when the host boots. In other words, there is absolutely no UI available.

I hacked up your beautiful script to work in this case.

While this works for my application, there is one fallback. If the user selects '--no-ui' it suppresses the tray.
There are 2 ways to fix this:

  • additional flag: --no-tray
  • detect presence of X, if '--no-ui' and X present, then create tray.

But before spending that effort I wanted to see if you were interested in my hack.

@alaimiranda
Copy link

Hello @kda ,

Thanks to @dodgyrabbit, I found your proposal to start streamdeck-ui in headless mode, meaning without a screen, keyboard, or mouse.

I have modified gui.py following your instructions.

I have also tried to start streamdeck-ui with systemctl --user instead of including it in rc.local.

However, it is still not working.

I have tried to do it manually, and with your changes, it works perfectly.

I just want to bring the Raspberry Pi, printer, and StreamDeck, with the necessary power supply, to my classes, without a screen, mouse, or keyboard. #311

I am interested in your hack ;-)

@kda
Copy link
Author

kda commented Mar 27, 2023 via email

@kda kda closed this Jun 12, 2023
@kda kda deleted the true_noui branch June 12, 2023 21:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants