Examples (6)
List all windows, managed by the window manager
wmctrl -lSwitch to the first window whose (partial) title matches
wmctrl -a window_titleMove a window to the current workspace, raise it and give it focus
wmctrl -R window_titleSwitch to a workspace
wmctrl -s workspace_numberSelect a window and toggle fullscreen
wmctrl -r window_title -b toggle,fullscreenSelect a window and move it to a workspace
wmctrl -r window_title -t workspace_numbermade by @shridhargupta | data from tldr-pages