unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Catonano <catonano@gmail.com>
To: Diego Nicola Barbato <dnbarbato@posteo.de>
Cc: help-guix <help-guix@gnu.org>
Subject: Re: keyboard layout and system locale
Date: Tue, 20 Mar 2018 22:14:49 +0100	[thread overview]
Message-ID: <CAJ98PDz3ce_1fdKBXGS=_eAsu=Xx+bPxEaTyAouEUrxtbrou2w@mail.gmail.com> (raw)
In-Reply-To: <87d10042sz.fsf@GlaDOS.home>

[-- Attachment #1: Type: text/plain, Size: 2142 bytes --]

2018-03-19 14:23 GMT+01:00 Diego Nicola Barbato <dnbarbato@posteo.de>:

> Hello Catonano
>
> Catonano <catonano@gmail.com> writes:
>
> > 2018-03-18 18:58 GMT+01:00 Catonano <catonano@gmail.com>:
> >
> >  2018-03-17 16:01 GMT+01:00 Diego Nicola Barbato <dnbarbato@posteo.de>:
> >
> >  Hello Catonano
> >
> >  Catonano <catonano@gmail.com> 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 !!
>
> I am sorry.  I meant to write a comment to explain which entry you
> should replace and forgot that my "comment" was still inside the
> string.  Everything after and including the semicolon is not supposed to
> be there.  I apologise for this silly mistake.
>

No need to apologize, I was not blaming you
Sorry if that came out the wrong way !



> I wrote an example config (based on the one you posted) and verified
> that it works both with `guix system vm-image' and `guix system init'
> (after modifying the target hard disk) and that the X server does not
> crash:
>
> Unfortunately GNOME overrides the system wide keyboard settings.  So
> this only addresses your initial concern if you use Xfce.
>

That's something ;-)

For now I used the VMs to open 2 bugs related to Gnome.
There's an "ibus" thing not working
And a control panel crashing

Didn't test your new file yet, I'll let you know !!

Thanks !

[-- Attachment #2: Type: text/html, Size: 3308 bytes --]

  reply	other threads:[~2018-03-20 21:14 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-03-17  6:40 keyboard layout and system locale Catonano
2018-03-17  9:20 ` hub.lombard
2018-03-17  9:56   ` Catonano
2018-03-17 10:27     ` hub.lombard
2018-03-17 15:01 ` Diego Nicola Barbato
2018-03-17 18:24   ` Catonano
2018-03-17 19:57     ` Catonano
2018-03-18 17:58   ` Catonano
2018-03-18 18:08     ` Catonano
2018-03-19 13:23       ` Diego Nicola Barbato
2018-03-20 21:14         ` Catonano [this message]
2018-03-19  3:59 ` Chris Marusich
2018-03-19 13:38   ` ng0
2018-03-20 22:19     ` Catonano

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='CAJ98PDz3ce_1fdKBXGS=_eAsu=Xx+bPxEaTyAouEUrxtbrou2w@mail.gmail.com' \
    --to=catonano@gmail.com \
    --cc=dnbarbato@posteo.de \
    --cc=help-guix@gnu.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.
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).