Topic: Wrong Keymap US

I have a thinkpad T41, And ask CrunchBang to install using the US keyboard map, but it seems to have choosen a wrong US map.

These keys are wrong, the tidel is ¬
and the at symbol is "
the double qoutes is @
I haven't found the pipe but the pipe key is ~

I'm not sure if any others are wrong, but those are enough to drive me crazy. ANd I'm not sure how to change it in openbox. Gnome, KDE is no problem to change.

When I start fbxkb it shows anly the gb no other keyboards.

Any ideas on this please!

Re: Wrong Keymap US

Edit /etc/default/keyboard.

Here's what mine looks like (sans comments):
XKBMODEL="apple"
XKBLAYOUT="us"
XKBVARIANT=""
XKBOPTIONS=""

Re: Wrong Keymap US

So in place of apple should I put thinkpad or IBM?

Re: Wrong Keymap US

Shouldn't have to change anything but the XKBLAYOUT="us".

Re: Wrong Keymap US

there mght be an easy answer to this smile

if (you use Crunchbang 10 "statler")
  then see the known issues
  else add this to the file ~/.config/openbox/autostart.sh

setxkbm us

fi

note that you might have to log off and on to see any changes
cheers
luc

Re: Wrong Keymap US

luc wrote:

there mght be an easy answer to this smile

if (you use Crunchbang 10 "statler")
  then see the known issues
  else add this to the file ~/.config/openbox/autostart.sh

setxkbm us

fi

note that you might have to log off and on to see any changes
cheers
luc

The only thing with that solution is that it sort of a workaround. /etc/default/keyboard is the actual config file.

Re: Wrong Keymap US

Ok I've got it working on the right key map now thanks.

One more question "us" is the US keyboard, "es" is the spanish keyboard, But what is the code for the US international with deadkeys?

I saw this example of code for some other languge don't know what lang it is though.
Option          "XkbLayout"     "us,ru(phonetic)"

Maybe the "us(international deadkey)"?

Don't know!

Last edited by muskrat (2010-09-14 03:09:43)

Re: Wrong Keymap US

Try using:

Option      "XkbVariant"   "intl"

Note: ** Please read before posting **

BTW if you wish to contact me, send me an e-mail instead of a PM.

Re: Wrong Keymap US

jollysnowman wrote:
luc wrote:

...

The only thing with that solution is that it sort of a workaround. /etc/default/keyboard is the actual config file.

sorry, that might have been for not understanding (and reading properly) what you wrote. (so learned something here thx)
luc

Re: Wrong Keymap US

I got the same problem on my Thinkpad T30 but the following lines in /etc/default/keyboard get everything right.
XKBMODEL="pc105"
XKBLAYOUT="us"
XKBVARIANT=""
XKBOPTIONS=""

Re: Wrong Keymap US

minux wrote:

I got the same problem on my Thinkpad T30 but the following lines in /etc/default/keyboard get everything right.
XKBMODEL="pc105"
XKBLAYOUT="us"
XKBVARIANT=""
XKBOPTIONS=""

See if anything is being run in your autostart files.