1 |
Alan McKinnon wrote: |
2 |
> On Tuesday 27 October 2009 00:45:07 Mick wrote: |
3 |
> |
4 |
>> I have been trying to get this to work for some time now. I have followed |
5 |
>> this upgrade guide and modified my |
6 |
>> |
7 |
>> /etc/hal/fdi/policy/10-xinput-configuration.fdi |
8 |
>> |
9 |
>> to include |
10 |
>> |
11 |
>> <merge key="input.xkb.options" |
12 |
>> type="string">terminate:ctrl_alt_bksp</merge> |
13 |
>> |
14 |
>> This didn't work, so I looked further and found out that the |
15 |
>> input.xkb.options is deprecated and instead I should use: |
16 |
>> |
17 |
>> <merge key="input.x11_options.XkbOptions" |
18 |
>> type="string">terminate:ctrl_alt_bksp</merge> |
19 |
>> |
20 |
>> as detailed in here: |
21 |
>> |
22 |
>> http://cgit.freedesktop.org/xorg/xserver/tree/config/x11-input.fdi |
23 |
>> |
24 |
>> Anyway, neither will work. Is there any other syntax I should try, or is |
25 |
>> perhaps 10-xinput-configuration.fdi the wrong file for this? |
26 |
>> |
27 |
>> |
28 |
> |
29 |
> This config works for me: |
30 |
> |
31 |
> $ cat /etc/hal/fdi/policy/10-x11-input.fdi |
32 |
> <?xml version="1.0" encoding="ISO-8859-1"?> |
33 |
> <deviceinfo version="0.2"> |
34 |
> <device> |
35 |
> |
36 |
> <!-- KVM emulates a USB graphics tablet which works in absolute coordinate |
37 |
> mode --> |
38 |
> <match key="input.product" contains="QEMU USB Tablet"> |
39 |
> <merge key="input.x11_driver" type="string">evdev</merge> |
40 |
> </match> |
41 |
> |
42 |
> <!-- FIXME: Support tablets too. --> |
43 |
> <match key="info.capabilities" contains="input.mouse"> |
44 |
> <merge key="input.x11_driver" type="string">mouse</merge> |
45 |
> <match key="/org/freedesktop/Hal/devices/computer:system.kernel.name" |
46 |
> string="Linux"> |
47 |
> <merge key="input.x11_driver" type="string">evdev</merge> |
48 |
> </match> |
49 |
> </match> |
50 |
> |
51 |
> <match key="info.capabilities" contains="input.tablet"> |
52 |
> <match key="/org/freedesktop/Hal/devices/computer:system.kernel.name" |
53 |
> string="Linux"> |
54 |
> <merge key="input.x11_driver" type="string">evdev</merge> |
55 |
> </match> |
56 |
> </match> |
57 |
> |
58 |
> <match key="info.capabilities" contains="input.touchpad"> |
59 |
> <merge key="input.x11_driver" type="string">mouse</merge> |
60 |
> <match key="/org/freedesktop/Hal/devices/computer:system.kernel.name" |
61 |
> string="Linux"> |
62 |
> <merge key="input.x11_driver" type="string">evdev</merge> |
63 |
> </match> |
64 |
> </match> |
65 |
> |
66 |
> <match key="info.capabilities" contains="input.keys"> |
67 |
> <!-- If we're using Linux, we use evdev by default (falling back to |
68 |
> keyboard otherwise). --> |
69 |
> <merge key="input.x11_driver" type="string">keyboard</merge> |
70 |
> <match key="/org/freedesktop/Hal/devices/computer:system.kernel.name" |
71 |
> string="Linux"> |
72 |
> <merge key="input.x11_driver" type="string">evdev</merge> |
73 |
> <merge key="input.xkb.options" |
74 |
> type="string">terminate:ctrl_alt_bksp</merge> |
75 |
> </match> |
76 |
> </match> |
77 |
> </device> |
78 |
> </deviceinfo> |
79 |
> |
80 |
> |
81 |
> |
82 |
|
83 |
You just got to love that hal. All that when one line does it in |
84 |
xorg.conf. Yep, it's a serious improvement over the old way. LOL |
85 |
|
86 |
Dale |
87 |
|
88 |
:-) :-) |
89 |
|
90 |
P. S. This was meant to be funny. Note the LOL at the end. |