Skip to content

Instantly share code, notes, and snippets.

@olistik
Created October 16, 2012 14:43
Show Gist options
  • Save olistik/3899721 to your computer and use it in GitHub Desktop.
Save olistik/3899721 to your computer and use it in GitHub Desktop.
Ubuntu 12.04 mac-like keyboard

Ubuntu 12.04 mac-like keyboard

Layout

  • Italian: Settings -> Keyboard Layout -> Italian
  • options -> Alt/Win key behavior: "Control is mapped to Win Keys (and the usual Ctrl keys)"

System

  • launch web browser: cmd + alt + y
  • Log out: cmd + shift + backspace
  • Lock screen: cmd + shift + l
  • Screenshots -> Take a screenshot of an area: cmd + shift + 4
  • custom Shortcuts -> launch Terminator terminal: cmd + alt + t (/usr/bin/terminator)
  • custom Shortcuts -> launch Pidgin: cmd + alt + p (/usr/bin/pidgin)

Compiz

  • scale -> initiate window picker: shift + fn + alt + up
  • scale -> initiate window picker: button 8 (Logitech MX 518 left side, down arrow)
  • expo -> expo key: shift + fn + alt + down
  • expo -> expo button: button 9 (Logitech MX 518 left side, up arrow)
  • unity plugin -> key to show the HUD: alt + space (alt + space)
  • unity plugin -> key to show the launcher: cmd + space (control + primary + space)
  • unity plugin -> key to start the switcher: cmd + tab
  • unity plugin -> key to start the switcher in reverse: shift cmd + tab
  • grid -> put left/right/top/bottom: cmd + alt + left/right/up/down arrow
  • grid -> maximize: cmd + alt + shift + up arrow
  • grid -> restore: cmd + alt + shift + down arrow

Etc

  • resize window: alt + middle click drag
  • move window: alt + left click
  • go to left/right/up/down workspace: fn + alt + left/right/up/down arrow
  • move current window to left/right/up/down workspace: ctrl + fn + alt + left/right/up/down arrow
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment