forked from andonome/lk
		
	add universal key remapping
This commit is contained in:
		| @@ -1,8 +1,8 @@ | ||||
| --- | ||||
| title: "keyboard" | ||||
| tags: [ "Documentation", "basics" ] | ||||
| tags: [ "Documentation", "keyboard" ] | ||||
| --- | ||||
| # Set Layout | ||||
| # Set Layout with X Display | ||||
|  | ||||
| Set layout to British English. | ||||
|  | ||||
| @@ -29,3 +29,18 @@ Remap, e.g., the right Windows key, to Alt_Gr. | ||||
|     key <RWIN> {[  ISO_Level3_Shift    ]}; | ||||
| ``` | ||||
|  | ||||
| # Set Global Keymap | ||||
|  | ||||
| Copy your keymap, e.g. if it's polish-1, then: | ||||
|  | ||||
| > cp /usr/share/kbd/keymaps/i386/qwerty/pl1.map.gz /usr/share/kbd/keymaps/*custom*.map.gz | ||||
|  | ||||
| Then change that map: | ||||
|  | ||||
| > sudo -e /usr/share/kbd/keymaps/custom.map.gz | ||||
|  | ||||
| Change the default keyboard mapping to the custom map: | ||||
|  | ||||
| > echo 'KEYMAP="/usr/share/kbd/keymaps/custom/*custom*.map.gz"'  | sudo tee /etc/vconsole.conf | ||||
|  | ||||
| Reboot to have changes take effect. | ||||
|   | ||||
		Reference in New Issue
	
	Block a user