Is it possible to move windows from the keyboard itself without touching the mouse?

I know I can do a Alt + Left Click and drag the window, however I am hoping there is something I can use to move it from the keyboard without the mouse.


Solution 1:

You can move a window by pressing

  • Alt+F7, then moving it around with the arrow keys, and finish by hitting Return.

  • The same goes for resizing, using Alt+F8

You can also press Esc to cancel

Also, while I'm at it:

  • Alt+F9 minimises the window

  • Alt+F10 maximises it

You can also bring up the application's window menu with Alt+space:

alt text


If you want to change those shortcuts, you can go to System → Preferences → Keyboard Shortcuts and find them under Window Management:

alt text

Solution 2:

Here is a list of shortcuts:

  • Ctrl+Alt+Num 1 = moves the window to the bottom left corner
  • Ctrl+Alt+Num 2 = moves the window to the bottom half of the screen
  • Ctrl+Alt+Num 3 = moves the window to the bottom right corner
  • Ctrl+Alt+Num 4 = moves the window to the left half of the screen
  • Ctrl+Alt+Num 5 = maximizes the window
  • Ctrl+Alt+Num 6 = moves the window to the right half of the screen
  • Ctrl+Alt+Num 7 = moves the window to the right left corner
  • Ctrl+Alt+Num 8 = moves the window to the top half of the screen
  • Ctrl+Alt+Num 9 = moves the window to the right right coner

Solution 3:

Instead of moving windows around by keyboard as if you're moving a mouse, you might just as well use a tiling window manager like awesome or xmonad, where everything is done by keyboard, anyway. In these window managers, windows only exchange places with other windows, and together they cover the whole screen.