Archived
1
0
Fork 0

keyboard: Add ISO patch

This commit is contained in:
Casper V. Kristensen 2022-05-08 21:40:10 +02:00
parent c47036d6f8
commit a2c91ef60a
2 changed files with 10 additions and 0 deletions

View file

@ -7,6 +7,7 @@ US keyboard layout with Danish letters, and other additions.
```
sudo patch --directory=/ --strip=0 < {dk,evdev.xml,evdev.lst}.patch
```
For ISO keyboards, consider also applying `evdev_iso.patch` to swap the backslash and quote keys.
### Uninstall
Add the `--reverse` flag to the command.

9
keyboard/evdev_iso.patch Normal file
View file

@ -0,0 +1,9 @@
--- /usr/share/X11/xkb/keycodes/evdev 2019-02-11 20:25:45.000000000 +0100
+++ /usr/share/X11/xkb/keycodes/evdev 2022-05-08 21:30:48.566876978 +0200
@@ -36,4 +36,4 @@
<AD11> = 34;
- <AD12> = 35;
- <BKSL> = 51;
+ <AD12> = 51;
+ <BKSL> = 35;
alias <AC12> = <BKSL>;