unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Diego Nicola Barbato <dnbarbato@posteo.de>
To: Tanguy Le Carrour <tanguy@bioneland.org>
Cc: Guix <guix-devel@gnu.org>
Subject: Re: SLiM graphical login manager and keyboard layout
Date: Fri, 18 Oct 2019 18:57:30 +0200	[thread overview]
Message-ID: <87a79y2dqd.fsf@GlaDOS.home> (raw)
In-Reply-To: <20191018161122.2sryulubzaiozfto@rafflesia> (Tanguy Le Carrour's message of "Fri, 18 Oct 2019 18:11:22 +0200")

Tanguy Le Carrour <tanguy@bioneland.org> writes:

> Hi Diego!
>
>
> Le 10/18, Diego Nicola Barbato a écrit :
>> You can set the keyboard layout directly in the slim-configuration like
>> this:
>> --8<---------------cut here---------------start------------->8---
>> (service slim-service-type
>>          (slim-configuration
>>           (xorg-configuration
>>            (keyboard-layout keyboard-layout))))
>> --8<---------------cut here---------------end--------------->8---
>
> I have a slightly different version that works!

That's because mine doesn't make sense (sorry!).  I've messed it up when
adapting it from my own config.scm.

>            (service slim-service-type
>              (slim-configuration
>               (xorg-configuration
>                (xorg-configuration
>                 (keyboard-layout keyboard-layout))))))
>
>
> I don't understand the "double" `xorg-configuration`, though! ^_^'

The outer 'xorg-configuration' is a field of the 'slim-configuration'
data type.  The inner 'xorg-configuration' is itself a data type
representing the Xorg configuration (with its 'keyboard-layout' field
set to the value of 'keyboard-layout').

If you look at the section 'X Window' in the Guix manual, you'll see
that the default value for the 'xorg-configuration' field (of the
'slim-configuration' data type) is '(xorg-configuration)', which is
simply the 'xorg-configuration' data type with all its fields set to
their respective default values.

HTH,

Diego

  reply	other threads:[~2019-10-18 16:57 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-18 12:33 SLiM graphical login manager and keyboard layout Tanguy Le Carrour
2019-10-18 14:40 ` Joshua Branson
2019-10-18 15:36   ` Tanguy Le Carrour
2019-10-18 14:55 ` Alex Griffin
2019-10-18 15:57   ` Tanguy Le Carrour
2019-10-18 16:03 ` Diego Nicola Barbato
2019-10-18 16:11   ` Tanguy Le Carrour
2019-10-18 16:57     ` Diego Nicola Barbato [this message]
2019-10-21  7:24       ` Tanguy Le Carrour
2019-10-22 12:36         ` Ludovic Courtès
2019-10-23  7:32           ` Tanguy Le Carrour

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87a79y2dqd.fsf@GlaDOS.home \
    --to=dnbarbato@posteo.de \
    --cc=guix-devel@gnu.org \
    --cc=tanguy@bioneland.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).