Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Resize linux windows via command line

(You may need to install wmctrl via package manager)

List the windows:

wmctrl -l

Resize to, for example, 1280x720 and move to upper-left corner:

wmctrl -r '(first few chars of name)' -e 1,0,0,1280,720

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment