From: Mick <michaelkintzios@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] fighting over keyboard layouts
Date: Thu, 11 Aug 2011 23:04:47 +0100 [thread overview]
Message-ID: <201108112304.48705.michaelkintzios@gmail.com> (raw)
In-Reply-To: <20110811201459.GA7991@genestate.com>
[-- Attachment #1: Type: Text/Plain, Size: 1797 bytes --]
On Thursday 11 Aug 2011 21:14:59 Matt Harrison wrote:
> Hi list,
>
> I've just spent the last 4 days or so trying to get an old laptop up to
> date. It hasn't been sync'd for at least 8 months so you can imagine the
> hell it's been.
>
> Anyway, I've managed to get everything nicely updated but there's one
> problem that I just can't fix or find relevant discussion about.
>
> My /etc/conf.d/keymaps defines my keyboard layout as "uk" and this works
> fine in the console. Unfortunately, in gnome the keyboard is resolutely
> stuck on US. I can add the English UK layout in the keyboard preferences,
> and it looks fine when I first select it. However they layout doesn't
> change and when I "Show" the English UK layout, it shows a standard US
> layout.
>
> No matter what I do (which admittedly isn't very much as I don't know X
> stuff that well), I cannot get a decent keyboard layout in gnome.
>
> Any tips would be appreciated before I rip all the keys off and get the
> super glue out.
>
> Thanks
Edit your /etc/X11/xorg.conf and add something like this:
=====================================
Section "InputClass"
Identifier "keyboard catchall"
Driver "evdev"
MatchIsKeyboard "on"
MatchDevicePath "/dev/input/event*"
Option "XkbLayout" "gb"
Option "XkbOptions" "terminate:ctrl_alt_bksp"
EndSection
=====================================
Or add similar lines to /usr/share/X11/xorg.conf.d/10-evdev.conf;
Or copy your /usr/share/X11/xorg.conf.d/10-evdev.conf to
/etc/X11/xorg.conf.d/10-evdev.conf and then add the lines above.
PS. There may be a Gnome way of achieving the same, but I only have cursory
experience of Gnome so somebody else should advise on that.
--
Regards,
Mick
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
prev parent reply other threads:[~2011-08-11 22:05 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-08-11 20:14 [gentoo-user] fighting over keyboard layouts Matt Harrison
2011-08-11 21:36 ` [gentoo-user] " James
2011-08-11 22:00 ` [gentoo-user] " David W Noon
2011-08-11 21:06 ` Matt Harrison
2011-08-11 22:04 ` Mick [this message]
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=201108112304.48705.michaelkintzios@gmail.com \
--to=michaelkintzios@gmail.com \
--cc=gentoo-user@lists.gentoo.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