the " / ' key doesnt work in ubuntu 9.10

Asked by Alionka

when the key is being typed, absolutely nothing happens. All the other keys work just find. Any suggestions?

To add to that, does anyone know how to change the layout of the keyboard by pressing keys (as in Windows is Alt + Shift), tried everything, is still not working...

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu yelp Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Charles Profitt (cprofitt) said :
#1

please type the following in to a command line (terminal):

xev

then a window should pop... when that small window has focus you can see the keypress events in the terminal window

what I for from pressing me "/" is the following:

KeyPress event, serial 36, synthetic NO, window 0x4000001,
    root 0x122, subw 0x0, time 525644, (54,-19), root:(59,824),
    state 0x10, keycode 61 (keysym 0x2f, slash), same_screen YES,
    XLookupString gives 1 bytes: (2f) "/"
    XmbLookupString gives 1 bytes: (2f) "/"
    XFilterEvent returns: False

KeyRelease event, serial 36, synthetic NO, window 0x4000001,
    root 0x122, subw 0x0, time 525764, (54,-19), root:(59,824),
    state 0x10, keycode 61 (keysym 0x2f, slash), same_screen YES,
    XLookupString gives 1 bytes: (2f) "/"
    XFilterEvent returns: False

Please compare your output... and post it here. If you get no output then I would suggest testing another keyboard if you get a chance. There is the possibility you chose the wrong keyboard layout during install or that the keyboard is 'defective'.

Revision history for this message
Alionka (alona-chapliuk) said :
#2

 Hey, thanxs for such a quick back up! This is what I got:

KeyRelease event, serial 30, synthetic NO, window 0x5200001,
    root 0x69, subw 0x0, time 21616453, (-276,78), root:(395,128),
    state 0x0, keycode 36 (keysym 0xff0d, Return), same_screen YES,
" XLookupString gives 1 bytes: (0d) "
    XFilterEvent returns: False

EnterNotify event, serial 36, synthetic NO, window 0x5200001,
    root 0x69, subw 0x0, time 21672759, (73,17), root:(744,67),
    mode NotifyNormal, detail NotifyNonlinear, same_screen YES,
    focus NO, state 0

KeymapNotify event, serial 36, synthetic NO, window 0x0,
    keys: 34 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
           0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

MotionNotify event, serial 36, synthetic NO, window 0x5200001,
    root 0x69, subw 0x0, time 21672759, (73,17), root:(744,67),
    state 0x0, is_hint 0, same_screen YES

LeaveNotify event, serial 36, synthetic NO, window 0x5200001,
    root 0x69, subw 0x0, time 21672772, (62,10), root:(733,60),
    mode NotifyNormal, detail NotifyInferior, same_screen YES,
    focus NO, state 0

MotionNotify event, serial 36, synthetic NO, window 0x5200001,
    root 0x69, subw 0x5200002, time 21672772, (62,10), root:(733,60),
    state 0x0, is_hint 0, same_screen YES

Revision history for this message
Charles Profitt (cprofitt) said :
#3

That means you are getting a key press event. Which is a good sign.

Try to check the following:

Go to the System Menu

Then Preferences

Then Keyboard

Then Layout tab

Then try checking that you layout is USA and that your Keyboard is generic 105 -key (intl) PC

If it is not try setting it to those and let me know if the key works.

Revision history for this message
Alionka (alona-chapliuk) said :
#4

 Checked it, changed it to what you wrote. Still nothing.

Revision history for this message
Charles Profitt (cprofitt) said :
#5

What manufacturer is your keyboard?

What application are you using to see that the "/" is not working?

Revision history for this message
Alionka (alona-chapliuk) said :
#6

 I have a lap top, and it s Asus, so I guess the manufacturer is Asus as well.. right? To be exact, they key that s not working is not the slash, but the commas " - '

Revision history for this message
Alionka (alona-chapliuk) said :
#7

 I have a lap top, and it s Asus, so I guess the manufacturer is Asus as well.. right? To be exact, they key that s not working is not the slash, but the commas " - '

Revision history for this message
Charles Profitt (cprofitt) said :
#8

Repeat the steps above to get the key press codes for the " and ' keys then.

I got the following for '

KeyPress event, serial 33, synthetic NO, window 0x4600001,
    root 0x122, subw 0x0, time 157005, (-1160,270), root:(338,320),
    state 0x10, keycode 48 (keysym 0x27, apostrophe), same_screen YES,
    XLookupString gives 1 bytes: (27) "'"
    XmbLookupString gives 1 bytes: (27) "'"
    XFilterEvent returns: False

KeyRelease event, serial 36, synthetic NO, window 0x4600001,
    root 0x122, subw 0x0, time 157109, (-1160,270), root:(338,320),
    state 0x10, keycode 48 (keysym 0x27, apostrophe), same_screen YES,
    XLookupString gives 1 bytes: (27) "'"
    XFilterEvent returns: False

and for "

KeyPress event, serial 36, synthetic NO, window 0x4600001,
    root 0x122, subw 0x0, time 284091, (-649,755), root:(849,805),
    state 0x11, keycode 48 (keysym 0x22, quotedbl), same_screen YES,
    XLookupString gives 1 bytes: (22) """
    XmbLookupString gives 1 bytes: (22) """
    XFilterEvent returns: False

KeyRelease event, serial 36, synthetic NO, window 0x4600001,
    root 0x122, subw 0x0, time 284171, (-649,755), root:(849,805),
    state 0x11, keycode 48 (keysym 0x22, quotedbl), same_screen YES,
    XLookupString gives 1 bytes: (22) """
    XFilterEvent returns: False

Revision history for this message
Alionka (alona-chapliuk) said :
#9

 for ' nothing happens,

 Whereas when I press shift + ', then for " I get this:

KeyPress event, serial 36, synthetic NO, window 0x5400001,
    root 0x69, subw 0x0, time 58392554, (-507,62), root:(164,112),
    state 0x0, keycode 62 (keysym 0xffe2, Shift_R), same_screen YES,
    XLookupString gives 0 bytes:
    XmbLookupString gives 0 bytes:
    XFilterEvent returns: False

 The keyboard used to work fine in Windows.

Revision history for this message
Charles Profitt (cprofitt) said :
#10

that keycode is the shift key being pressed. It would appear that the key is not registering... do you have another keyboard to try? or another computer (even if a laptop) to try the keyboard on.

From the results of XEV it would appear that the keyboard is not registering that keypress.

Revision history for this message
Alionka (alona-chapliuk) said :
#11

nice, no, unfortunately I dont

 Perhaps there is a way to activate that key somehow? Or maybe make another key be the " key

Can you help with this problem?

Provide an answer of your own, or ask Alionka for more information if necessary.

To post a message you must log in.