obs-cmd icon indicating copy to clipboard operation
obs-cmd copied to clipboard

Instructions Needed (I am dumb)

Open ItsRogueRen opened this issue 9 months ago • 5 comments

I just discovered this as a potential way to get global hotkeys on Wayland, but I have NO IDEA how you are supposed to use this. How do I record a hotkey? How to I tell it what that hotkey is supposed to do? How do I connect it to the OBS websocket?

Is there any chance of having some instructions added to the README to help new users?

ItsRogueRen avatar Mar 24 '25 03:03 ItsRogueRen

This app is for controlling the websocket in OBS Studio, not system-level commands.

dhtseany avatar Mar 24 '25 12:03 dhtseany

This app is for controlling the websocket in OBS Studio, not system-level commands.

Yes I'm aware. On Wayland you can't activate hotkeys in an app that isn't in focus, but this does. So what you're supposed to do is set commands in this for what you want OBS to do, then set a KDE hotkey to activate that command which will activate the OBS hotkey via the websocket as if it was a global hotkey.

I'm not thinking this will fix hotkeys in general, but it'll let me have them for OBS which is all I need. The problem is I can't even figure out how to set this up to begin with, ignoring all the KDE stuff I wanna do after. I can't get the basics of getting obs-cmd to do anything

ItsRogueRen avatar Mar 24 '25 19:03 ItsRogueRen

You can test the commands you need in the terminal and then map them as custom shortcuts Image

grigio avatar Mar 25 '25 21:03 grigio

You can test the commands you need in the terminal and then map them as custom shortcuts Image

Right, but how do I set them up in the terminal in the first place? All I have to go off of is a list of commands and I have no idea how to set them and stuff. For example the scene change, how do I set what scene it changes to?

ItsRogueRen avatar Mar 25 '25 21:03 ItsRogueRen

@ItsRogueRen You can install obs-cmd as specified here https://github.com/grigio/obs-cmd?tab=readme-ov-file#installation and use obs-cmd scene switch myscene (it depends on your obs configurazion

grigio avatar Mar 26 '25 07:03 grigio