streamdeck-ui: Command does not work in Ubuntu 18.04.5 LTS (Bionic Beaver)

Putting anything into the Command spot that fails breaks streamdeck-ui.

Steps to reproduce:

  1. Launch streamdeck either from CLI or from a Desktop launcher
  2. Add gnome-terminal to the Command section for a button
  3. Press that button on the streamdeck and watch the terminal open
  4. Add xdotool search --name '^Zoom Meeting$' windowactivate to another button - I have tried this with a wrapper script, but that also breaks
  5. Press that button on the streamdeck and it has no effect and now the terminal button it also broken
  6. Restart streamdeck-ui to fix (this sometimes fixes it, but sometimes you need to unplug and replug the streamdeck)
  • I have tried running streamdeck from a CLI to get output for debugging, but it didn’t give me any output.
  • The commands I have tried in the streamdeck work from the CLI

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 18

Commits related to this issue

Most upvoted comments

Well, looks like it’s a case of needing to upgrade python. I was on python3.6 and needed python3.8. Updated to 3.8 and then installed libpython3.8-dev and then I was able to grab 1.0.7 and now everything works fine, including the grabbing focus.

Thanks all for the assistance!

I’ve updated the README with clearer instructions. https://github.com/timothycrosley/streamdeck-ui/commit/bdab3db092f2996491b55561e56d09fbbb57be04

but maybe we need to release for older versions of python3 also (or explicitly state that this package works on older versions of python3, assuming it does)?

This is not possible since the underlying library we use requires Python 3.8. It is a bummer that pip does not provide any feedback that there is even the possibility of an upgrade.

Hopefully this helps the next person. Thanks all!

I noticed on pypi.org that it says: Requires: Python >=3.8, <3.10 which is what gave me the idea to update python.

Can you try this:

bash -c "xdotool search --name '^Zoom Meeting$' windowactivate"

The reason I suggest this is it might be because be because of just how streamdeck-ui executes what you put in the command box.