wmctrl help
help generated by wmctrl -h
Actions:
switch | description |
---|
-m | Show information about the window manager and about the environment. |
-l | List windows managed by the window manager. |
-a <WIN> | Activate the window by switching to its desktop and raising it. |
-c <WIN> | Close the window gracefully. |
-R <WIN> | Move the window to the current desktop and activate it. |
-r <WIN> -t <DESK> | Move the window to the specified desktop. |
-r <WIN> -e <MVARG> | Resize and move the window around the desktop. The format of the <MVARG> argument is described below. |
-r <WIN> -b <STARG> | Change the state of the window. Using this option it's possible for example to make the window maximized, minimized or fullscreen. The format of the <STARG> argument and list of possible states is given below.
( add | remove | toggle),prop1 [,prop2 ]
Add, remove, or toggle up to two window properties simultaneously- modal
- sticky
- maximized_vert
- maximized_horz
- shaded
- skip_taskbar
- skip_pager
- hidden
- fullscreen
- above
- below
Following example will toggle window with title 'Notes - Zim' above other windows.
wmctrl -b toggle,shaded -r 'Notes - Zim'
|
-r <WIN> -N <STR> | Set the name (long title) of the window. |
-r <WIN> -I <STR> | Set the icon name (short title) of the window. |
-r <WIN> -T <STR> | Set both the name and the icon name of the window. |
Options:
switch | description |
---|
-i | Interpret <WIN> as a numerical window ID.
wmctrl -ir 0x06600031 -T "D78" The hexadecimal string '0x06600031' is the intifier found using option -l above. |
-G | Include geometry in the window list. |
-F | Modifies the behavior of the window title matching algorithm. It will match only the full window title instead of a substring, when this option is used. Furthermore it makes the matching case sensitive. |
-v | Be verbose. Useful for debugging. |