Tag Info

New answers tagged


The soft way to request an X11 application to close its window and possibly then exit is to send it a WM_DELETE_WINDOW message. Xdotool doesn't appear to have a way to do this. You can do it in Perl with X11::Protocol::WM. Untested: perl -MX11::Protocol -MX11::Protocol::WM -e '$X = X11::Protocol::new(); X11::Protocol::WM::set_wm_protocol($X, ...


I also asked this question on stackoverflow and got a good answer that I marked as the correct one and upvoted: http://stackoverflow.com/a/26060527/1707904 This applies also to compiz. There are a couple of ways you can get these informations in some ways: wnckprop --xid=$(xdotool getactivewindow) Otherwise, you can just mix the Absolute value you ...

Top 50 recent answers are included