[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] services: 'console-keymap-service' takes multiple files.

From: Albin
Subject: Re: [PATCH] services: 'console-keymap-service' takes multiple files.
Date: Fri, 15 Apr 2016 22:19:28 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Icedove/38.6.0

Den 2016-04-15 kl. 18:10, skrev Alex Kost:
> Ludovic Courtès (2016-04-14 00:23 +0300) wrote:
>> Alex Kost <address@hidden> skribis:
>>> From 8c58974b549479a8e97cf64f21393aa495596e13 Mon Sep 17 00:00:00 2001
>>> From: Alex Kost <address@hidden>
>>> 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
>>> address@hidden command.  Most likely, you want to load some default
>>> +keymap, which can be done like this:
>>> +
>>> address@hidden
>>> +(console-keymap-service "dvorak")
>>> address@hidden 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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]