Streamdeck Mini Stopped Working - Only works with Sudo

I upgraded to having a full size Streamdeck this January, and whlst getting it set up, I realized that the setup steps for the streamdeck have changed since I set up the mini, with a fork of the original project being the best bet now for the GUI application.

Initially when I did this, after much unplugging and rebooting, I got to a point where both streamdecks were plugged in and working. Unfortunately, I recently rebooted, and I can’t get the mini to work and get the following error message when I manually run the streamdeck GUI from the CLI:

------------------------
*** Problem detected ***
------------------------
A Stream Deck is attached, but it could not be opened.
Check installation instructions and ensure a udev rule has been added and loaded.
https://streamdeck-linux-gui.github.io/streamdeck-linux-gui/

It’s always the mini that has the issues, and not the full size one.

Works When Using Sudo

I noticed that if I run the application with sudo:

sudo /home/programster/.local/pipx/venvs/streamdeck-linux-gui/bin/streamdeck

…then both will work, but will not load the profiles that had been set up, which would require a lot of setting up again. I know that I should not have to run the application with sudo for the mini to work, so it just makes me think there is a permissions issue on one of the config files or something.

Does anyone know where the local config/files are kept, so I can potentially run some chown commands to try and fix it? Alternatively, any other suggestions are apprecieated. I have already tried force reinstalling the applicaiton with:

python3 -m pipx install --force streamdeck-linux-gui

I have also double checked the udev rules file as outlined by the installation instructions, and manually run sudo udevadm trigger to make sure they were applied.

1 Like

I managed to find an old streamdeck export I had and imported that into the application running as sudo. After doing that, the mini stopped working. I’m guessing that running as root just created a new blank slate profile area, and something in my old original setup no longer works with the new fork. I will have to try and see if I can’t create a new blank user profile to run the streamdeck as (details on what files I would need to wipe would be appreciated), and then see if I can’t re-set up manually using details I find in the JSON of the old export. All of the old commands, texts, and paths to images are clear in there, which helps.

A further update on this one, which may be helpful for anyone experiencing a similar issue.

I managed to discover that if I did an export now, with the larger streamdeck still being blak, I could get it’s identifier from the JSON. I then took the original streamdeck export I had from the mini, and replaced the identifier in there with that of the new streamdeck as shown below:

I then imported that, and for some reason the large streamdeck is happy with that. Everything loaded fine, and it hasn’t stopped working. This makes me believe that it is not necessarily an error with the configuration/export as I had originally thought. The key thing is that I was able to import my original settings and still use them, just on the new device which saves me a lot of effort.

I now have a redundant streamdeck mini unless I can find a solution, but at least I don’t have to spend hours setting things up again.

1 Like