Skip to content

Instantly share code, notes, and snippets.

@ruancarvalho
Last active March 4, 2019 20:31
Show Gist options
  • Save ruancarvalho/2e40b0f9e339fd6a87e670bcaeedd5be to your computer and use it in GitHub Desktop.
Save ruancarvalho/2e40b0f9e339fd6a87e670bcaeedd5be to your computer and use it in GitHub Desktop.
Resize windows in Ubuntu

Install WMCtrl:

$ sudo apt-get install wmctrl

Use this format to resize windows in desktop:

wmctrl -r :ACTIVE: -e g,x,y,w,h

Example, resizing Visual Studio Code:

$ wmctrl -r Code -e 0,400,200,875,550
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment