LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Laptop and Netbook (https://www.linuxquestions.org/questions/linux-laptop-and-netbook-25/)
-   -   number pad on Acer aspire one (https://www.linuxquestions.org/questions/linux-laptop-and-netbook-25/number-pad-on-acer-aspire-one-692828/)

dasy2k1 12-24-2008 05:56 PM

number pad on Acer aspire one
 
I have an acer aspire one with xubuntu on it,

it has the standard numberpad on jkluio789 etc that works fine with numberlock enabled

but when i just hold the Fn key i end up with the functions a normal keybaod has on the number pad when numlock is off, (arrows, pgup/dn etc)

how can i set this to be numbers?
i dont care about the second functions of the number pad, all the keys exist elseware, but sometimes a number pad is usefull without being in use long enough to want to engage numlock

aspire1 12-26-2008 02:45 PM

I got this from another site which I can't remember the url of but

I put in /etc/rc.local which I had made executable:

/usr/bin/setkeycodes e055 159
/usr/bin/setkeycodes e056 158
/usr/bin/setkeycodes e025 130
/usr/bin/setkeycodes e026 131
/usr/bin/setkeycodes e027 132
/usr/bin/setkeycodes e029 122
/usr/bin/setkeycodes e071 134
/usr/bin/setkeycodes e072 135


And in my home directory I created an .Xmodmap file (don't forget the . )with this in it:

keycode 160 = XF86AudioMute
keycode 174 = XF86AudioLowerVolume
keycode 176 = XF86AudioRaiseVolume
keycode 223 = XF86Standby
keycode 239 = XF86KbdBrightnessDown
keycode 123 = XF86KbdBrightnessUp
keycode 210 = XF86Display

The .Xmodmap entries look as though they don't apply to the "middle number pad" but they make all the other buttons work anyway.

All the "fn" combinations worked for me on my acer one after doing this on Ubuntu 8.1

farslayer 12-29-2008 08:30 AM

I think that may have come frpm the ArchLinux AspireOne Wiki. Theres a lot of good info on that page.
http://wiki.archlinux.org/index.php/..._function_keys



Aspire One relevant Links
http://wiki.debian.org/DebianAcerOne
http://wiki.archlinux.org/index.php/Acer_Aspire_One
https://help.ubuntu.com/community/AspireOne

dasy2k1 01-08-2009 10:17 AM

indeed those look like they deal with the audio and function keys that allready work for me fine.

its just the middle number pad i would like to get working,

at the moment it works partially, if i hold fn i get what the keys on the numberpad of a full sized keyboard would be if numberlock was off, (the arrows, pgup pgdn home end ins del) rather than the numbers as i would like


All times are GMT -5. The time now is 03:39 AM.