PDA

View Full Version : [ubuntu] Keyboard Shortcuts Errors After Dist-Upgrade



nibirumarduk
October 29th, 2008, 08:09 AM
Hi guys. I just upgraded from Hardy to Intrepid. I'm running into some very annoying issues. Specifically speaking, I'm no longer able to use any of my Up, Down, Left and Right arrows in any of my apps like I used to.

Some practical example are: Prior to the dist-upgrade, depressing either the Up or Down arrow keys in Epiphany browser would have allowed me to scroll up or down a webpage, but not now. And pressing the the Up arrow key, does not bring up the last command I typed in GNOME terminal like it used to before the upgrade. Similarly, my Insert, Delete, Home, End keys do not work anymore.

I cannot also press Ctrl C and Ctrl V for any cut & paste operations like before. Also I while I have a Generic 105 key keyboard, under System > Preferences > Keyboard > Layouts, Intrepid thinks I have a Generic 101 key PC instead.

How do I rectify these? Can anyone help me out here? Please?

nibirumarduk
October 30th, 2008, 06:05 AM
Tried to perform a "sudo dpkg-reconfigure console-common". Found that console-common wasn't installed for whatever reasons. Went ahead and installed that, everything went smoothly till the "sudo dpkg-reconfigure console-common" portion.

I forgot that as my arrow keys aren't working anymore, I could not select any of the options brought up in the debconf dialog. The only choice was to stick with the default i.e. "do not touch my keymaps" or something. :(

Is there a config file or 2 that I can manually edit (e.g. while in failsafe) perhaps where I can define my keyboard type (seems like the new xorg doesn't read the xorg.conf anymore and insists on recognizing my keyboard as a 101 key one instead of it being a 105 generic) as well as set the default behavior of like my Left, Right, Up, Down, Page Up, Page Down, Insert, Delete, Home, End, etc keys? If there is/are, how do I go about it i.e. what stuff do I need to add/remove, comment or uncomment?

Jovaro
October 30th, 2008, 05:21 PM
I am having the same issue. My keyboard works just fine without X. Try to switch to a different tty (ctrl-alt-F1/F2/F3 etc) and login there.

edit: I just found my problem. There was a Xmodmap file in my home directory that was being used. Deleting this fixed all non-functional keys.

nibirumarduk
October 31st, 2008, 02:55 AM
I am having the same issue. My keyboard works just fine without X. Try to switch to a different tty (ctrl-alt-F1/F2/F3 etc) and login there.

edit: I just found my problem. There was a Xmodmap file in my home directory that was being used. Deleting this fixed all non-functional keys.

Hi Jovaro. Many thanks for responding. Sorry to hear that you seem to be having almost the very issues at least for a while. Glad that your troubles are now history. :)

I did try switching ttys as you have suggested. All my keys work fine there e.g. tty2. However when I switched back, they don't. :confused: Tried looking for any Xmodmap files that I may have in my /home but there was none. So no go there. :( Guess I'm left with but no other options but to do a fresh install. Thank heavens I kept my /home on a separate partition. ;)

I suppose installing afresh at each and every new major release time ain't too tedious although I still can't figure out what went wrong. Didn't experience any unseeming incidents during the Gutsy to Hardy dist-upgrade and was expecting none this time around either. But alas, it was not to be. :(