What are Unity's keyboard and mouse shortcuts?
In Unity, are there any pre-defined shortcuts, e.g. to open the dash or unhide the launcher?
After upgrading from 10.10 I experienced that many of the shortcuts didn't work. At last I found out that previous settings in CompizConfig Settings Manager was the problem. After resetting to defaults everything works perfectly. Just a hint to others with the same problem. Couldn't find anything about this myself.
We don't normally put answers in comments, but just hold **Super** -- aka the Windows Key. You'll get the shortcuts for your version of your operating system localized to your language. It's that simple.
Can this be updated for 14.04? Is there *current* master list somewhere? It's not clear to me that the one on the wiki is even up-to-date.
This page will document the keyboard shortcuts and mouse tricks for Unity. Please feel free to add more!
Read this first to get familiar with the UI elements of Unity and to find the right keys on your keyboard:
Holding down the Super key will get you a keyboard overlay that documents most of these.
Hold Super - Invoke the Launcher and display the shortcuts
Hold Super, then press 1 or 2 or 3 and so on until 0 to open or focus an application. The number corresponds to the location of the icon on the launcher from top to bottom.
- Adding Shift will open a new instance of the application if it's already open.
- Holding the key is also useful when you want to get to the Launcher but do not want to invoke the Dash.
- Super + T - Open the rubbish bin/trash can.
- Alt + F1 - Put keyboard focus on the Launcher, use arrow keys to navigate, Enter launches an application, Right arrow exposes the quicklists if an application has them.
- Ctrl + Alt + T - Launch a terminal window.
- Tap Alt - Opens the HUD
- Hold Alt - Reveals application menu
Tap Super - Opens the Dash. The open signal is sent when you let go of the key, not when you push it down, so if it feels slow just let go of the key earlier.
Over an item, you can hit the Secondary key (commonly to the left of the right Ctrl) to see a preview of the item, as you can do with a secondary click over it.
Ubuntu 11.10 (Oneiric Ocelot)
* <kbd>Tab</kbd> Move to the next lens (When the dash is open) * <kbd>Shift</kbd>-<kbd>Tab</kbd> Move to the previous lens (when the dash is open)
* <kbd>Ctrl</kbd>-<kbd>Tab</kbd> Move to the next lens (When the dash is open) * <kbd>Ctrl</kbd>-<kbd>Shift</kbd>-<kbd>Tab</kbd> Move to the previous lens (when the dash is open)
- Alt + F2 - Invoke the Dash in a "special mode" to run a command. Typing in a folder name will find that folder in Nautilus, you can also use ~ as a shortcut in the field.
- The Dash opens with focus on the search box to find applications and files. Using the arrow keys will navigate the results, use Enter to launch. Hitting Enter twice in rapid succession after a search term will automatically launch the first match in a search, even if it's still ongoing. (Basically a dash version of "I'm feeling lucky").
- Super + A - Open Applications lens
- Super + F - Open Files & Folders lens
- Super + M - Open the music lens
- Super + V - Open the video lens
- F10 (11.10 and earlier) / Alt-F10 (12.04 and earlier) - Open the first menu on the panel, use the arrows keys to "scrub" across the menus. (There is no shortcut for the session menu, so hitting F10 and left arrow is a quick way to get there)
- Press Esc to close the menus without choosing anything.
- Ctrl + Super + D - Show desktop; hitting it again restores the windows.
- Super + W - Spread mode, zoom out on all windows in all workspaces, in 12.04 and 12.10 it zooms out on the windows in the current workspace.
- In Spread mode of 14.04 ↑ + ↓ + ← + → navigates through windows, Alt + F4 closes selected window, typing any text filters windows (for example typing "terminal" leaves only terminal windows), Enter restores selected window, Esc exits Spread mode
- Super-D - Minimize all windows; hitting it again restores them.
- Alt + Space - Opens the window's accessibility menu.
- Alt + Tab - Switch to other applications, you can hold Alt down and then hit tab to switch to the next application.
- Alt + ` - Switch between an application's windows. Hitting this combo when you're already focused on an application will automatically switch only between the windows for that application. The ` key on US layouts, but Unity will use whichever key is above your Tab key. (More information) (Video)
- Ctrl + Super + ↑ - Maximize the current window
- Ctrl + Super + ↓ - Restore/Minimize the current window (seems to be buggy at the moment)
- Ctrl + Super + ← - Maximize current window to the left
- Ctrl + Super + → - Maximize current window to the right
If you cycle through the same key Unity will cycle through different placement widths, so experiment by hitting the numkey multiple times, for example Ctrl + Alt + numpad 5 + 5 + 5:
- Ctrl-Alt + Numpad 7 - Place window in top left corner of screen.
- Ctrl-Alt + Numpad 8 - Place window in top half of screen.
- Ctrl-Alt + Numpad 9 - Place window in top right corner of screen.
- Ctrl-Alt + Numpad 5 - Center/Maximize the window in the middle of the screen. In 12.04 this toggles between maximize and restore state
- Ctrl-Alt + Numpad 1 - Place window in the bottom left corner of the screen.
- Ctrl-Alt + Numpad 2 - Place window in the bottom half of the screen.
- Ctrl-Alt + Numpad 3 - Place window in the bottom right corner of the screen.
- Ctrl-Alt + Numpad 0 - Minimize the current window (Ubuntu 12.04.1).
- Super + S - Expo mode (for everything), zooms out on all the workspaces and lets you manage windows.
- Shift + Alt + ↑ - Expo mode for all windows in the current workspace only.
- Ctrl + Alt + ← / → / ↑ / ↓ - (11.10+) - Change to a new workspace.
- Ctrl + Alt + Shift + ← / → / ↑ / ↓ - Place window to a new workspace.
- Ctrl + Alt + L - Lock the screen.
- PrtScn - Take a screenshot of the current workspace
- Alt + PrtScn - Take a screenshot of the current window
- Shift + PrtScn - Take a screenshot of a region traced by the mouse (shows crosshairs)
- Ctrl + Alt + Del - Logout
- Clicking and holding an icon and then dragging it around will allow you to reorder it on the launcher. You can also drag it off to the right of the launcher to move it around. Note that you need to make an explicit movement to the right to move the icon off the launcher before you can move it around.
- Dragging and dropping an icon into the trash can will remove it from the Launcher. The program itself will remain installed and accessible through the dash.
- Scrolling the mouse wheel while over the Launcher scrolls the icons if you have too many and need to move around quickly.
- Maximizing - Dragging a window to the top panel, or double-clicking a window's titlebar, or Alt + F10 (11.10 and earlier), will maximize it.
- Restore - There are two ways to restore, or unmaximize, the topmost maximized window of the current monitor for this workspace (not using the window controls)
- Double clicking on the top panel (but not in the application's menu)
- Dragging the top panel down.
- Middle click on Maximize - Maximize window vertically.
- Right click on Maximize - Maximize window horizontally
- Focus the topmost maximized window of the current monitor for this workspace: Left click on the top panel (but not in the application's menu)
- Tiling - Dragging a window to the left/right border will auto tile it to that side of the screen.
- Middle click on an application's launcher icon - Open a new instance of the application in a new window. If the application isn't running it will just open it normally.
- Middle click on the top panel or window title bar (but not the menu) - send the current window behind all other windows.
- Alt-Left drag inside a window - move the window
- Alt-Middle drag inside a window close to its border - resize the window
- Alt-Right click inside a window - window accessibility menu
Any key for zooming desktop? In Mavrick I used `Super + Mousewheel`, but it is not working in Precise. Did the keys change or I have to enable it somewhere?
Key for show desktop has changed in 12.04. It is now Ctrl+Super+D. Also, in 12.04 F10 is enough to show the first menu item (not Alt+F10)
I've made a Unity tricks overlay for the 11.04 default wallpaper.
If you find a mistake just tell me. Here is the JPEG source version.
This is awesome, it would be cool to include gestures as well. That will get pretty cluttered though.
@KenVanDine Thanks! I will try to come up with a solution. I already have quite a nice idea for a really awesome overlay. Something kind of overlay like conky but with as a help overlay like this one.
Hello. Many thanks for all the effort. By the way: what font did you use for the wallpaper ? Greetings
hi, can't stand the default Ubuntu wallpaper. saw you had a SVG source, and thought I could just use your SVG to remove the back ground. But when I tried to download it, it only comes in Jpeg. Is there an actual SVG somewhere that we play with?
@hansioux Just click on the SVG source link, right click that image and click `Save As...` it is a SVG so you should be able to modify it without any trouble.
This is super cool. Really useful (and non-intrusive) when set as replacement for the default desktop background. Highly recommended.
There is a typo for Super + 1 .. 0, where it says "of", but should say "or" in the explanation.
Should be added as one of the default wallpapers or as a feature, to show the list on top of the wallpaper, on future Ubuntu versions
Do you have a source with non-rasterized text? I can't find SVG source link, where is it?
There is a feature in development for 12.04 so that when you long-press the Super key, a detailed overlay of possible shortcuts will appear.
Also notice the numbers appearing besides the application icons in the launcher dock on the left. Super + Number is a short cut to that specific app, to save you from Alt + Tab madness when rapidly switching between three or more apps (such as while programming).
I have found a very good wallpaper, which shows the unity shortcuts: German explanations:
As per demand an English version of that wallpaper.
Spanisch version from jagarciavi
If you hold down the 'Windows' key (Called 'Super' in the Linux world) you will get an overlay on your desktop, containing the most common shortcuts.
Some of the most common include:
Ctrl + Alt + Arrow Key : changes workspace.
Super + S : Workspace Overview
Ctrl + Alt + L : Lock Computer
Alt + Tab : Windows Switcher
Super : Opens Dash
Among the commands you want:
Ctrl + Shift + N
And Alt + D both work.
An equivalent to
runwould be Super and holding Super will focus the launcher.
- Alt + F7 with arrow keys to move the current window on the screen. Use arrow keys to change its position fast, and use arrow keys (on number key area when NumLock is off) to change it slowly.
- Alt + F10 to resize current window between normal size and max size.
I translate into Spanish the printable version of the shortcuts and mouse tricks. You can grab the ODT here or the PDF here. Please inform me if the links are broken or the translation is bad.