Ubuntu tips: Create a shortcut using the "Windows key"

Source: Internet
Author: User
If you have used the Ubuntu "keyboard shortcut" Program (in "System"-"Preferences") to define your own shortcut keys, you may notice that it does not use the Windows key (this key is next to the Space key with a Windows icon on it ). This is because the "keyboard shortcut" program regards "Windows key" as another key, so you cannot use this key for setting. However, the solution is not complex. Click "System"-"Preferences"-"keyboard". When the window appears, switch to the "layout" tab. Click layout options"

If you have used the Ubuntu "keyboard shortcut" Program (in "System"-"Preferences") to define your own shortcut keys, you may notice that it does not use the Windows key (this key is next to the Space key with a Windows icon on it ). This is because the "keyboard shortcut" program regards "Windows key" as another key, so you cannot use this key for setting.

However, the solution is not complex. Click "System"-"Preferences"-"keyboard". When the window appears, switch to the "layout" tab. Click "layout options" to display a dialog box. In the dialog box, click the arrow next to "Alt/Win key behavior" and check "Super key ing to Windows key ", close all windows.

Now you can use Windows keys to combine other keys to define your own shortcuts.

For example, you can now define Win + E as Windows to open Nautilus, open gconf-editor, find "/apps/metacity/keybinding_commands", and double-click command_1, enter "nautilus computer: //" in the Value input box ://". In gconf-editor, find "/apps/metaciy/global_keybindings", double-click "run_command_1", and enter" E ". Close gconf-editor and press Win + E. A Nautilus will pop up immediately.

Gconf-editor can define 12 Such shortcuts in "/apps/metacity/keybinding_commands" and "/apps/metaciy/global_keybindings.

However, some Win key combinations are unavailable. The reason is unknown, but it can work if Ctrl or Alt is added.

In addition, you can also use "Up, down, Left, right" and other direction keys. For example, you can use Windows + Cursor Left or , , , And In addition, Page UP, Page Down, and Scroll Lock must be written as Page_UP, Page_Down, and Scroll_Lock.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.