From: Mick <michaelkintzios@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Re: I want my Ctrl+Alt+Backspace back
Date: Wed, 21 Apr 2010 07:10:21 +0100 [thread overview]
Message-ID: <201004210710.40167.michaelkintzios@gmail.com> (raw)
In-Reply-To: <87mxwxmy74.fsf@newsguy.com>
[-- Attachment #1: Type: Text/Plain, Size: 3567 bytes --]
On Wednesday 21 April 2010 01:44:15 Harry Putnam wrote:
> Mick <michaelkintzios@gmail.com> writes:
> > I think you did not read the link properly. You are meant to copy
> > the relevant .fdi file from
> > /usr/share/hal/fdi/policy/10osvendor/10-keymap.fdi to
> > /etc/hal/fdi/policy/10-keymap.fdi and then modify the last
> > paragraph:
>
> Yes, I did misread apparently... it doesn't say that at all... maybe
> that is why.
>
> http://www.gentoo.org/proj/en/desktop/x/x11/xorg-server-1.6-upgrade-guide.x
> ml
The penultimate paragraph says that you should copy _some_ file from
/usr/share/hal/fdi/policy/10osvendor/ to /etc/hal/fdi/policy/
> There is no mention of copying:
> /usr/share/hal/fdi/policy/10osvendor/10-keymap.fdi
> to
> /etc/hal/fdi/policy/10-keymap.fdi
The file that I mentioned is the one relevant to key inputs, but you could
have used say the 10-input.fdi or made one up yourself that ends in fdi.
> I'm sorry to be so dense here... but I'm missing something still.
No, I was rather incomplete in my reply, which ended up confusing the matter.
> > <merge key="input.xkb.layout" type="string">us</merge>
> > <merge key="input.xkb.options"
>
> That second line above is not present in my copy of:
> /usr/share/hal/fdi/policy/10osvendor/10-x11-input.fdi
>
> Mick wrote:
> > type="string">terminate:ctrl_alt_bksp</merge>
> > <merge key="input.xkb.variant" type="string" />
> >
> > by the adding the above line starting with type= ...
>
> I see (showing line numbers
> from:[...]10osvendor/10-x11-input.fdi
>
> [...]
> 17 </match>
> 18
> 19 <merge key="input.xkb.layout" type="string">us</merge>
> 20 <merge key="input.xkb.variant" type="string" />
> 21 </match>
> [...]
>
> So do you mean to replace 19 and 20 with:
>
> ,----
>
> | <merge key="input.xkb.layout" type="string">us</merge>
> | <merge key="input.xkb.options"
> | type="string">terminate:ctrl_alt_bksp</merge>
>
> `----
>
> Or add the two in box quote after 19... or what?
This is mine:
============================================
<?xml version="1.0" encoding="ISO-8859-1"?> <!-- -*- SGML -*- -->
<deviceinfo version="0.2">
<device>
<match key="info.capabilities" contains="input.keymap">
<append key="info.callouts.add" type="strlist">hal-setup-keymap</append>
</match>
<match key="info.capabilities" contains="input.keys">
<merge key="input.xkb.rules" type="string">base</merge>
<!-- If we're using Linux, we use evdev by default (falling back to
keyboard otherwise). -->
<merge key="input.xkb.model" type="string">keyboard</merge>
<match key="/org/freedesktop/Hal/devices/computer:system.kernel.name"
string="Linux">
<merge key="input.xkb.model" type="string">evdev</merge>
</match>
<merge key="input.xkb.layout" type="string">gb,se</merge>
<merge key="input.xkb.options"
type="string">grp:alt_shift_toggle,grp_led:scroll,compose:menu,terminate:ctrl_alt_bksp</merge>
<merge key="input.xkb.variant" type="string" />
</match>
</device>
</deviceinfo>
============================================
Now, if you are only using one language, you only need line 19 in your example
and insert a new line between your 19 and 20 that says: <merge
key="input.xkb.options" type="string">terminate:ctrl_alt_bksp</merge>
(all on one line)
HTH and sorry for giving an incomplete answer at the start.
--
Regards,
Mick
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
next prev parent reply other threads:[~2010-04-21 6:11 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-04-18 21:07 [gentoo-user] I want my Ctrl+Alt+Backspace back Harry Putnam
2010-04-18 21:15 ` [gentoo-user] " Nikos Chantziaras
2010-04-18 21:47 ` Mick
2010-04-18 22:16 ` Nikos Chantziaras
2010-04-19 0:19 ` Harry Putnam
2010-04-19 0:28 ` Harry Putnam
2010-04-19 7:36 ` Mick
2010-04-19 9:22 ` YoYo siska
2010-04-19 14:52 ` Paul Hartman
2010-04-20 15:30 ` Harry Putnam
2010-04-20 20:26 ` Mick
2010-04-21 0:44 ` Harry Putnam
2010-04-21 6:10 ` Mick [this message]
2010-04-22 23:56 ` Harry Putnam
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=201004210710.40167.michaelkintzios@gmail.com \
--to=michaelkintzios@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