Gentoo Archives: gentoo-user

From: Nikos Chantziaras <realnc@×××××.de>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: I want my Ctrl+Alt+Backspace back
Date: Sun, 18 Apr 2010 23:04:26
Message-Id: hqg0bd$isd$2@dough.gmane.org
In Reply to: Re: [gentoo-user] Re: I want my Ctrl+Alt+Backspace back by Mick
1 On 04/19/2010 12:47 AM, Mick wrote:
2 > On Sunday 18 April 2010 22:15:34 Nikos Chantziaras wrote:
3 >> On 04/19/2010 12:07 AM, Harry Putnam wrote:
4 >>> I've seen on this group some time back a few ways, or at least more
5 >>> than 1 as I recall to retain the ability to leave X with
6 >>> Ctrl+Alt_+BKSPC.
7 >>>
8 >>> I'm not finding it now readily.
9 >>>
10 >>> Can someone tell me where that setting may be made.
11 >>>
12 >>> If it has something to do with new way of starting X where we don't
13 >>> need an xorg.conf file... I should say that I still use
14 >>> /etc/X11/xorg.conf (In case that makes a difference)
15 >>>
16 >>> I find trying to leave X with the `logout' menu item provided on the
17 >>> Xfce4 destop, that if X has been running a while is seems to take a
18 >>> very long time to get out of X that way, and possibly not only long
19 >>> but even ever, short of:
20 >>>
21 >>> kill -TERM `ps wwaux|awk '/X.*\-nolisten tc[p]/{print $2}'`
22 >>>
23 >>> Or killing the pid some other way.
24 >>>
25 >>> The Ctrl+alt+bkspc was a much nicer fallback.
26 >>
27 >> The only way I could find that works was an option for it in KDE4's
28 >> keyboard layout settings. KDE was nice enough to explain what it is
29 >> doing under the hood though, which is adding:
30 >>
31 >> -option terminate:ctrl_alt_bksp
32 >>
33 >> to the "setxkbmap" command it uses to apply the keyboard settings.
34 >
35 > In your xorg.conf you need:
36 >
37 > Section "InputDevice"
38 > [snip ...]
39 > Option "XkbOptions" "terminate:ctrl_alt_bksp"
40 > EndSection
41 >
42 > The 'new' way of setting it up without a xorg.conf file is to set it up in
43 > your /etc/hal/fdi/policy/10-keymap.fdi like so:
44 >
45 > <merge key="input.xkb.options" type="string">terminate:ctrl_alt_bksp</merge>
46 >
47 > Read more details here:
48 >
49 > http://www.gentoo.org/proj/en/desktop/x/x11/xorg-server-1.6-upgrade-guide.xml
50
51 HAL is deprecated and will not be supported in X anymore, so it's not
52 the "new" way ;)

Replies

Subject Author
[gentoo-user] Re: I want my Ctrl+Alt+Backspace back Harry Putnam <reader@×××××××.com>