Forrest logo
back to context overview

wmctrl

List of commands for wmctrl:

  • wmctrl:ai:7426f Retrieves the active Firefox window's process ID and window title
    $ wmctrl -lp | grep $(xdotool getactivewindow)
    try on your machine
    explain this command
  • wmctrl:tldr:3e990 wmctrl: Select a window a move it to a workspace.
    $ wmctrl -r ${window_title} -t ${workspace_number}
    try on your machine
    explain this command
  • wmctrl:tldr:9116f wmctrl: Select a window and toggle fullscreen.
    $ wmctrl -r ${window_title} -b toggle,fullscreen
    try on your machine
    explain this command
  • wmctrl:tldr:956a6 wmctrl: Switch to the first window whose (partial) title matches.
    $ wmctrl -a ${window_title}
    try on your machine
    explain this command
  • wmctrl:tldr:99acd wmctrl: Switch to a workspace.
    $ wmctrl -s ${workspace_number}
    try on your machine
    explain this command
  • wmctrl:tldr:b6b70 wmctrl: List all windows, managed by the window manager.
    $ wmctrl -l
    try on your machine
    explain this command
  • wmctrl:tldr:ea01b wmctrl: Move a window to the current workspace, raise it and give it focus.
    $ wmctrl -R ${window_title}
    try on your machine
    explain this command
back to context overview