Define a custom shortcut for Compiz Window Manager

Ralf Mardorf silver.bullet at zoho.com
Fri Apr 22 20:58:07 UTC 2016


Does positioning a window with wmctrl work for anybody on what DE/WM
ever?

$ wmctrl -l -G | grep test
0x01c0018c  0 4    82   692  457  archlinux test
              ^^^^^^^
$ wmctrl -i -r 0x01c0018c -e 0,4,82,500,500 
                               ^^^^
$ wmctrl -l -G | grep test
0x01c0018c  0 8    132  500  500  archlinux test
              ^^^^^^^^
This happens on openbox, with fbpanel and lxpanel on top.
I use openbox, with fbpannel and lxpanel on top for Ubuntu Wily too, but can't
reboot at the moment. However, killing the panels doesn't make a difference.

$ killall fbpanel lxpanel
$ wmctrl -l -G | grep test
0x01c0018c  0 4    82   500  500  archlinux test
$ wmctrl -i -r 0x01c0018c -e 0,4,82,500,500 
$ wmctrl -l -G | grep test
0x01c0018c  0 8    132  500  500  archlinux test






More information about the ubuntu-users mailing list