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