LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 05-10-2004, 04:37 PM   #1
EcceVery
Member
 
Registered: Apr 2004
Location: Sweden
Distribution: Gentoo, Debian, CentOS
Posts: 61

Rep: Reputation: 15
[Keyboard] Every key works exept one!


I'm a swedish debian user, and so I use a swedish keyboard. Making all the keys work have been a big problem but now it seems that every key is working correctly exept just one - and thats the key where the pipe symbol is located. The tag-symbols (or "more" and "less" symbols if you like) are also located on that key.

pressing the key does nothing. Combining the key with ALT or CTRL does nothing either. USing ALT or ALT GR with other keys works fine.

The only thing i've done is choosing the swedish keyboard layout in the beginning of the debian setup, and later on marked the "sv_se" locale option.

Can anyone help me out here? I don't know the name of the keymap file and eaven if I did the file contents would probably tell me nothing.
 
Old 05-10-2004, 05:50 PM   #2
dastrike
Member
 
Registered: Apr 2004
Location: Stockholm, Sweden
Distribution: Debian 'sid'
Posts: 250

Rep: Reputation: 30
Did you choose pc105 (instead of the default option of pc104) as the keyboard model during the configuration of X?

You can re-run the configuration of X by executing
Code:
dpkg-reconfigure xserver-xfree86 --priority=medium
 
Old 05-10-2004, 06:44 PM   #3
EcceVery
Member
 
Registered: Apr 2004
Location: Sweden
Distribution: Gentoo, Debian, CentOS
Posts: 61

Original Poster
Rep: Reputation: 15
Yepp, and I tried again using the command you suggested. I've entered "se_SE" as keyboard variant (as a result of looking in /etc/X11/xkb/). No difference.

But I noticed right now that it's just in X this happens! If I quit my X session and try in console mode it works fine.
 
Old 05-10-2004, 06:55 PM   #4
EcceVery
Member
 
Registered: Apr 2004
Location: Sweden
Distribution: Gentoo, Debian, CentOS
Posts: 61

Original Poster
Rep: Reputation: 15
....which made me look in the /etx/X11/XFConfig-4 file and found that is configured as pc104 anyway. I changed it to pc105 and so I'm able to write the "<" and ">" symbols!

But everything has a flipside. Now ALT GR is unusable, so the pipe symbol still remains... along with "at" and other things....
Here's how it looks (XFConfig-4):

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "keyboard"
Option "CoreKeyboard"
Option "XkbRules" "xfree86"
Option "XkbModel" "pc105"
Option "XkbLayout" "se_SE"
EndSection
 
Old 05-10-2004, 07:40 PM   #5
dastrike
Member
 
Registered: Apr 2004
Location: Stockholm, Sweden
Distribution: Debian 'sid'
Posts: 250

Rep: Reputation: 30
Here is how that section looks like here for me:
Code:
Section "InputDevice"
        Identifier      "Generic Keyboard"
        Driver          "keyboard"
        Option          "CoreKeyboard"
        Option          "XkbRules"      "xfree86"
        Option          "XkbModel"      "pc105"
        Option          "XkbLayout"     "se"
EndSection
And what does the program xev report when you press the AltGr key? For me it reports on my Debian unstable installation:
Code:
KeyPress event, serial 24, synthetic NO, window 0x2e00001,
    root 0xaf, subw 0x0, time 26982927, (173,119), root:(339,321),
    state 0x10, keycode 113 (keysym 0xfe03, ISO_Level3_Shift), same_screen YES,
    XLookupString gives 0 bytes:  ""
 
KeyRelease event, serial 24, synthetic NO, window 0x2e00001,
    root 0xaf, subw 0x0, time 26983810, (173,119), root:(339,321),
    state 0x90, keycode 113 (keysym 0xfe03, ISO_Level3_Shift), same_screen YES,
    XLookupString gives 0 bytes:  ""
And on my fresh install of Debian 3.0r2:
Code:
KeyPress event, serial 27, synthetic NO, window 0x1c00001,
    root 0x32, subw 0x0, time 1904196733, (115,-14), root:(707,6),
    state 0x0, keycode 113 (keysym 0xff7e, Mode_switch), same_screen YES,
    XLookupString gives 0 characters:  ""
 
KeyRelease event, serial 27, synthetic NO, window 0x1c00001,
    root 0x32, subw 0x0, time 1904197017, (115,-14), root:(707,6),
    state 0x2000, keycode 113 (keysym 0xff7e, Mode_switch), same_screen YES,
    XLookupString gives 0 characters:  ""

Last edited by dastrike; 05-10-2004 at 07:42 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
vnc - key doesn't work, mouse works saravkrish Linux - Networking 0 01-04-2005 03:47 PM
Newbie: ssh without public key still works? aleet2600 Linux - Security 5 04-15-2004 03:10 PM
keyboard key: where is my | ??? erickFis Linux - Hardware 1 02-10-2004 03:29 PM
Xawtv works fine exept when you move the window it crashes system jimdaworm Linux - Software 0 09-02-2003 04:10 PM
need to change a key on my keyboard ArnaudVR Slackware 1 06-27-2003 08:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 01:06 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration