[Solved]Numpad not working(Ubuntu 9.04)

Discussions about using Linux guests in VirtualBox.
Post Reply
GaadMasteR
Posts: 8
Joined: 7. Feb 2009, 12:07

[Solved]Numpad not working(Ubuntu 9.04)

Post by GaadMasteR »

Hello!

My problem is that when i start the guest in the username/password section the numpad works, but when i log in the numpad stops working only the enter is working. I guess maybe i have to put something in the xorg.conf file like with the mouse.I tried some keyboard settings but they did'nt worked.

I'm running an Ubuntu 9.04 host and the problem is with an Ubuntu 9.04 guest. I'm running 2.2.2 Virtualbox with the same additions.

Thanks for all the advices.
Bye
Last edited by GaadMasteR on 26. May 2009, 12:48, edited 1 time in total.
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Re: Numpad not working(Ubuntu 9.04)

Post by Sasquatch »

Are you sure that the Guest starts with the numlock option ON? You need a special package for that to actually have effect. It's called numlockx. The numlock toggle doesn't work.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
GaadMasteR
Posts: 8
Joined: 7. Feb 2009, 12:07

Re: Numpad not working(Ubuntu 9.04)

Post by GaadMasteR »

I checked again. On the login screen everything works perfectly.
When i log in nothing works. Nor the '/','star' and nor the numbers. I tried installing numlockx but it didn't solved this.
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Re: Numpad not working(Ubuntu 9.04)

Post by Sasquatch »

Open a terminal in the Guest, and run xev. That will return the codes of the keys and buttons you press in the terminal. What does it return when you press some keys on your keypad?
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
GaadMasteR
Posts: 8
Joined: 7. Feb 2009, 12:07

Re: Numpad not working(Ubuntu 9.04)

Post by GaadMasteR »

Pressing numpad 4

MotionNotify event, serial 35, synthetic NO, window 0x4000001,
root 0x102, subw 0x0, time 1623993, (68,179), root:(742,230),
state 0x10, is_hint 0, same_screen YES

MotionNotify event, serial 35, synthetic NO, window 0x4000001,
root 0x102, subw 0x0, time 1624108, (69,179), root:(743,230),
state 0x10, is_hint 0, same_screen YES

KeyRelease event, serial 35, synthetic NO, window 0x4000001,
root 0x102, subw 0x0, time 1624108, (69,179), root:(743,230),
state 0x10, keycode 83 (keysym 0xffb4, KP_4), same_screen YES,
XLookupString gives 1 bytes: (34) "4"
XFilterEvent returns: False


Pressing numpad 5

MotionNotify event, serial 35, synthetic NO, window 0x4000001,
root 0x102, subw 0x0, time 1623993, (69,179), root:(743,230),
state 0x10, is_hint 0, same_screen YES

MotionNotify event, serial 35, synthetic NO, window 0x4000001,
root 0x102, subw 0x0, time 1623993, (68,179), root:(742,230),
state 0x10, is_hint 0, same_screen YES

Strange... it seems that it returned number 4 but i tested in console and it writes nothing, and in console number 5 makes an enter...
BLJ
Posts: 1
Joined: 26. May 2009, 12:40
Primary OS: Ubuntu other
VBox Version: OSE other
Guest OSses: none

Re: Numpad not working(Ubuntu 9.04)

Post by BLJ »

Hi there,

i've experienced the exact same problem (from one day to another), though without it beeing a virtual machine.

the solution is quite simple:
http://www.meinubuntu.de/2008/05/13/num ... -hardy/546

System -> Preferences -> Keyboard -> Tab "Mouse Key" -> deactivate "Pointer can be controlled using the keypad".
GaadMasteR
Posts: 8
Joined: 7. Feb 2009, 12:07

Re: Numpad not working(Ubuntu 9.04)

Post by GaadMasteR »

Hi!

Thanx man!!! :D

Problem solved! Thank you.

Bye
chrone
Posts: 25
Joined: 10. Apr 2009, 20:49
Primary OS: MS Windows 7
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Ubuntu

Re: [Solved]Numpad not working(Ubuntu 9.04)

Post by chrone »

thanks, it works. is this a bug from ubuntu? lol pretty annoying bug. :mrgreen:
everytime i get ahead, i feel more dead..
foxed
Posts: 4
Joined: 15. Feb 2010, 13:46
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: XP, Centos

Re: [Solved]Numpad not working(Ubuntu 9.04)

Post by foxed »

Excuse the thread resurrection, but just a note that this also applies to Ubuntu 10.10 - less a bug, more a feature, but the above tweak resolves the issue still.
syn1kk
Posts: 8
Joined: 18. May 2011, 20:58
Primary OS: MS Windows XP
VBox Version: OSE other
Guest OSses: fedora 14 64-bit

Re: [Solved]Numpad not working(Ubuntu 9.04)

Post by syn1kk »

I also had this bug... nay "feature... on Fedora 14. The bug fix described (disable "keyboard can control the mouse") fixed the bug.
Post Reply