Den 2016-04-15 kl. 18:10, skrev Alex Kost: > Ludovic Courtès (2016-04-14 00:23 +0300) wrote: > >> Alex Kost <alez...@gmail.com> skribis: >> >>> From 8c58974b549479a8e97cf64f21393aa495596e13 Mon Sep 17 00:00:00 2001 >>> From: Alex Kost <alez...@gmail.com> >>> Date: Sat, 9 Apr 2016 00:21:15 +0300 >>> Subject: [PATCH] services: 'console-keymap-service' takes multiple files. >>> >>> * gnu/services/base.scm (console-keymap-service-type): Type procedure >>> takes a list of files instead of a single file. >>> (console-keymap-service): Take 'files' as rest arguments. >>> * doc/guix.texi (Base Services): Improve documentation of >>> 'console-keymap-service'. >> >> [...] >> >>> +Return a service to load console keymaps from @var{files} using >>> +@command{loadkeys} command. Most likely, you want to load some default >>> +keymap, which can be done like this: >>> + >>> +@example >>> +(console-keymap-service "dvorak") >>> +@end example >> >> Perhaps you could add the example from the IRC discussion you mentioned >> with a short explanation, just below this example? > > Would the following be OK? > > > > > Albin, does "loadkeys se-ir209 se-fi-ir209" do the right thing for you?
Yes. I tried it with the GuixSD USB installer on two different computers -- a macbook and a traditional desktop PC. > If I understood correctly this is the exact combination of keymaps that > suits your keyboard, right? Is it a general layout for Swedish > keyboards? It doesn't appear to be the only working combination. I also tried `loadkeys se-lat6 se-fi-lat6` which seems to produce the same result. Loading the first keymap (either 'se-ir209' or 'se-lat6') gives me the right keyboard except I get the Danish/Norwegian letters 'ø', 'æ' instead of the Swedish 'ö', 'ä' and certain characters, e.g. '/' and '+', are in the wrong place. Loading the second keymap (either 'se-fi-ir209' or 'se-fi-lat6') fixes that. There must be some minor difference between 'lat6' and 'ir209' but I couldn't see what that would be. In other words, using either `loadkeys se-ir209 se-fi-ir209` or `loadkeys se-lat6 se-fi-lat6` generates a general Swedish keyboard layout from what I can see. Albin