keyboard !


Forum: X and Fluxbox
Topic: keyboard !
started by: Toxic_waste

Posted by Toxic_waste on May 11 2004,15:19
Hi!!

I'm french and I have a little problem with my keyboard

I've edited the following file /etc/init.d/knoppix-autoconfig


(...)
### localization
# Allow language specification via commandline. The default language
# will be overridden via "lang=de" boot commandline
LANGUAGE="$(getbootparam lang 2>/dev/null)"
[ -n "$LANGUAGE" ] || LANGUAGE="fr" <---
(...)

But some key doesn't work; like the accent

What is the simple way for have all the key off a standard french keyboard?
Sorry for my english...  


:D

Posted by sjmelia on May 11 2004,17:09
Try < this >  thread for stuff about keyboards.

To get from a US to a UK layout, I did went to the /usr/share/keymaps/i386/qwerty directory, copied the us layout to a backup, and copied the uk layout over the us one. Not very elegant, but it was easy and it worked!

Posted by Toxic waste on May 12 2004,15:00
thank's for your advice but I ever try this and it's not that I want, If i erase qwerty directory with azerty i've not all the french charactere???
I find my keymap -> /usr/shr/keymap/azerty/fr-latin0.kmap.gz
and now i search the the start file where I can put "loadkeys fr-latin0.kmap.gz"

If someone have an idea??

Posted by Toxic waste on May 12 2004,15:02
Or what is the default keymap file load by dsl?
Posted by Toxic_waste on May 12 2004,15:06
:D
Posted by Toxic_waste on May 12 2004,17:56
I find the solution

Just edit 1 file:
/etc/init.d/knoppix-autoconfig


(...)
### localization
# Allow language specification via commandline. The default language
# will be overridden via "lang=de" boot commandline
LANGUAGE="$(getbootparam lang 2>/dev/null)"
[ -n "$LANGUAGE" ] || LANGUAGE="fr" <--- your country here
(...)

and find in the file your country line...

# french version <-------for me
COUNTRY="fr"
LANG="fr_FR@euro"
KEYTABLE="fr-latin9" <---put your "keymap" here defaut is just "fr"  
XKEYBOARD="fr"
KDEKEYBOARD="fr"
CHARSET="iso8859-15"
# Additional KDE Keyboards
KDEKEYBOARDS="de,us"
(...)

if it look like wrong tell me

Voila stoo
:laugh:

Posted by Toxic_waste on Feb. 03 2005,18:31
my /etc/init.d/knoppix-config file

(...)

LANGUAGE="$(getbootparam lang 2>/dev/null)"
[ -n "$LANGUAGE" ] || LANGUAGE="fr"

(...)
COUNTRY="fr"
LANG="fr_FR@euro"
KEYTABLE="fr"
XKEYBOARD="azerty"
KDEKEYBOARD="azerty"
CHARSET="iso8859-15"
KDEKEYBOARDS="azerty"
TZ="Europe/Paris"

it works fine  :;):

Posted by jls legalize on Feb. 20 2005,07:23
the knoppix-autoconfig is write protected, how do u edit?
Posted by roberts on Feb. 20 2005,16:21
You don't need to edit the knoppix-autoconfig file. That would only work for a hard drive install. Besides that is the hard way to do it.

Simple way is at the first boot prompt
boot: dsl lang=es

or

Use th loadkeys command.
Example:
1. menu->Window Manager->exit
2. sudo loadkeys es
3. startx

When you have the keymap working, then add the loadkeys xx to your /opt/bootlocal.sh

Look at the documentation < Language Support >

Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.