From: Dale <rdalek1967@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Ctrl+Alt+bksp in Xorg
Date: Mon, 26 Oct 2009 18:24:32 -0500 [thread overview]
Message-ID: <4AE62FB0.407@gmail.com> (raw)
In-Reply-To: <200910270107.37306.alan.mckinnon@gmail.com>
Alan McKinnon wrote:
> On Tuesday 27 October 2009 00:45:07 Mick wrote:
>
>> I have been trying to get this to work for some time now. I have followed
>> this upgrade guide and modified my
>>
>> /etc/hal/fdi/policy/10-xinput-configuration.fdi
>>
>> to include
>>
>> <merge key="input.xkb.options"
>> type="string">terminate:ctrl_alt_bksp</merge>
>>
>> This didn't work, so I looked further and found out that the
>> input.xkb.options is deprecated and instead I should use:
>>
>> <merge key="input.x11_options.XkbOptions"
>> type="string">terminate:ctrl_alt_bksp</merge>
>>
>> as detailed in here:
>>
>> http://cgit.freedesktop.org/xorg/xserver/tree/config/x11-input.fdi
>>
>> Anyway, neither will work. Is there any other syntax I should try, or is
>> perhaps 10-xinput-configuration.fdi the wrong file for this?
>>
>>
>
> This config works for me:
>
> $ cat /etc/hal/fdi/policy/10-x11-input.fdi
> <?xml version="1.0" encoding="ISO-8859-1"?>
> <deviceinfo version="0.2">
> <device>
>
> <!-- KVM emulates a USB graphics tablet which works in absolute coordinate
> mode -->
> <match key="input.product" contains="QEMU USB Tablet">
> <merge key="input.x11_driver" type="string">evdev</merge>
> </match>
>
> <!-- FIXME: Support tablets too. -->
> <match key="info.capabilities" contains="input.mouse">
> <merge key="input.x11_driver" type="string">mouse</merge>
> <match key="/org/freedesktop/Hal/devices/computer:system.kernel.name"
> string="Linux">
> <merge key="input.x11_driver" type="string">evdev</merge>
> </match>
> </match>
>
> <match key="info.capabilities" contains="input.tablet">
> <match key="/org/freedesktop/Hal/devices/computer:system.kernel.name"
> string="Linux">
> <merge key="input.x11_driver" type="string">evdev</merge>
> </match>
> </match>
>
> <match key="info.capabilities" contains="input.touchpad">
> <merge key="input.x11_driver" type="string">mouse</merge>
> <match key="/org/freedesktop/Hal/devices/computer:system.kernel.name"
> string="Linux">
> <merge key="input.x11_driver" type="string">evdev</merge>
> </match>
> </match>
>
> <match key="info.capabilities" contains="input.keys">
> <!-- If we're using Linux, we use evdev by default (falling back to
> keyboard otherwise). -->
> <merge key="input.x11_driver" type="string">keyboard</merge>
> <match key="/org/freedesktop/Hal/devices/computer:system.kernel.name"
> string="Linux">
> <merge key="input.x11_driver" type="string">evdev</merge>
> <merge key="input.xkb.options"
> type="string">terminate:ctrl_alt_bksp</merge>
> </match>
> </match>
> </device>
> </deviceinfo>
>
>
>
You just got to love that hal. All that when one line does it in
xorg.conf. Yep, it's a serious improvement over the old way. LOL
Dale
:-) :-)
P. S. This was meant to be funny. Note the LOL at the end.
next prev parent reply other threads:[~2009-10-26 23:24 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-10-26 22:45 [gentoo-user] Ctrl+Alt+bksp in Xorg Mick
2009-10-26 22:55 ` Zeerak Waseem
2009-10-26 23:04 ` Mick
2009-10-26 23:07 ` Alan McKinnon
2009-10-26 23:24 ` Dale [this message]
2009-10-26 23:30 ` Denis
2009-10-26 23:50 ` Alan McKinnon
2009-10-27 0:17 ` Sebastian Beßler
2009-10-27 0:27 ` Dale
2009-10-27 0:44 ` Sebastian Beßler
2009-10-27 1:03 ` Dale
2009-10-27 9:09 ` Sebastian Beßler
2009-10-27 9:31 ` he zhitong
2009-10-27 9:44 ` Sebastian Beßler
2009-10-27 11:09 ` Alex Schuster
2009-10-27 6:39 ` Mick
2009-10-27 9:42 ` Alan McKinnon
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4AE62FB0.407@gmail.com \
--to=rdalek1967@gmail.com \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox