1 |
On Wednesday 21 October 2015 15:51:43 Alan Mackenzie wrote: |
2 |
>Hello, Gentoo. |
3 |
> |
4 |
>The two keyboard layouts I use in XFCE are both fine and dandy, but they |
5 |
>are incomplete. In particular, I want the key combination |
6 |
><Ctrl><Alt><shift><F1> to take me to tty13 in the same way that |
7 |
><Ctrl><Alt><F1> takes me to tty1. |
8 |
> |
9 |
>I've been searching for _hours_ trying to find out how to do this. I |
10 |
>cannot find the keyboard layouts anywhere under /usr/share, where one |
11 |
>might expect them. I can't find any relevant programs to manipulate |
12 |
>these data files with, even if I could find them. |
13 |
> |
14 |
>Would somebody help me please. Where are the X keyboard layouts stored, |
15 |
>and what program to I need to enhance them? |
16 |
> |
17 |
>TIA! |
18 |
|
19 |
I was curious, so I looked a bit myself, and found this: |
20 |
|
21 |
% ag ctrl-alt-f /usr/share/doc |
22 |
/usr/share/doc/kbd-1.15.5-r1/html/kbd.FAQ-7.html |
23 |
21:<P>By default, console switching is done using Alt-Fn or Ctrl-Alt-Fn. |
24 |
22:Under <CODE>X</CODE> (or recent versions of <CODE>dosemu</CODE>), only |
25 |
Ctrl-Alt-Fn works. |
26 |
|
27 |
/usr/share/doc/kbd-1.15.5-r1/html/kbd.FAQ-8.html |
28 |
54:Console_n Alt-Fn and Ctrl-Alt-Fn (1 <= n <= 12) |
29 |
82:Ctrl-Alt-Fn Switch to VT n |
30 |
115:Ctrl-Alt-Fn Switch to VT n (from version 0.50; earlier Alt-Fn) |
31 |
|
32 |
/usr/share/doc/kbd-1.15.5-r1/html/kbd.FAQ-13.html |
33 |
28:While it is running one can use Ctrl-Alt-Fn to switch to VTn. |
34 |
|
35 |
/usr/share/doc/kbd-1.15.5-r1/html/kbd.FAQ-9.html |
36 |
41:However, Ctrl-Alt-Fn will work and you can go to another VT. |
37 |
|
38 |
/usr/share/doc/libsdl-1.2.15-r9/html/docs.html |
39 |
631: The framebuffer console now uses CTRL-ALT-FN to switch virtual |
40 |
terminals, to avoid collisions with application key bindings. |
41 |
|
42 |
(Online here: http://kbd-project.org/www.win.tue.nl/~aeb/linux/kbd/) |
43 |
|
44 |
(For those who haven't heard of it: ag is from sys-apps/the_silver_searcher.) |
45 |
|
46 |
From a cursory look, I couldn't find anything specific, other than that |
47 |
apparently AltGr+Fn is supposed to give you console n+12 (though apparently |
48 |
not from within X), but it didn't work for me, and I'm not in the mood to find |
49 |
out why. Also, that FAQ looks... dated. However, maybe it will help lead you |
50 |
to a solution? |
51 |
|
52 |
Also, while I'm sure you've got a good reason for doing this, I'm really |
53 |
curious: why not use screen or tmux instead? Especially if you're dealing |
54 |
with more than twelve terminals. |
55 |
|
56 |
HTH |
57 |
-- |
58 |
Marc Joliet |
59 |
-- |
60 |
"People who think they know everything really annoy those of us who know we |
61 |
don't" - Bjarne Stroustrup |