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:
- Launch streamdeck either from CLI or from a Desktop launcher
- Add
gnome-terminalto the Command section for a button - Press that button on the streamdeck and watch the terminal open
- Add
xdotool search --name '^Zoom Meeting$' windowactivateto another button - I have tried this with a wrapper script, but that also breaks - Press that button on the streamdeck and it has no effect and now the terminal button it also broken
- Restart
streamdeck-uito 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
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-devand then I was able to grab1.0.7and 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
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.10which 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.