From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 32C6E13888F for ; Thu, 22 Oct 2015 10:55:27 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5700821C027; Thu, 22 Oct 2015 10:55:14 +0000 (UTC) Received: from mout.gmx.net (mout.gmx.net [212.227.17.21]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 1F1BC21C005 for ; Thu, 22 Oct 2015 10:55:13 +0000 (UTC) Received: from thetick.localnet ([93.181.44.4]) by mail.gmx.com (mrgmx101) with ESMTPSA (Nemesis) id 0M6730-1aiaKj1acU-00yA5Y for ; Thu, 22 Oct 2015 12:55:11 +0200 From: Marc Joliet To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] How do I change an X keyboard layout? Date: Thu, 22 Oct 2015 12:55:05 +0200 Message-ID: <7859175.a3D6migec0@thetick> User-Agent: KMail/4.14.8 (Linux/4.1.9-gentoo-r1; KDE/4.14.8; x86_64; ; ) In-Reply-To: <20151022100911.GB2645@acm.fritz.box> References: <20151021155143.GE2608@acm.fritz.box> <2288221.DWPXYPyi4K@thetick> <20151022100911.GB2645@acm.fritz.box> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart13144147.X7772W8v6L"; micalg="pgp-sha256"; protocol="application/pgp-signature" X-Provags-ID: V03:K0:jrf/utgt0VoJ2GPAA4Z7RKCB3BNzGx8luKbQf5R/XzP8O1om1J3 ahG6ySXyuishju410ujRdrUX3EMcrvDdwanU+36Sc/SEyNUazrtiI4IQ8zVdROwKKcAqWPy 8ObxkjI2u/4AKPm8ZSHOlDFSDT/rk3xMVMZzVbzw6rk6qEs1xwuhVDmbmDBn/LOQLhkCAOG JpkQYqX23saJFpFwdgpHQ== X-UI-Out-Filterresults: notjunk:1;V01:K0:bbh+eanwj8Q=:czZ6IVzhgcdReYj/0SBqpj QPRiJWbntt7P7bFuWYtl6F8NZjhLx0R+e3Ig8zvvJwTf1u5NfhtM+f0OHZRfcNK4qMrapMxo3 iv41TwdpQ0Phh9dO5kRJoXBNq+JoIT21X8LtHjGWqrbK++dbn8BCJJZgmZxtr5x4SoPhfEsCH uEm/mTWPw6m8L7A+pOCk3BGVQmpROWoqy7z9l/WzHuzpvJN5iYIo/69HlxhlqJAZ/VmDZ6tQl qGMx5d0c7pcdLap99PUKWjgvGEmCu7QIqcOYqHEW+AeKAJ8e8XtExg/+dwu6b+pcacUav8qJQ JNpV07M5Mx+jjEdQ/Oq58Dzm79NKDmO2Lf99W3BKa6Qk3XC3jHnbRnPuyMPCbOAGaNkAHOZV9 4Mq0EoRBTLZqJrNr+XDHTfiA9n7HzlczCzUOjIotPIO+z0aABB9+8mN54phJWEbYKa70EKLUA gJBLSjgwTYOI5qDRj6e4SR/QfLYeA38lwSP9QG9921gYLEg+mp+hN82OkAyk2pGHRkdV2GFJv e41Ef9kFxFZafPNgtukLpOC+cGykNcxjeGU3z3AbF+sSCYIpcB02jENtwwEFYc60gWlx/xsfJ cmJvdBtynl6+GAacP1q6LTvFVxriFCbzMwjdWHM/7l6qALcfgvqnOTI/3uiqLxfDF4i7xMKmD Jp3w36O81mEVZxq8uJPXUTfqCP26A+BTs6MgpvO4kTE+rGQFFYAwOB00labTZ84ej6Nr9HvI1 46ubEXRxsgZEPwuGQhlk1P6VbVTK//SJEVcn25SaMhfkwno97uVzItCc9IY= X-Archives-Salt: 62799826-4390-4e52-b913-226c22eae34c X-Archives-Hash: 38cb6fa8cdaa863b9748b9a01f418809 --nextPart13144147.X7772W8v6L Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" On Thursday 22 October 2015 10:09:11 Alan Mackenzie wrote: >Hello, Marc. > >On Wed, Oct 21, 2015 at 09:21:07PM +0200, Marc Joliet wrote: >> On Wednesday 21 October 2015 15:51:43 Alan Mackenzie wrote: >> >The two keyboard layouts I use in XFCE are both fine and dandy, but= they >> >are incomplete. In particular, I want the key combination >> > to take me to tty13 in the same way that >> > 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 o= ne >> >might expect them. I can't find any relevant programs to manipulat= e >> >these data files with, even if I could find them. >> > >> >Would somebody help me please. Where are the X keyboard layouts st= ored, >> >and what program to I need to enhance them? >> > >> >TIA! >>=20 >> I was curious, so I looked a bit myself, and found this: >>=20 >> % ag ctrl-alt-f /usr/share/doc >> /usr/share/doc/kbd-1.15.5-r1/html/kbd.FAQ-7.html >> 21:

By default, console switching is done using Alt-Fn or Ctrl-Alt= =2DFn. >> 22:Under X (or recent versions of dosemu),= only >> Ctrl-Alt-Fn works. >>=20 >> /usr/share/doc/kbd-1.15.5-r1/html/kbd.FAQ-8.html >> 54:Console_n Alt-Fn and Ctrl-Alt-Fn (1 <=3D n <=3D 12) >> 82:Ctrl-Alt-Fn Switch to VT n >> 115:Ctrl-Alt-Fn Switch to VT n (from version 0.50; earlier Alt-F= n) >>=20 >> /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. >>=20 >> /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. >>=20 >> /usr/share/doc/libsdl-1.2.15-r9/html/docs.html >> 631: The framebuffer console now uses CTRL-ALT-FN to switch virtu= al >> terminals, to avoid collisions with application key bindings. >>=20 >> (Online here: http://kbd-project.org/www.win.tue.nl/~aeb/linux/kbd/)= > >Yes, I've got that file. It only really deals with the console >keyboard, though. Too bad, I was hoping that there might be a way of modifying the releva= nt X=20 key bindings. >> (For those who haven't heard of it: ag is from >> sys-apps/the_silver_searcher.) >>=20 >> From a cursory look, I couldn't find anything specific, other than t= hat >> apparently AltGr+Fn is supposed to give you console n+12 (though app= arently >> not from within X), but it didn't work for me, and I'm not in the mo= od to >> find out why. Also, that FAQ looks... dated. However, maybe it wil= l help >> lead you to a solution? > >I think I'm going to have to exercise my meagre search engine skills. > >> Also, while I'm sure you've got a good reason for doing this, I'm re= ally >> curious: why not use screen or tmux instead? Especially if you're d= ealing >> with more than twelve terminals. > >I've never really considered screen (or tmux). Screen looks like a wa= y >of "windowising" a tty, amongst other things, which isn't what I want.= >In fact, reading the Wikipedia article, I'm not even clear whether >screen runs on a virtual terminal or within X. (Note: personally, I recommend tmux over screen, unless you fall into o= ne of=20 the niches that only screen supports.) As Alan said, they are normal programs that run in a shell. You can ac= cess=20 their sessions from X, a linux console, and/or SSH simultaneously (tmux= =20 shrinks the view to the lowest common denominator automatically, e.g., = to the=20 size of a laptop screen). You can split windows (much like Vim; tmux h= as Vi=20 key bindings, BTW), interactively select windows, scroll back and searc= h=20 through a buffer, etc. pp.. I find it much superior to dealing with "physical" terminals (at least=20= exclusively). (Oh, and you can detach from a session and let it run in the background= =20 without staying logged in, i.e., tmux and screen can daemonize.) >No, what I really want is a way to go from X (XFCE for me) directly to= >any virtual terminal. At the moment, if I want to go to, say, tty14, >I've first got to go to a lower numbered tty, and then to tty14. It's= >one of these little annoyances which is scarcely worth bothering about= , >but it _is_ an annoyance. If that's what you really want, then that's fine, I just wanted to pres= ent an=20 alternative. >I'll continue searching. Best of luck! >Thanks for the post! > >> HTH HTH =2D-=20 Marc Joliet =2D- "People who think they know everything really annoy those of us who kno= w we don't" - Bjarne Stroustrup --nextPart13144147.X7772W8v6L Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAABCAAGBQJWKMCOAAoJEL/Q5oYsiHj0UsQP/1jCUNxtCN/KRu2QU75W6nk3 y0zByogeqXP2nvLRL8xh2lKWsRy4w24RCaEbAY6YFSZSdU0hCu1k5Z4Ep+2CJCZL a17oMdUMCOf05TV+wClaRvPE5Bdy+GQ9PbM7lAKrr8ktBCz++qNi2gRJoVhpI+Kd cfh92M4bSMWAhAZY23j6ZkY7+vDC1vyyG/BrbBzPGZRVK4E/4n2eEE/PPBtNY3pr lE4R8270gAbTXPuW5g42V5N1K3RCe3vJskVMAI44LNZi8/ckjXfEh77lgy15lHbK TZ/JEoUYX6sw65gFLvc+taOrnIFg2r4YrtQ6oBoif6mKaaudoYoQ94NR5UWa2jt6 HHD1yIVfHCGzW8HL+A+ng4C0engCijMqQJAWIfSzbyEW42z0xoqk9TQwrUzQbThs pG5XO4bidpqMZRnrgsN+msXn7gnQJcaiUzgACsndkvgYEanXAtnIMh92zKVJOGL4 RtHJeWxDrvCv/FuStIF174+zYcTYtGDFcziFiKwTEJdumR4E2K7hSGqN77HNg+f/ AXLx4cykSM4FanjwRJRo/SXWn2lsMaefOYky4WLaFZEPu1wxmn2ID1nXZjDcv4f1 1MlagqrCmXxuWgxCnif1nmsm3+kf8uJI8eGpG540oEhHTwX6Oqfn6eXzbO3FD61z ZY7CYV0hQUwS/J/XHB70 =flfc -----END PGP SIGNATURE----- --nextPart13144147.X7772W8v6L--