US layout but with access to åäö by using 'ALT + ;', 'ALT + "' and 'ALT + ['.
There are two installation methods, a manual and an automatic one which performs the same tasks as the manual steps. The install-script has been tested on Arch and Ubuntu, but I give no garanties and takes no responsibility if something breaks.
- Clone this repo.
git clone https://github.com/eliasaronson/US-keyboard-with-Swedish-letters.git && US-keyboard-with-Swedish-letters
- Run the install-script. This changes keyboard system files and requires superuser privilege.
./install.sh
- To activate the new layout, run:
setxkbmap -layout se -variant US_swe
- Clone this repo.
git clone https://github.com/eliasaronson/US-keyboard-with-Swedish-letters.git && US-keyboard-with-Swedish-letters
-
Add the contents of key_map.txt to the end of /usr/share/X11/xkb/symbols/se.
-
Look up the following section in the file /usr/share/X11/xkb/rules/evdev.xml:
<layout>
<configItem>
<name>se</name>
<shortDescription>Swe</shortDescription>
<description>Sweden</description>
<languageList><iso639Id>swe</iso639Id></languageList>
</configItem>
<variantList>
- Add the following variant below .
<variant>
<configItem>
<name>US_swe</name>
<description>US (Swedish)</description>
</configItem>
</variant>
- After the line "! variant" in the file /usr/share/X11/xkb/rules/evdev.lst * add the following:
US_swe se: US (Swedish)
- To activate the new layout, run:
setxkbmap -layout se -variant US_swe
- On some older systems, the path to evdev.lst is /usr/share/X11/skb/rules/evdev.lst instead.
- If you want to customize the keys, all mappings are set in key_map.txt.