ivelischt
[SOLVED] OpenDeck (AUR version) on Arch fails to run wscat command. (Repost from #general)
repost from #general, i'll just add all i wrote so far, slightly redacted to provide context:
#1: hi all, is there by chance anyone who could give me a hint as to how to send a message to a local websocket upon pressing, and another upon releasing a streamdeck key?
strangely, running the following command from cli works:
wscat -c ws://localhost:49080/ws -x '{"type":"kPttPressed"}'
but when i use the same command as Key down action for a Run Command, it doesn't have any effect. any ideas? 🙂
#2: otherwise, the run command is working. my other buttons use xdotool to run keydown and keyup events. those work without a problem
sadly i cant use this option anymore for this specific use case, as the application developer borked something with the hotkey detection 😅
#3: nothing in the opendeck.log, nor starterpack.log
#4: com.amansprojects.starterpack.sdPlugin.log shows only one line of log:
08:05:26 [DEBUG] (1) tungstenite:🤝:client: Client handshake done.
opendeck.log is a bit longer, but its only about extracting and registering plugins, with no obvious errors.
#5: i just realised one more thing: when i run opendeck directly from bash, the wscat command does actually work as intended
however, restarting it from the start menu, it fails to work (using cinnamon DE, don't know if that has anything to do with it)
changing the starter to enable "Run in command line" also renders the button working. (with the sideeffect of having a terminal open all the time while the app runs)
15 replies