New answers tagged

2

You probably need to set the extended window manager hint _NET_WM_STATE_ABOVE. In general, if you want to copy X behavior of other applications, you can use xprop (in my distribution packaged as xorg-xprop, YMMV). When launched from terminal, you can click on an application of which you want to see the window manager hints and properties. This can be of ...


3

bindsym $mod+j+f [class=Firefox] focus bindsym $mod+j+e [class=Emacs] focus You can get the class argument for any currently window with the following command: xprop -name <window title> | grep WM_CLASS This will return something like WM_CLASS(STRING) = "emacs", "Emacs" The second string, here Emacs is the argument for the class parameter.


1

Actually this is the very purpose of so-called "Tiling Window Managers" i.e. Awesome, as apposed the classic "Floating Window Managers" i.e. Gnome2. So yeah, I think to do what you want to do you're going to need to upgrade from gnome to something a bit more hardcore. But believe me, you won't want to go back after you've experienced what these other Window ...


0

I was able to identify short and unix-way solution: comm -12 \ <(xdotool search --name 'title-pattern' | sort) \ <(xdotool search --class 'class-pattern' | sort)


2

My xdotool help informs me that your two switches are the same (xdotool version 3.20150503.1), --name check regexp_pattern agains the window name --title DEPRECATED. Same as --name. and as such doesn't do anything. My xdotool does the same as yours with replacing the window stack, so I did it with a shell script. A shell script doing what ...



Top 50 recent answers are included