Skip to content

eliasaronson/US-keyboard-with-Swedish-letters

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

US keyboard with Swedish letters

US layout but with access to åäö by using 'ALT + ;', 'ALT + "' and 'ALT + ['.

Installation

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.

Automatic

  1. Clone this repo.
git clone https://github.com/eliasaronson/US-keyboard-with-Swedish-letters.git && US-keyboard-with-Swedish-letters
  1. Run the install-script. This changes keyboard system files and requires superuser privilege.
./install.sh
  1. To activate the new layout, run:
setxkbmap -layout se -variant US_swe

Manual

  1. Clone this repo.
git clone https://github.com/eliasaronson/US-keyboard-with-Swedish-letters.git && US-keyboard-with-Swedish-letters
  1. Add the contents of key_map.txt to the end of /usr/share/X11/xkb/symbols/se.

  2. 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>
  1. Add the following variant below .
<variant>
  <configItem>
    <name>US_swe</name>
    <description>US (Swedish)</description>
  </configItem>
</variant>
  1. After the line "! variant" in the file /usr/share/X11/xkb/rules/evdev.lst * add the following:
US_swe		se: US (Swedish)
  1. To activate the new layout, run:
setxkbmap -layout se -variant US_swe

Notes

  • 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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages