keyboard: Add left-hand AltGr keys
This commit is contained in:
parent
26777042fe
commit
c47036d6f8
|
@ -1,13 +0,0 @@
|
|||
# dk_us
|
||||
US keyboard layout with Danish letters.
|
||||
|
||||
## Install
|
||||
```
|
||||
sudo patch --directory=/ --strip=0 < dk.patch
|
||||
sudo patch --directory=/ --strip=0 < evdev.xml.patch
|
||||
sudo patch --directory=/ --strip=0 < evdev.lst.patch
|
||||
```
|
||||
|
||||
|
||||
## Uninstall
|
||||
Add the `--reverse` flag to the commands.
|
23
keyboard/README.md
Normal file
23
keyboard/README.md
Normal file
|
@ -0,0 +1,23 @@
|
|||
# Keyboard
|
||||
US keyboard layout with Danish letters, and other additions.
|
||||
|
||||
## Linux
|
||||
|
||||
### Install
|
||||
```
|
||||
sudo patch --directory=/ --strip=0 < {dk,evdev.xml,evdev.lst}.patch
|
||||
```
|
||||
|
||||
### Uninstall
|
||||
Add the `--reverse` flag to the command.
|
||||
|
||||
### Testing
|
||||
Set or reload keyboard layout:
|
||||
```
|
||||
setxkbmap dk us
|
||||
```
|
||||
|
||||
|
||||
## Windows
|
||||
Install `setup.exe` and then go to `Advanced keyboard settings` and select
|
||||
`Danish - US, with Danish letters`.
|
|
@ -1,6 +1,6 @@
|
|||
--- /usr/share/X11/xkb/symbols/dk 2021-02-22 10:36:46.000000000 +0100
|
||||
+++ /usr/share/X11/xkb/symbols/dk 2022-04-18 16:06:33.380498309 +0200
|
||||
@@ -86,3 +86,34 @@
|
||||
@@ -86,3 +86,39 @@
|
||||
xkb_symbols "sun_type6" {
|
||||
include "sun_vndr/dk(sun_type6)"
|
||||
};
|
||||
|
@ -12,26 +12,31 @@
|
|||
+ include "us(basic)"
|
||||
+ name[Group1]= "Danish (US, with Danish letters)";
|
||||
+
|
||||
+ key <AE02> { [ NoSymbol, quotedbl, at, NoSymbol ] };
|
||||
+ key <AE03> { [ NoSymbol, NoSymbol, sterling, NoSymbol ] };
|
||||
+ key <AE05> { [ NoSymbol, NoSymbol, EuroSign, NoSymbol ] };
|
||||
+ key <AE07> { [ NoSymbol, NoSymbol, braceleft, NoSymbol ] };
|
||||
+ key <AE08> { [ NoSymbol, NoSymbol, bracketleft, NoSymbol ] };
|
||||
+ key <AE09> { [ NoSymbol, NoSymbol, bracketright, NoSymbol ] };
|
||||
+ key <AE10> { [ NoSymbol, NoSymbol, braceright, NoSymbol ] };
|
||||
+ key <AE12> { [ NoSymbol, NoSymbol, dead_acute, dead_grave ] };
|
||||
+
|
||||
+ key <AD09> { [ NoSymbol, NoSymbol, braceleft, NoSymbol ] };
|
||||
+ key <AD10> { [ NoSymbol, NoSymbol, braceright, NoSymbol ] };
|
||||
+ key <AD03> { [ NoSymbol, NoSymbol, braceleft, NoSymbol ] };
|
||||
+ key <AD04> { [ NoSymbol, NoSymbol, braceright, NoSymbol ] };
|
||||
+ key <AD11> { [ aring, Aring, bracketleft, braceleft ] };
|
||||
+ key <AD12> { [ apostrophe, quotedbl, bracketright, braceright ] };
|
||||
+
|
||||
+ key <AC03> { [ NoSymbol, NoSymbol, bracketleft, NoSymbol ] };
|
||||
+ key <AC04> { [ NoSymbol, NoSymbol, bracketright, NoSymbol ] };
|
||||
+ key <AC10> { [ ae, AE, semicolon, colon ] };
|
||||
+ key <AC11> { [ oslash, Ooblique, apostrophe, quotedbl ] };
|
||||
+
|
||||
+ key <AB01> { [ NoSymbol, NoSymbol, less, NoSymbol ] };
|
||||
+ key <AB02> { [ NoSymbol, NoSymbol, greater, NoSymbol ] };
|
||||
+ key <AB03> { [ NoSymbol, NoSymbol, parenleft, NoSymbol ] };
|
||||
+ key <AB04> { [ NoSymbol, NoSymbol, parenright, NoSymbol ] };
|
||||
+ key <AB08> { [ NoSymbol, semicolon, less, NoSymbol ] };
|
||||
+ key <AB09> { [ NoSymbol, colon, greater, NoSymbol ] };
|
||||
+
|
||||
+ include "eurosign(5)"
|
||||
+ include "eurosign(e)"
|
||||
+
|
||||
+ include "level3(ralt_switch)"
|
||||
+};
|
Reference in a new issue