From: Marc Joliet <marcec@gmx.de>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] How do I change an X keyboard layout?
Date: Wed, 21 Oct 2015 21:21:07 +0200 [thread overview]
Message-ID: <2288221.DWPXYPyi4K@thetick> (raw)
In-Reply-To: <20151021155143.GE2608@acm.fritz.box>
[-- Attachment #1: Type: text/plain, Size: 2490 bytes --]
On Wednesday 21 October 2015 15:51:43 Alan Mackenzie wrote:
>Hello, Gentoo.
>
>The two keyboard layouts I use in XFCE are both fine and dandy, but they
>are incomplete. In particular, I want the key combination
><Ctrl><Alt><shift><F1> to take me to tty13 in the same way that
><Ctrl><Alt><F1> takes me to tty1.
>
>I've been searching for _hours_ trying to find out how to do this. I
>cannot find the keyboard layouts anywhere under /usr/share, where one
>might expect them. I can't find any relevant programs to manipulate
>these data files with, even if I could find them.
>
>Would somebody help me please. Where are the X keyboard layouts stored,
>and what program to I need to enhance them?
>
>TIA!
I was curious, so I looked a bit myself, and found this:
% ag ctrl-alt-f /usr/share/doc
/usr/share/doc/kbd-1.15.5-r1/html/kbd.FAQ-7.html
21:<P>By default, console switching is done using Alt-Fn or Ctrl-Alt-Fn.
22:Under <CODE>X</CODE> (or recent versions of <CODE>dosemu</CODE>), only
Ctrl-Alt-Fn works.
/usr/share/doc/kbd-1.15.5-r1/html/kbd.FAQ-8.html
54:Console_n Alt-Fn and Ctrl-Alt-Fn (1 <= n <= 12)
82:Ctrl-Alt-Fn Switch to VT n
115:Ctrl-Alt-Fn Switch to VT n (from version 0.50; earlier Alt-Fn)
/usr/share/doc/kbd-1.15.5-r1/html/kbd.FAQ-13.html
28:While it is running one can use Ctrl-Alt-Fn to switch to VTn.
/usr/share/doc/kbd-1.15.5-r1/html/kbd.FAQ-9.html
41:However, Ctrl-Alt-Fn will work and you can go to another VT.
/usr/share/doc/libsdl-1.2.15-r9/html/docs.html
631: The framebuffer console now uses CTRL-ALT-FN to switch virtual
terminals, to avoid collisions with application key bindings.
(Online here: http://kbd-project.org/www.win.tue.nl/~aeb/linux/kbd/)
(For those who haven't heard of it: ag is from sys-apps/the_silver_searcher.)
From a cursory look, I couldn't find anything specific, other than that
apparently AltGr+Fn is supposed to give you console n+12 (though apparently
not from within X), but it didn't work for me, and I'm not in the mood to find
out why. Also, that FAQ looks... dated. However, maybe it will help lead you
to a solution?
Also, while I'm sure you've got a good reason for doing this, I'm really
curious: why not use screen or tmux instead? Especially if you're dealing
with more than twelve terminals.
HTH
--
Marc Joliet
--
"People who think they know everything really annoy those of us who know we
don't" - Bjarne Stroustrup
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
next prev parent reply other threads:[~2015-10-21 19:21 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-21 15:51 [gentoo-user] How do I change an X keyboard layout? Alan Mackenzie
2015-10-21 19:21 ` Marc Joliet [this message]
2015-10-22 10:09 ` Alan Mackenzie
2015-10-22 10:15 ` Alan McKinnon
2015-10-22 10:55 ` Marc Joliet
2015-10-22 20:25 ` Alan Mackenzie
2015-10-23 8:52 ` Peter Humphrey
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=2288221.DWPXYPyi4K@thetick \
--to=marcec@gmx.de \
--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