Xfce Forum

Sub domains
 

You are not logged in.

#1 2021-09-05 10:43:01

almahdi
Member
Registered: 2020-07-04
Posts: 36

Any way to prevent certain opened, running app get switched

Is there a way to prevent or skip certain opened, running app from getting focused (get foreground) when walking through apps focus switching by a keyboard shortcut ?

Last edited by almahdi (2021-09-05 12:17:13)

Offline

#2 2021-09-05 13:25:33

ToZ
Moderator
From: Canada
Registered: 2011-06-02
Posts: 8,040

Re: Any way to prevent certain opened, running app get switched

What you want to do is set a window property to "skip pager". xdotool has an option to do this. Something like:

xdotool getactivewindow windowstate --toggle SKIP_PAGER

...this basically sets the currently active window state to skip pager. If you assign this command to a keyboard shortcut, then you can turn this state on and off for any given currently active (focused) window.

If you are looking at doing this permanently for a specific application, then devilspie or devilspie2 can help.

Offline

Board footer

Powered by FluxBB