timothycrosley / streamdeck-ui

A Linux compatible UI for the Elgato Stream Deck.
https://timothycrosley.github.io/streamdeck-ui/
MIT License
1.12k stars 240 forks source link

Headless mode not working on Raspberry Pi 4 #311

Open alaimiranda opened 1 year ago

alaimiranda commented 1 year ago

I'm trying to use streamdeck-ui on a Raspberry Pi 4 with 4 GB of RAM running the Bullseye 64-bit version. This is a project aimed at teaching children how to interact with a Streamdeck and a printer, so I need it to work in headless mode without a monitor, keyboard, and mouse. I've been able to get it to work with a monitor connected, but I can't seem to get it to work without one.

Steps to reproduce the behavior:

  1. Install streamdeck-ui on a Raspberry Pi 4 running the Bullseye 64-bit version.
  2. Connect a Streamdeck Standard and a printer.
  3. Connect a keyboard, mouse, and display.
  4. Power on the Raspberry Pi.
  5. Enable write permissions for the USB printer.
  6. Run the command streamdeck-ui -n to start without screen ui.
  7. The icons appear on the Streamdeck, buttons are pressed, and the printer works.

However, when attempting to automate the start of streamdeck-ui in rc.local, it does not work.

While it works great when I have the monitor, mouse, and keyboard connected in addition to the Streamdeck and printer, and I start "streamdeck-ui -n" manually, I need it to work automatically without having to connect a monitor, keyboard, and mouse.

Thanks,

IMG_7087 en tamaño grande

dodgyrabbit commented 1 year ago

Review this PR https://github.com/timothycrosley/streamdeck-ui/pull/228 which is about exactly the same problem. If you're comfortable with Python, it would not be difficult to apply the same modifications to your version on the RPI.

dodgyrabbit commented 1 year ago

@alaimiranda Can you confirm that if you applied the #228 MR, it works as you wanted?

avocet-oli commented 1 year ago

Hi, Do you have any tips on installing streamdeck-ui on a raspberry pi 4? I've been trying to get it installed on the 64 bit version of the OS but there are so many things (usually pyside related) that won't work which means i can't get it to run at all. I'm questioning whether it's possible to get working at all.

coolapso commented 1 year ago

hi, this project seems to be stale and a new fork as been made with the intention of replacing this one.

if this still an issue please reopen it at: https://github.com/streamdeck-linux-gui/streamdeck-linux-gui