the LXDE keyboard configuration in ABNT2

Problems with hardware & laptops not being detected or supported during or after install.
Locked
otto
Posts: 16
Joined: Wed Aug 26, 2009 3:22 pm
Contact:

the LXDE keyboard configuration in ABNT2

Post by otto »

:?:
:idea:

Dear lxde buddies,

I am using the debian sidux with lxde. I have a problem that I can not keep the LXDE keyboard configuration in ABNT2 (brazilian portuguese keyboard).

The command code (as root): # loadkeys br-abnt2 solved the problem (temporarily) but I just take a reboot (when logout) that reverts to the ";" instead of "ç" pattern, which It’s the American standard I believe so.

I also tried these codes:

dpkg-reconfigure xserver-xorg and dpkg-reconfigure console-data
But no solution at all.It must have a way to permanently leave the keyboard to the ABNT2 map.
Thanks for the support. Does someone have some hints? I appreciate you helpful clues.

cheers

:mrgreen:
8-)
download my distro development in english at http://www.epidemiclinux.org/index.php?lang=en

Visit my sidux project "sidux brazil" at http://www.sidux.com.br

Image


Image
aus9
Posts: 35
Joined: Tue Jun 02, 2009 8:42 am
Location: Australia

Re: the LXDE keyboard configuration in ABNT2

Post by aus9 »

Otto

Until you get a better reply try.....

sidux does not have a kb fdi file but according to this link ...it may be a possible solution for you?

http://wiki.archlinux.org/index.php/Xor ... ard_layout

So I d/loaded the arch version and here it is.....save as /etc/hal/fdi/policy/10-keymap.fdi
source for file is http://mirror.internode.on.net/pub/archlinux/other/hal/ if you do not trust me? heh heh ....and to obey GPL

---------10-keymap.fdi contents.....raw as per source.......
<?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">us</merge>
<merge key="input.xkb.variant" type="string" />
</match>
</device>
</deviceinfo>
----------------------------------------------------end of paste--------------------------------------------

However reading that wiki link....it appears to me....I may be wrong...that line becomes?
<merge key="input.xkb.layout" type="string"> br-abnt2</merge>

YMMV

Please ensure you know how to use a live cd if this borks your system so you can move that pesky file out of there if problems.
otto
Posts: 16
Joined: Wed Aug 26, 2009 3:22 pm
Contact:

Re: the LXDE keyboard configuration in ABNT2

Post by otto »

:D
Thanks a lot, buddy aus9. We've been wandering around by gnu linux forums all over the world.It is always a pleasure to find out good companions like you.While the epidemic lxde hasn't been launched yet, I can't avoid to use the sidux lxde.
cheers.
I' see you later!
:lol:
download my distro development in english at http://www.epidemiclinux.org/index.php?lang=en

Visit my sidux project "sidux brazil" at http://www.sidux.com.br

Image


Image
Locked