Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
'd'-key does not work in terminal
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
anderlin
Tux's lil' helper
Tux's lil' helper


Joined: 29 Nov 2003
Posts: 149
Location: Trondheim, Norway

PostPosted: Sat Dec 06, 2003 3:21 pm    Post subject: 'd'-key does not work in terminal Reply with quote

Hi,

I have just installed Gentoo, and everything seems fine. Then suddenly the 'd'-key won't work in console/terminal. When I type it, nothing appears.

It works fine in every GUI-program, and even in nano in terminal! (So every time I want to do something involving the letter 'd', I have to make an executable file.)

I have tried to change my keyboard-layout, both in rc.conf and in XF86CONFIG. Also tried to switch back to 'us' (I am Norwegian, so I normally use 'no').
Also, shift+d works in console, giving me 'D'.

I would be grateful for any help, because I don't know where to start. Not even what to google after!

Regards, Anders Båtstrand

EDIT: My hardware: HP omnibook xe4500 Laptop.
_________________
http://anderlin.dyndns.org/
Back to top
View user's profile Send private message
albright
Advocate
Advocate


Joined: 16 Nov 2003
Posts: 2588
Location: Near Toronto

PostPosted: Sat Dec 06, 2003 7:25 pm    Post subject: no d-key ???! Reply with quote

Hi. I'm not quite sure I *believe* you :twisted:

what happens if you have the caps lock on and
try to hit 'd' or 'shift-d'?

do you get a keycode out of xev ?
Back to top
View user's profile Send private message
albright
Advocate
Advocate


Joined: 16 Nov 2003
Posts: 2588
Location: Near Toronto

PostPosted: Sat Dec 06, 2003 7:27 pm    Post subject: no d-key ???! Reply with quote

Hi. I'm not quite sure I *believe* you :twisted:

what happens if you have the caps lock on and
try to hit 'd' or 'shift-d'?

do you get a keycode out of xev ?
Back to top
View user's profile Send private message
albright
Advocate
Advocate


Joined: 16 Nov 2003
Posts: 2588
Location: Near Toronto

PostPosted: Sat Dec 06, 2003 7:32 pm    Post subject: no d-key ???! Reply with quote

Hi. I'm not quite sure I *believe* you :twisted:

what happens if you have the caps lock on and
try to hit 'd' or 'shift-d'?

do you get a keycode out of xev ?
Back to top
View user's profile Send private message
albright
Advocate
Advocate


Joined: 16 Nov 2003
Posts: 2588
Location: Near Toronto

PostPosted: Sat Dec 06, 2003 7:37 pm    Post subject: no d-key ???! Reply with quote

Hi. I'm not quite sure I *believe* you :twisted:

what happens if you have the caps lock on and
try to hit 'd' or 'shift-d'?

do you get a keycode out of xev ?
Back to top
View user's profile Send private message
anderlin
Tux's lil' helper
Tux's lil' helper


Joined: 29 Nov 2003
Posts: 149
Location: Trondheim, Norway

PostPosted: Sat Dec 06, 2003 8:15 pm    Post subject: Reply with quote

When I use caps lock, I can write 'D', but not 'd' (nothing appears). This appear in xev when I type 'd' ONE time:

Code:
KeyPress event, serial 24, synthetic NO, window 0x1800001,
    root 0x38, subw 0x0, time 5374370, (178,-6), root:(190,79),
    state 0x0, keycode 40 (keysym 0x64, d), same_screen YES,
    XLookupString gives 1 bytes:  "d"
 
KeyRelease event, serial 24, synthetic NO, window 0x1800001,
    root 0x38, subw 0x0, time 5374536, (178,-6), root:(190,79),
    state 0x0, keycode 40 (keysym 0x64, d), same_screen YES,
    XLookupString gives 1 bytes:  "d"


Is it possible that 'd' has become a shortcut for something?
_________________
http://anderlin.dyndns.org/
Back to top
View user's profile Send private message
Lews_Therin
l33t
l33t


Joined: 03 Oct 2003
Posts: 657
Location: Banned

PostPosted: Sat Dec 06, 2003 9:54 pm    Post subject: Reply with quote

It sounds like there is something wrong with your keyboard driver. Have you tried using another keymapping setting in xf86config? Also, you could try checking your /etc/rc.conf to make sure it is correct.

Albright, even if you don't believe him, there is no need for 4 posts stating so.

EDIT: also, try another console. Eterm, aterm, xterm, konsole, whatever. It might just be some wierd glitch.
Back to top
View user's profile Send private message
anderlin
Tux's lil' helper
Tux's lil' helper


Joined: 29 Nov 2003
Posts: 149
Location: Trondheim, Norway

PostPosted: Sat Dec 06, 2003 10:48 pm    Post subject: Reply with quote

I have tried konsole and xterm, with no difference. Here are the relevant lines in my rc.conf:

Code:


# Also tried "us":

KEYMAP="no"

# Also tried "yes"

SET_WINDOWKEYS="no"

EXTENDED_KEYMAPS=
#EXTENDED_KEYMAPS="backspace keypad"

# Also tried this un-commented

#CONSOLEFONT="lat0-16"

#CONSOLETRANSLATION="8859-1_to_uni"


Here are the relevant lines from my XF86CONFIG:

Code:
# These are the default XKB settings for XFree86

# I have tried these (the defaults):
#    Option "XkbRules"    "xfree86"
#    Option "XkbModel"    "pc101"
#    Option "XkbLayout"   "us"
#    Option "XkbVariant"  ""
#    Option "XkbOptions"  ""

#    Option "XkbDisable"

    Option "XkbRules"   "xfree86"
# Tried with "pc104" and "pc105"
    Option "XkbModel"   "pc101"
# Tried with "us"
    Option "XkbLayout"   "no"


How can I apply changes in these files without reboot? That would make things a lot easier for me...
_________________
http://anderlin.dyndns.org/
Back to top
View user's profile Send private message
shaydwyrm
n00b
n00b


Joined: 24 Jul 2003
Posts: 15

PostPosted: Sat Dec 06, 2003 11:13 pm    Post subject: Reply with quote

I have a problem that sounds very similar, but it's my enter key that doesn't work (!). shift-enter works ok though. I've been mucking about in my XF86Config with no luck for a while now. Also, my problem has a few other differences - enter works fine in gnome-terminal, but not in other terminals (I've tried aterm and eterm), and a one or two other miscellaneous console applications (the only one I can remember is pork). I'm using a Compaq Presario 1500 laptop with a US keyboard layout.
Back to top
View user's profile Send private message
anderlin
Tux's lil' helper
Tux's lil' helper


Joined: 29 Nov 2003
Posts: 149
Location: Trondheim, Norway

PostPosted: Sun Dec 07, 2003 4:10 pm    Post subject: Reply with quote

Strange... Is there a way to reset ALL configuration files?
_________________
http://anderlin.dyndns.org/
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum