LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices

Reply
 
LinkBack Search this Thread
Old 11-24-2009, 08:57 AM   #1
rbees
Member
 
Registered: Mar 2004
Location: northern michigan usa
Distribution: Debian Lenny, Squeeze, Wezzey
Posts: 535

Rep: Reputation: 42
down arrow & end keys don't work in kde or xfce


OK Ladies & Gents,

Hear we go again.

The down and dirty is that my down arrow key does not work in kde or xfce. It does work in e16 and if I alt-ctrl-f1 to a console. Not sure about the other desktops that I have installed.

The other arrow keys all seam to work correctly.

Debian Squeeze amd64 fully up to date. A google search has not yielded any help so far and the results don't seam to be related to this problem.

A complete system reboot was no help.

Stating what seams to be obvious to me, it seams that the problem seams to be related to the way the desktop environment interacts with the underlying system. If I remember correctly I am using kdm, but gdm is installed and is run at boot also.

Just discovered that the 'end' key is also not working. These non functioning keys don't work if a mod key like ctrl is pressed too. So far it only seams to be these two keys. As with the down arrow key the 'end' key also works in the other environments.

----------------

Next morning,

I have tested the other gui's I have installed and the only ones affected by this are xfce and kde. I tried to launch with gdm but I didn't do something right, will have to do some more searching as to how to change that setting.

OK it is not kdm or gdm, although they still may be related. Running '# dpgk-reconfigure gdm' results in a non launching display manager.

This is interesting
Code:
 sudo dpkg-reconfigure kdm
insserv: warning: current stop runlevel(s) (1) of script `nvidia-kernel' overwrites defaults (empty).
insserv: warning: current stop runlevel(s) (0 1 6) of script `nvidia-glx' overwrites defaults (empty).
It didn't do that when I reconfigured gdm, either time. Once from inside the gui and once from a root console. The above is from within the gui using gdm.

Any one have any ideas?

Last edited by rbees; 11-26-2009 at 04:54 PM. Reason: solved
 
Old 11-25-2009, 08:08 AM   #2
rbees
Member
 
Registered: Mar 2004
Location: northern michigan usa
Distribution: Debian Lenny, Squeeze, Wezzey
Posts: 535

Original Poster
Rep: Reputation: 42
More info

uninstalling xfce has not changed the problem.

disabling the keyboard layout in kde has not fixed the issue.
 
Old 11-26-2009, 04:50 PM   #3
rbees
Member
 
Registered: Mar 2004
Location: northern michigan usa
Distribution: Debian Lenny, Squeeze, Wezzey
Posts: 535

Original Poster
Rep: Reputation: 42
Solved

It seams that the update/install that caused this problem installed an .Xmodmap file that was remaping the keys to F* keys.

Renaming the file and putting in an empty file in place of it corrected the issue.

I was emailed of list with instructions on how to check and I am including it below so that it may help someone else.

Thanks

Quote:
Hello,

I found your posts on forum.kde.org while trying to solve
the exact same problem I've had for months on my
Debian box (using KDE).

The fix I've been using for monthis is to launch the command
« setxkbmap -model pc105 -layout fr -variant oss »
in krunner : this restores the correct keyboard behaviour.

I just succeeded solving the problem in my case.
I'm not sure it will help you

Well in my case the problem was coming from a
buggy ~/.Xmodmap file. I don't know when/what/why
I set it up this way but it was mapping keycode 116
to ALT_L. After inspecting the debuging info of kxkb,
I found that kxkb calls xmodmap automatically after
setkxbmap if it finds a .Xmodmap file.

Anyway, if using setxkbmap solves the problem for
you (and you don't have a .Xmodmap file),
you might want to launch kxkb in a konsole
and enable every debug channel in "kdebugdialog".
In my case, I found the xmodmap call just after
the line
kxkb($PID) XKBExtension::setLayoutGroups: executing "/usr/bin/setxkbmap
blablabla"

Hope it helps.

Gabriel
Thanks Gabriel
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
emacs+gnome-terminal+KDE+openSUSE - ctrl+arrow keys not working openSauce Linux - Software 4 04-03-2009 05:31 AM
KDE base to work with dropline's HAL & rworkman's buildscripts for xfce 4.4 ? Doable? Old_Fogie Slackware 13 04-16-2007 11:57 PM
Shift-arrow and Alt-arrow keys don't work in xterm Aviv Hurvitz Linux - General 2 09-30-2006 04:43 PM
Cant get the arrow keys to work properly :( fraggelfraggel *BSD 6 02-02-2006 01:49 AM
Arrow keys dont work in JAVA under GNOME budhusa Linux - Hardware 1 02-08-2004 12:37 PM


All times are GMT -5. The time now is 02:04 PM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration