Gentoo Archives: gentoo-user

From: Alan McKinnon <alan.mckinnon@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Ctrl+Alt+bksp in Xorg
Date: Mon, 26 Oct 2009 23:08:45
Message-Id: 200910270107.37306.alan.mckinnon@gmail.com
In Reply to: [gentoo-user] Ctrl+Alt+bksp in Xorg by Mick
1 On Tuesday 27 October 2009 00:45:07 Mick wrote:
2 > I have been trying to get this to work for some time now. I have followed
3 > this upgrade guide and modified my
4 >
5 > /etc/hal/fdi/policy/10-xinput-configuration.fdi
6 >
7 > to include
8 >
9 > <merge key="input.xkb.options"
10 > type="string">terminate:ctrl_alt_bksp</merge>
11 >
12 > This didn't work, so I looked further and found out that the
13 > input.xkb.options is deprecated and instead I should use:
14 >
15 > <merge key="input.x11_options.XkbOptions"
16 > type="string">terminate:ctrl_alt_bksp</merge>
17 >
18 > as detailed in here:
19 >
20 > http://cgit.freedesktop.org/xorg/xserver/tree/config/x11-input.fdi
21 >
22 > Anyway, neither will work. Is there any other syntax I should try, or is
23 > perhaps 10-xinput-configuration.fdi the wrong file for this?
24 >
25
26 This config works for me:
27
28 $ cat /etc/hal/fdi/policy/10-x11-input.fdi
29 <?xml version="1.0" encoding="ISO-8859-1"?>
30 <deviceinfo version="0.2">
31 <device>
32
33 <!-- KVM emulates a USB graphics tablet which works in absolute coordinate
34 mode -->
35 <match key="input.product" contains="QEMU USB Tablet">
36 <merge key="input.x11_driver" type="string">evdev</merge>
37 </match>
38
39 <!-- FIXME: Support tablets too. -->
40 <match key="info.capabilities" contains="input.mouse">
41 <merge key="input.x11_driver" type="string">mouse</merge>
42 <match key="/org/freedesktop/Hal/devices/computer:system.kernel.name"
43 string="Linux">
44 <merge key="input.x11_driver" type="string">evdev</merge>
45 </match>
46 </match>
47
48 <match key="info.capabilities" contains="input.tablet">
49 <match key="/org/freedesktop/Hal/devices/computer:system.kernel.name"
50 string="Linux">
51 <merge key="input.x11_driver" type="string">evdev</merge>
52 </match>
53 </match>
54
55 <match key="info.capabilities" contains="input.touchpad">
56 <merge key="input.x11_driver" type="string">mouse</merge>
57 <match key="/org/freedesktop/Hal/devices/computer:system.kernel.name"
58 string="Linux">
59 <merge key="input.x11_driver" type="string">evdev</merge>
60 </match>
61 </match>
62
63 <match key="info.capabilities" contains="input.keys">
64 <!-- If we're using Linux, we use evdev by default (falling back to
65 keyboard otherwise). -->
66 <merge key="input.x11_driver" type="string">keyboard</merge>
67 <match key="/org/freedesktop/Hal/devices/computer:system.kernel.name"
68 string="Linux">
69 <merge key="input.x11_driver" type="string">evdev</merge>
70 <merge key="input.xkb.options"
71 type="string">terminate:ctrl_alt_bksp</merge>
72 </match>
73 </match>
74 </device>
75 </deviceinfo>
76
77
78 --
79 alan dot mckinnon at gmail dot com

Replies

Subject Author
Re: [gentoo-user] Ctrl+Alt+bksp in Xorg Dale <rdalek1967@×××××.com>
Re: [gentoo-user] Ctrl+Alt+bksp in Xorg Mick <michaelkintzios@×××××.com>