Tuesday, December 27, 2011

Moving windows to the sides like Windows 7 Aero in Ubuntu Linux

Do you find the ability to move windows to the side of the screen one of the most useful features in Windows 7 as I do? :)  I'm sure Windows 7 has many other amazing new things, but on to enabling this in Linux:

This guide will help you move windows to side to side (or up/down) in Ubuntu Linux Gnome interface.

  • We begin by enabling Compiz:
    • Go to System > Preferences > Visual Effects
    • Choose "Extra" for the visual effects.  This will enable Compiz on your Ubuntu gnome interface.
  • Install Compiz Configuration Settings Manager (ccsm)
    • Applications > Ubuntu Software Center
    • Install "Advanced Desktop Effects Settings (ccsm)"
  • Go into the Compiz settings...
    • System > Preferences > Compiz Config Settings Manager
    • Enable "Grid"

Grid will enable you to move windows with keyboard shortcuts quickly to side to side or top and bottom.
(click to enlarge)

The default shortcut keys are something like Ctrl+Alt such and such, but I prefer to use the menu key on the keyboard (yes, the one with the windows icon):