You are not logged in.
I wanted to do the following with xdotool: close all the windows in the current desktop with the same class as the focused window.
I ended up with (there's no windowclose action in xdotool):
xdotool search --all --desktop $(xdotool get_desktop) --class $(xprop WM_CLASS -id $(xdotool getactivewindow) | sed -n 's/.*"\([^"]\+\)".*/\1/p') windowkill %@
So I've basically written xdo so that the aforementioned task can be expressed in simple terms:
xdo close -dc
Homepage:
https://github.com/baskerville/xdo
Offline