特殊:Badtitle/NS100:MappingWindowsKey:修订间差异
小 新页面: {{From|https://help.ubuntu.com/community/MappingWindowsKey}} {{Languages|UbuntuHelp:MappingWindowsKey}} This small guide explains how to map the Windows key in order to use it as a modifi... |
(没有差异)
|
2007年5月24日 (四) 16:19的版本
文章出处: |
{{#if: | {{{2}}} | https://help.ubuntu.com/community/MappingWindowsKey }} |
点击翻译: |
English {{#ifexist: {{#if: UbuntuHelp:MappingWindowsKey | UbuntuHelp:MappingWindowsKey | {{#if: | :}}MappingWindowsKey}}/af | • {{#if: UbuntuHelp:MappingWindowsKey|Afrikaans| [[::MappingWindowsKey/af|Afrikaans]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MappingWindowsKey | UbuntuHelp:MappingWindowsKey | {{#if: | :}}MappingWindowsKey}}/ar | • {{#if: UbuntuHelp:MappingWindowsKey|العربية| [[::MappingWindowsKey/ar|العربية]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MappingWindowsKey | UbuntuHelp:MappingWindowsKey | {{#if: | :}}MappingWindowsKey}}/az | • {{#if: UbuntuHelp:MappingWindowsKey|azərbaycanca| [[::MappingWindowsKey/az|azərbaycanca]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MappingWindowsKey | UbuntuHelp:MappingWindowsKey | {{#if: | :}}MappingWindowsKey}}/bcc | • {{#if: UbuntuHelp:MappingWindowsKey|جهلسری بلوچی| [[::MappingWindowsKey/bcc|جهلسری بلوچی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MappingWindowsKey | UbuntuHelp:MappingWindowsKey | {{#if: | :}}MappingWindowsKey}}/bg | • {{#if: UbuntuHelp:MappingWindowsKey|български| [[::MappingWindowsKey/bg|български]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MappingWindowsKey | UbuntuHelp:MappingWindowsKey | {{#if: | :}}MappingWindowsKey}}/br | • {{#if: UbuntuHelp:MappingWindowsKey|brezhoneg| [[::MappingWindowsKey/br|brezhoneg]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MappingWindowsKey | UbuntuHelp:MappingWindowsKey | {{#if: | :}}MappingWindowsKey}}/ca | • {{#if: UbuntuHelp:MappingWindowsKey|català| [[::MappingWindowsKey/ca|català]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MappingWindowsKey | UbuntuHelp:MappingWindowsKey | {{#if: | :}}MappingWindowsKey}}/cs | • {{#if: UbuntuHelp:MappingWindowsKey|čeština| [[::MappingWindowsKey/cs|čeština]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MappingWindowsKey | UbuntuHelp:MappingWindowsKey | {{#if: | :}}MappingWindowsKey}}/de | • {{#if: UbuntuHelp:MappingWindowsKey|Deutsch| [[::MappingWindowsKey/de|Deutsch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MappingWindowsKey | UbuntuHelp:MappingWindowsKey | {{#if: | :}}MappingWindowsKey}}/el | • {{#if: UbuntuHelp:MappingWindowsKey|Ελληνικά| [[::MappingWindowsKey/el|Ελληνικά]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MappingWindowsKey | UbuntuHelp:MappingWindowsKey | {{#if: | :}}MappingWindowsKey}}/es | • {{#if: UbuntuHelp:MappingWindowsKey|español| [[::MappingWindowsKey/es|español]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MappingWindowsKey | UbuntuHelp:MappingWindowsKey | {{#if: | :}}MappingWindowsKey}}/fa | • {{#if: UbuntuHelp:MappingWindowsKey|فارسی| [[::MappingWindowsKey/fa|فارسی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MappingWindowsKey | UbuntuHelp:MappingWindowsKey | {{#if: | :}}MappingWindowsKey}}/fi | • {{#if: UbuntuHelp:MappingWindowsKey|suomi| [[::MappingWindowsKey/fi|suomi]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MappingWindowsKey | UbuntuHelp:MappingWindowsKey | {{#if: | :}}MappingWindowsKey}}/fr | • {{#if: UbuntuHelp:MappingWindowsKey|français| [[::MappingWindowsKey/fr|français]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MappingWindowsKey | UbuntuHelp:MappingWindowsKey | {{#if: | :}}MappingWindowsKey}}/gu | • {{#if: UbuntuHelp:MappingWindowsKey|ગુજરાતી| [[::MappingWindowsKey/gu|ગુજરાતી]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MappingWindowsKey | UbuntuHelp:MappingWindowsKey | {{#if: | :}}MappingWindowsKey}}/he | • {{#if: UbuntuHelp:MappingWindowsKey|עברית| [[::MappingWindowsKey/he|עברית]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MappingWindowsKey | UbuntuHelp:MappingWindowsKey | {{#if: | :}}MappingWindowsKey}}/hu | • {{#if: UbuntuHelp:MappingWindowsKey|magyar| [[::MappingWindowsKey/hu|magyar]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MappingWindowsKey | UbuntuHelp:MappingWindowsKey | {{#if: | :}}MappingWindowsKey}}/id | • {{#if: UbuntuHelp:MappingWindowsKey|Bahasa Indonesia| [[::MappingWindowsKey/id|Bahasa Indonesia]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MappingWindowsKey | UbuntuHelp:MappingWindowsKey | {{#if: | :}}MappingWindowsKey}}/it | • {{#if: UbuntuHelp:MappingWindowsKey|italiano| [[::MappingWindowsKey/it|italiano]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MappingWindowsKey | UbuntuHelp:MappingWindowsKey | {{#if: | :}}MappingWindowsKey}}/ja | • {{#if: UbuntuHelp:MappingWindowsKey|日本語| [[::MappingWindowsKey/ja|日本語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MappingWindowsKey | UbuntuHelp:MappingWindowsKey | {{#if: | :}}MappingWindowsKey}}/ko | • {{#if: UbuntuHelp:MappingWindowsKey|한국어| [[::MappingWindowsKey/ko|한국어]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MappingWindowsKey | UbuntuHelp:MappingWindowsKey | {{#if: | :}}MappingWindowsKey}}/ksh | • {{#if: UbuntuHelp:MappingWindowsKey|Ripoarisch| [[::MappingWindowsKey/ksh|Ripoarisch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MappingWindowsKey | UbuntuHelp:MappingWindowsKey | {{#if: | :}}MappingWindowsKey}}/mr | • {{#if: UbuntuHelp:MappingWindowsKey|मराठी| [[::MappingWindowsKey/mr|मराठी]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MappingWindowsKey | UbuntuHelp:MappingWindowsKey | {{#if: | :}}MappingWindowsKey}}/ms | • {{#if: UbuntuHelp:MappingWindowsKey|Bahasa Melayu| [[::MappingWindowsKey/ms|Bahasa Melayu]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MappingWindowsKey | UbuntuHelp:MappingWindowsKey | {{#if: | :}}MappingWindowsKey}}/nl | • {{#if: UbuntuHelp:MappingWindowsKey|Nederlands| [[::MappingWindowsKey/nl|Nederlands]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MappingWindowsKey | UbuntuHelp:MappingWindowsKey | {{#if: | :}}MappingWindowsKey}}/no | • {{#if: UbuntuHelp:MappingWindowsKey|norsk| [[::MappingWindowsKey/no|norsk]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MappingWindowsKey | UbuntuHelp:MappingWindowsKey | {{#if: | :}}MappingWindowsKey}}/oc | • {{#if: UbuntuHelp:MappingWindowsKey|occitan| [[::MappingWindowsKey/oc|occitan]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MappingWindowsKey | UbuntuHelp:MappingWindowsKey | {{#if: | :}}MappingWindowsKey}}/pl | • {{#if: UbuntuHelp:MappingWindowsKey|polski| [[::MappingWindowsKey/pl|polski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MappingWindowsKey | UbuntuHelp:MappingWindowsKey | {{#if: | :}}MappingWindowsKey}}/pt | • {{#if: UbuntuHelp:MappingWindowsKey|português| [[::MappingWindowsKey/pt|português]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MappingWindowsKey | UbuntuHelp:MappingWindowsKey | {{#if: | :}}MappingWindowsKey}}/ro | • {{#if: UbuntuHelp:MappingWindowsKey|română| [[::MappingWindowsKey/ro|română]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MappingWindowsKey | UbuntuHelp:MappingWindowsKey | {{#if: | :}}MappingWindowsKey}}/ru | • {{#if: UbuntuHelp:MappingWindowsKey|русский| [[::MappingWindowsKey/ru|русский]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MappingWindowsKey | UbuntuHelp:MappingWindowsKey | {{#if: | :}}MappingWindowsKey}}/si | • {{#if: UbuntuHelp:MappingWindowsKey|සිංහල| [[::MappingWindowsKey/si|සිංහල]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MappingWindowsKey | UbuntuHelp:MappingWindowsKey | {{#if: | :}}MappingWindowsKey}}/sq | • {{#if: UbuntuHelp:MappingWindowsKey|shqip| [[::MappingWindowsKey/sq|shqip]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MappingWindowsKey | UbuntuHelp:MappingWindowsKey | {{#if: | :}}MappingWindowsKey}}/sr | • {{#if: UbuntuHelp:MappingWindowsKey|српски / srpski| [[::MappingWindowsKey/sr|српски / srpski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MappingWindowsKey | UbuntuHelp:MappingWindowsKey | {{#if: | :}}MappingWindowsKey}}/sv | • {{#if: UbuntuHelp:MappingWindowsKey|svenska| [[::MappingWindowsKey/sv|svenska]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MappingWindowsKey | UbuntuHelp:MappingWindowsKey | {{#if: | :}}MappingWindowsKey}}/th | • {{#if: UbuntuHelp:MappingWindowsKey|ไทย| [[::MappingWindowsKey/th|ไทย]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MappingWindowsKey | UbuntuHelp:MappingWindowsKey | {{#if: | :}}MappingWindowsKey}}/tr | • {{#if: UbuntuHelp:MappingWindowsKey|Türkçe| [[::MappingWindowsKey/tr|Türkçe]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MappingWindowsKey | UbuntuHelp:MappingWindowsKey | {{#if: | :}}MappingWindowsKey}}/vi | • {{#if: UbuntuHelp:MappingWindowsKey|Tiếng Việt| [[::MappingWindowsKey/vi|Tiếng Việt]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MappingWindowsKey | UbuntuHelp:MappingWindowsKey | {{#if: | :}}MappingWindowsKey}}/yue | • {{#if: UbuntuHelp:MappingWindowsKey|粵語| [[::MappingWindowsKey/yue|粵語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MappingWindowsKey | UbuntuHelp:MappingWindowsKey | {{#if: | :}}MappingWindowsKey}}/zh | • {{#if: UbuntuHelp:MappingWindowsKey|中文| [[::MappingWindowsKey/zh|中文]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MappingWindowsKey | UbuntuHelp:MappingWindowsKey | {{#if: | :}}MappingWindowsKey}}/zh-hans | • {{#if: UbuntuHelp:MappingWindowsKey|中文(简体)| [[::MappingWindowsKey/zh-hans|中文(简体)]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MappingWindowsKey | UbuntuHelp:MappingWindowsKey | {{#if: | :}}MappingWindowsKey}}/zh-hant | • {{#if: UbuntuHelp:MappingWindowsKey|中文(繁體)| [[::MappingWindowsKey/zh-hant|中文(繁體)]]}}|}} |
{{#ifeq:UbuntuHelp:MappingWindowsKey|:MappingWindowsKey|请不要直接编辑翻译本页,本页将定期与来源同步。}} |
{{#ifexist: :MappingWindowsKey/zh | | {{#ifexist: MappingWindowsKey/zh | | {{#ifeq: {{#titleparts:MappingWindowsKey|1|-1|}} | zh | | }} }} }} {{#ifeq: {{#titleparts:MappingWindowsKey|1|-1|}} | zh | | }}
This small guide explains how to map the Windows key in order to use it as a modifier, under Ubuntu. This guide also shows how to map common Windows Key shortcuts so that the behavior is similar to how Windows users are used to doing things. The whole thing is very simple, and if you want to include (or link to this) from other pages, feel free to do so.
Create a .xstartup file
We will need to edit your /home/user/.xstartup file. If you have one, edit it (with whatever text editor you work best with). If it does not exist, simply create it. Easiest way to do this is to open Text Editor (under Applications, Accessories) and then save the file as /home/user/.xstartup
Paste the following in the file:
# Make the Windows key a useable mod key: xmodmap -e "remove mod4 = F13" xmodmap -e "keycode 115 = Super_L" xmodmap -e "add mod4 = Super_L"
Note: You can type the three commands directly in a terminal window to test them. If the first command spits out commandline:1: bad remove modifier keysym list (empty), then simply delete it or add a # before it to comment it out.
Source of this code: Click Here
Map Keys
In order to create your key shortcuts, you will need to open the Keyboard Shortcuts window from the System / Preferences menu. Click on the shorcut you want to create, then make your key combination. For example, if you want to copy the "Run" dialog box from Windows (Win+R), just click on Show the panel run application dialog, then press WIN+R at the same time.
Common Win Shortcuts
Key | Keyboard Shortcuts Name | Windows equivalent | ||
Win+R | Show the panel run application dialog | Run dialog | ||
Win+E | Home Folder | Windows Explorer (or My Documents) | ||
Win+L | Logout | Shutdown | ||
Win+F | Search | Search Files or Folders | ||
Win+M | Hide all windows and focus desktop | Show Desktop |