sending a window manager command?

Ulli Horlacher framstag at
Sun Dec 25 20:42:58 CET 2011

I want to send a window manager command to a certain window via shell

On Ubuntu I found:

  Wmctrl is a command line tool to interact with an EWMH/NetWM compatible
  X Window Manager (examples include Enlightenment, icewm, kwin, metacity,
  and sawfish).

  Wmctrl provides command line access to almost all the features defined
  in the EWMH specification. For example it can maximize windows, make
  them sticky, set them to be always on top. It can switch and resize
  desktops and perform many other useful operations.

I testet it then with:

wmctrl -l
wmctrl -r 0x03200024 -b toggle,fullscreen # 0x03200024 is my xterm

But it does nothing.

Is wmctrl not compatible with xfce?
Is there another solution?

Ullrich Horlacher              Server- und Arbeitsplatzsysteme
Rechenzentrum                  E-Mail: horlacher at
Universitaet Stuttgart         Tel:    ++49-711-685-65868
Allmandring 30                 Fax:    ++49-711-682357
70550 Stuttgart (Germany)      WWW:
REF: <20111225194258.GA29979 at>

More information about the Xfce mailing list