LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Ubuntu (https://www.linuxquestions.org/questions/ubuntu-63/)
-   -   Keyboard Shortcuts Not Working After Dist-Upgrade to Intrepid (https://www.linuxquestions.org/questions/ubuntu-63/keyboard-shortcuts-not-working-after-dist-upgrade-to-intrepid-679710/)

dreamteam 10-29-2008 02:49 AM

Keyboard Shortcuts Not Working After Dist-Upgrade to Intrepid
 
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?

dreamteam 10-30-2008 12:17 AM

An update.

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 is/are, how do I go about it i.e. what stuff do I need to add/remove, comment or uncomment?

jay73 11-01-2008 06:43 PM

You may have to look into setxkbmap and, for configuration files, the /usr/share/X11 directory.

Of course, you may find that doing a clean install will take less time than doing all of this.

tommcd 11-01-2008 11:06 PM

Quote:

Originally Posted by dreamteam (Post 3325792)
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

Even though the new xorg with Intrepid does not use an xorg.conf anymore, you could just create a blank xorg.conf file in the /etc/X11 directory and put in the relevant parts that you need and X will still read it. For the keyboard section it would be something like this:
Code:

Section "InputDevice"
        Identifier        "Generic Keyboard"
        Driver                "kbd"
        Option                "CoreKeyboard"
        Option                "XkbRules"        "xorg"
        Option                "XkbModel"        "pc104"
        Option                "XkbLayout"        "us"
EndSection

Just edit the keyboard section to suit your needs, and restart X.


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