Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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.

share|improve this question

3 Answers 3

up vote 19 down vote accepted

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

share|improve this answer
1  
Thanks, just what I was looking for. I will accept as soon as it is allowed. –  Karl Dec 20 '10 at 11:17
1  
Didn't know the shortcuts. Very cool. –  Oli Dec 20 '10 at 13:10

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
share|improve this answer

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.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.