Gentoo Archives: gentoo-user

From: ABCD <en.ABCD@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: DontZap and Ctrl+Alt+Bs
Date: Fri, 24 Jul 2009 20:36:23
Message-Id: h4d5va$478$1@ger.gmane.org
In Reply to: Re: [gentoo-user] DontZap and Ctrl+Alt+Bs by Skippy
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA1
3
4 Skippy wrote:
5
6 >
7 >
8 >
9 > Greetings, I'm having exactly the same problem and have been trying to
10 > fix it.
11 >
12 > Could you please specify where in xorg.conf you placed
13 >
14 > setxkbmap -option terminate:ctrl_alt_bksp
15 >
16 > And where is the hal configuration file you inserted
17 >
18 > input.xkb.options terminate:ctrl_alt_bksp
19 >
20 > Thanks so very much, this is driving me nuts!
21 >
22 > Skippy
23 >
24 >
25 >
26 > On Fri, 24 Jul 2009 11:44:59 +0300 (EEST)
27 > Igor Nemilentsev <trezorg@×××××.com> wrote the words:
28 >
29 >>
30 >> On Fri, 24 Jul 2009, Helmut Jarausch wrote:
31 >> > AFAIK, the DontZap option applies to the key sequences
32 >> > <Alt> <Fx> to switch to a different terminal.
33 >> No, the Ctrl+Alt+Fn sequence behaviour is changed
34 >> with the option
35 >> Option "DontVTSwitch"
36 >>
37 >> > I have the same problem here (same configuration), i.e.
38 >> > <Ctrl><Alt><Del> doesn't work.
39 >> >
40 >> > If you can't exit via your window manager anymore,
41 >> > I think, Neil Bothwick has posted the following advice
42 >> > some days ago:
43 >> I figured out to return old style I need this command:
44 >>
45 >> setxkbmap -option terminate:ctrl_alt_bksp
46 >>
47 >> Or add
48 >> input.xkb.options terminate:ctrl_alt_bksp
49 >> in configuration file of hal.
50 >>
51 >> Thanks for the advice.
52 >>
53 >> Regards, Nemilentsev Igor
54 >>
55
56 I'm not sure how it goes in xorg.conf, as I no longer use that to configure
57 my keyboard driver (as I use "evdev", which is configured using HAL.
58
59 If you are using the "evdev" driver, then you need to edit HAL's config. To
60 do so, create a new file /etc/hal/fdi/policy/10-x11-input.fdi (or any other
61 name in that directory that ends in ".fdi", they are checked in ASCIIbetical
62 order, so "99-local.fdi" is used near the end...), and modify the following
63 to match your own preferences:
64
65 - ----8<----
66
67 <?xml version="1.0" encoding="UTF-8"?>
68 <deviceinfo version="0.2">
69 <match key="info.capabilities" contains="input.keys">
70 <merge key="input.x11_driver" type="string">evdev</merge>
71 <merge key="input.x11_options.XkbModel" type="string">evdev</merge>
72 <merge key="input.x11_options.XkbLayout" type="string">us</merge>
73 <merge key="input.x11_options.XkbVariant" type="string"></merge>
74 <merge key="input.x11_options.XkbOptions"
75 type="string">terminate:ctrl_alt_bksp</merge>
76 </match
77 </deviceinfo>
78
79 - ----8<----
80
81 The format is a simple XML file, so it shouldn't be too hard to
82 -----BEGIN PGP SIGNATURE-----
83 Version: GnuPG v2.0.11 (GNU/Linux)
84
85 iEYEARECAAYFAkpqGyUACgkQOypDUo0oQOpyVQCcDo8cSHthDBZ1g1SAUsj+B+vr
86 NUkAoINROLJSY49ZWgLvfajjaxrSMVGR
87 =wgHr
88 -----END PGP SIGNATURE-----