help-guix
[Top][All Lists]
Advanced

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

Re: keyboard layout and system locale


From: Catonano
Subject: Re: keyboard layout and system locale
Date: Sun, 18 Mar 2018 18:58:54 +0100



2018-03-17 16:01 GMT+01:00 Diego Nicola Barbato <address@hidden>:
Hello Catonano

Catonano <address@hidden> writes:

> Can I set up the keyboard layout and my system locale (Italian) for my Gnome desktop in my conf.scm file ?
>
> Otherwise I have to click around in every throaway virtual machine I create in order to be able to use the desktop environment
>
> Thanks

To set the keyboard layout in my config.scm I replaced %desktop-services
with this:

(modify-services %desktop-services
 (slim-service-type config =>
                    (slim-configuration
                     (inherit config)
                     (startx (xorg-start-command
                              #:configuration-file
                              (xorg-configuration-file
                               ;; Setup X to use a swiss german keyboard layout.
                               #:extra-config
                               '("Section \"InputClass\"
        Identifier \"keyboard-all\"
        Option \"XkbLayout\" \"ch\" ; <~ replace \"ch\" with \"it\"

Ok, the semicolon is illegal Xorg syntax and made the server crash !!

Now something else happens

Slim shows up properly, but after the login, the login command fails
Here's a picture
https://imgur.com/a/Ul1Ie


reply via email to

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