[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Keyboard problem

thank you, it solved half my problem anyway... the other half is the single bar ont alt gr and that key... now I got the < and the > (thank you again). Do you know the name of the bar? it's like a capital I or a common l but larger... do you understand what sign I mean?


norton wrote:

well, I don't know this keyboard... so, that's what I think you should

1) run xev in a shell
2) press the key (without shift just the key)
3) read the output... find the "keycode X", where X is a number
  (mine is keycode 59 for <)
4) cd $HOME
5) Create a file named .Xmodmap (debian will use it automatically when
you log in)
6) In this file write:
keycode X = V1	V2
where X is the keycode, V1 is the character printed when the key is
pressed and V2 is the character printed when shift+the_key are pressed.

A practical example:
in my keyboard, keycode = 59, and the key prints a "," if pressed and a
"<" if shift+key are pressed, so the entry will look like

keycode 59 = comma	less

(to help, "," is comma, "<" is less, "." is period and ">" is greater
7) then, xmodmap .Xmodmap to test

Next time you log in, debian will load the map .Xmodmap automatically

I hope it helps you

Em Qui, 2004-06-17 às 15:25, Emil Carlsson escreveu:
I've gotten my keyboard to work just to the brink of one key! I need a swedish keyboard but it won't give me the key left of the space key, the key that generates < and >. It's fairly hard to program without them ;)

I realized the problem when I started to study C and was going to make my first program and I couldn't hit those keys... Greatful for help


Reply to: