Am Dienstag, 30. März 2010 09:39:43 schrieb Matthew Burgess:
> On 30/03/2010 02:12, Ken Moffat wrote:
> > On 30 March 2010 00:49, David Jensen<[email protected]>  wrote:
> >> On Mon, 29 Mar 2010 23:35:28 +0100
> >> Matthew Burgess<[email protected]>  wrote:

Hello!

> >> I do not use an xorg.conf, but do use 'Openbox, lxpanel and lxmenu'.
> >> I'm just USA, American.  For the definitive .xinitrc, I'm hoping 'ken'
> >> will chime in.  Damn, we so much miss those with 'I18n' experience!
> >
> >   I haven't tried to do without xorg.conf because I don't think it will
> > default to anything approaching my default settings.  I don't follow
> > xorg closely enough to know what is automatic, but I assumed
> > keyboard types were (from the user's locale, probably).  After all,
> > fedora do it like this, don't they ?
> >
> >   Matt: is this vmware, and/or do you use hal ?  Apparently, both of
> > those can affect the keyboard setting (according to google).
> 
> Ah, I do use VirtualBox, which may be getting in the way, I guess.  I
> was hoping it would just pick up on the fact that I'm using the
> en_GB.UTF-8 locale and therefore default to a 'gb' keyboard layout.  I'm
> not using HAL currently, but may resign myself to doing so as some parts
> of LXSession apparently want it to be around.

You can use hal to set your keyboardlayout or do it the old way in xorg.conf

For hal use something like this:

less /etc/hal/fdi/policy/10-keymap.fdi
<?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">xorg</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">de</merge>
      <merge key="input.xkb.variant" type="string">nodeadkeys</merge>
    </match>
  </device>
</deviceinfo>

> Regards,
> 
> Matt.
> 

Greetings Michael

irc.linuxfromscratch.org #lfs-de
-- 
"Eine Frau wird umso begehrenswerter, je stärker die Natur in ihr entfaltet 
und je nachdrücklicher sie in ihr gebändigt erscheint."
                                                Simone de Beauvoir

Molli http://www.selfservix.de/molli-1.1/index.html

C-LFS http://www.selfservix.de/c-lfs/

Fellow der Free Software Foundation Europe

  /"\        ASCII Ribbon Campaign
  \ /        No HTML/RTF in email
   x         No Word docs in email
  / \        Respect for open standards
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to