You are not logged in.

#1 2020-09-13 13:32:00

manouchk
Member
Registered: 2008-07-29
Posts: 314

hotkeys are not processed by streaming software obs

HI,

I found that hotkeys are not processed by obs when obs is not the active window but it should. It is used to switch between scenes, for examplo. I have this problem when chromium, xournalpp, thunar, lxtermnial are the active window.
Is there any workaround. I use obs in lxde and lxdm.

I tries Ctrl-Shift-A, Shift-A and A as a hotkey. It just would work properly when obs is active wuindow.
I use OBS 25.0.8-2 (linux). Any hint? WHat I try to solve this problem?

Is there any possibility to make a software that is not the active window catching pressed key?

Offline

#2 2020-09-13 13:40:38

progandy
Member
Registered: 2012-05-17
Posts: 5,321

Re: hotkeys are not processed by streaming software obs

What is your desktop environment / window manager? Maybe you are using wayland?
Sorry, I missed that you use LXDE.

Last edited by progandy (2020-09-13 13:46:19)


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' | alias ENGLISH='LANG=C.UTF-8 ' |

Offline

#3 2020-09-13 16:35:10

manouchk
Member
Registered: 2008-07-29
Posts: 314

Re: hotkeys are not processed by streaming software obs

I've generated a log (https://obsproject.com/logs/Ml5fjVrDAur3cyXe) and found that apparently obs just receive scene switch of a single scene and not the other one.

I did swithc to A scene and X scene with obs as an active window. It worked and then a tried twice switch to A scene and switch to X scene. I deduce from the log that obs only received switching to X scene at the end of the log when wnidow of obs was not active.
Inthe real log I get:

13:18:00.361: User switched to scene 'Cena A fullsreen All'
13:18:02.239: User switched to scene 'Cena X xournal +webcam'
13:18:07.112: User switched to scene 'Cena X xournal +webcam'
13:18:10.084: User switched to scene 'Cena X xournal +webcam'

I was expecting to get:

13:18:00.361: User switched to scene 'Cena A fullsreen All'
13:18:02.239: User switched to scene 'Cena X xournal +webcam'
13:18:xx.xxx: User switched to scene 'Cena A fullsreen All'
13:18:07.112: User switched to scene 'Cena X xournal +webcam'
13:18:xx.xxx: User switched to scene 'Cena A fullsreen All'
13:18:10.084: User switched to scene 'Cena X xournal +webcam'

Last edited by manouchk (2020-09-13 17:09:41)

Offline

#4 2020-09-13 18:01:57

manouchk
Member
Registered: 2008-07-29
Posts: 314

Re: hotkeys are not processed by streaming software obs

I just found that I could use Automatic Scene switcher in order to do what I need. I just have a problem with a window which name contain the word rotação because of some problem related to charset is not correctly managed  by Automatic Scene switcher but I foound a workaround by modifying window title using xdotool:

xdotool search --name "Joaninha" set_window --name "PHET"


I also made a small script that helps things get done:

java -jar rotation_pt_BR.jar &
sleep 8
xdotool search --name "Joaninha" set_window --name "PHET"

I use sleep because this application is quite slow to open its window.

It does not answer my question but indeed solved my problem, so think I will close this topic soon.

Last edited by manouchk (2020-09-13 18:08:52)

Offline

Board footer

Powered by FluxBB