In Unity, are there any pre-defined shortcuts, e.g. to open the dash or unhide the launcher?
11 Answers
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:
Keyboard Shortcuts
Holding down the Super key will get you a keyboard overlay that documents most of these.
Launcher
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.
Dash
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)
Ubuntu 12.04+
* <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
Panel
- 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.
Window Management
- 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
Window Placement
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).
Workspace Management
- 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.
Screenshots
- 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)
System
- Ctrl + Alt + Del - Logout
Mouse Tricks
Launcher
- 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.
Window Management
- 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? Commented May 18, 2012 at 19:29 -
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) Commented Jun 27, 2012 at 19:35
-
The "Expo Mode for All Windows" doesn't seem to work in 12.10 Commented Nov 7, 2012 at 19:13
-
-
Is it possible to keep the menu opened even when stop pressing alt ?– housCommented Oct 21, 2017 at 19:01
I've made a Unity tricks overlay for the 11.04 default wallpaper.
Click on the image for a full screen version.
If you find a mistake just tell me. Here is the JPEG source version.
Enjoy!
-
7This is awesome, it would be cool to include gestures as well. That will get pretty cluttered though. Commented Apr 23, 2011 at 20:28
-
@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. Commented Apr 23, 2011 at 20:32
-
1@EdgarHoffmann Glad you like it. I've used the official Ubuntu font. Commented May 5, 2011 at 17:16
-
1@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. Commented May 9, 2011 at 17:46 -
2There is a typo for Super + 1 .. 0, where it says "of", but should say "or" in the explanation. Commented Jul 17, 2012 at 17:25
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).
-
1
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 run
would be Super and holding Super will focus the launcher.
I made a printable version of the shortcuts and mouse tricks. You can grab the ODT here or the PDF here.
-
1
-
2Both links are working for me.– user1614Commented Jun 14, 2011 at 12:32
-
3Whilst this may theoretically answer the question, it would be preferable to include the essential parts of the answer here, and provide the link for reference. Commented Jul 17, 2012 at 17:22
- 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.
-
Really usefull on a laptop, where one generally has no number pad.– berkesCommented Oct 27, 2011 at 8:00
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.
-
4Whilst this may theoretically answer the question, it would be preferable to include the essential parts of the answer here, and provide the link for reference. Commented Jul 17, 2012 at 17:22
Otra version en español
Hi, I made another version of this in Spanish mixing those images. Click for a fullsize image:
-
27
-
1This is a duplicate of this answer: askubuntu.com/questions/28086/…– karelCommented Aug 28, 2017 at 7:10
gsettings list-recursively
shows a lot of window manager keybindings, but not the Unity ones. I'm looking for what bindings are unused and suitable for customization.