Puppy This forum is for the discussion of Puppy Linux. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
03-09-2007, 11:35 PM
|
#1
|
LQ Newbie
Registered: Mar 2007
Location: NC
Distribution: Puppy
Posts: 2
Rep:
|
Scroll Lock Doesn't Work
All this is new to me since four days ago.
Puppy works well except scroll lock is de-activated, pressing the key doesn't work. I do a lot of spreadsheet work and would like to have this on. My old ms-dos work-around, hold down the left shift while entering numbers on the numeric pad works, but I would rather have scroll lock on. Any ideas?
|
|
|
03-10-2007, 12:13 AM
|
#2
|
Member
Registered: Feb 2004
Location: 33.31N -111.97W
Distribution: SuSE
Posts: 919
Rep:
|
How is your keyboard identified in xorg.conf?
|
|
|
03-10-2007, 11:37 AM
|
#3
|
LQ Newbie
Registered: Mar 2007
Location: NC
Distribution: Puppy
Posts: 2
Original Poster
Rep:
|
How to find out?
Quote:
Originally Posted by Xian
How is your keyboard identified in xorg.conf?
|
How would I learn this? And what difference would it make?
|
|
|
03-10-2007, 10:04 PM
|
#4
|
LQ Newbie
Registered: May 2005
Posts: 22
Rep:
|
you can enable the scroll lock key by typing:
xmodmap -pm
to find an unused modifier ... on my machine, mod3 is free
to set up the scroll lock key on mod3, you can type:
xmodmap -e 'add mod3 = Scroll_Lock'
now the scroll lock key should work
but i don't know if Gnumeric will ignore it or not
you can put this line in the hidden file /root/.Xmodmap (create the file if it does not exist) to enable the scroll lock key every time X starts:
add mod3 = Scroll_Lock
|
|
|
04-26-2009, 02:11 PM
|
#5
|
Member
Registered: Jan 2009
Location: Huenfeld, Germany
Distribution: Ubuntu 18.04
Posts: 113
Rep:
|
Quote:
Originally Posted by GuestToo
you can enable the scroll lock key by typing:
...
you can put this line in the hidden file /root/.Xmodmap (create the file if it does not exist) to enable the scroll lock key every time X starts:
add mod3 = Scroll_Lock
|
The stated command does indeed work (thanks for the tip!) but the addition of a hidden /root/.Xmodmap doesn't work in Ubuntu 8.10. I'm guessing that is because there is no root user as such, since root privileges can only be accessed through "sudo" (or "su" if you've set up a root password), i.e. one cannot login as root directly.
Until I've located an appropriate place for the command, I'm keeping it in a bash script in my ~/bin.
achim_59
|
|
|
12-21-2011, 10:11 PM
|
#6
|
LQ Newbie
Registered: May 2006
Distribution: Slackware 13.0
Posts: 28
Rep:
|
"The stated command does indeed work (thanks for the tip!) but the addition of a hidden /root/.Xmodmap doesn't work in Ubuntu 8.10. I'm guessing that is because there is no root user as such, since root privileges can only be accessed through "sudo" (or "su" if you've set up a root password), i.e. one cannot login as root directly.
"Until I've located an appropriate place for the command, I'm keeping it in a bash script in my ~/bin."
Doesn't work at all in Slackware 13.37/Fvwm95, running as root. The light comes on and then goes off at the second scroll-lock press, but nothing else happens.
Why is this still a problem?
Last edited by The Real Bev; 12-21-2011 at 10:12 PM.
|
|
|
12-26-2011, 04:50 AM
|
#7
|
Member
Registered: Jan 2009
Location: Huenfeld, Germany
Distribution: Ubuntu 18.04
Posts: 113
Rep:
|
Quote:
Originally Posted by The Real Bev
"The stated command does indeed work ...."
Doesn't work at all in Slackware 13.37/Fvwm95, running as root. The light comes on and then goes off at the second scroll-lock press, but nothing else happens.
Why is this still a problem?
|
I take back my original assertion. Since a recent upgrade to Ubuntu I haven't got the scroll-lock to work either. Neither the aforementioned bash script nor typing the command on a console work.
A quick check on the console reveals:
Code:
achim@ubuntu-desktop:~$ xmodmap -pke | grep Scroll_Lock
keycode 78 = Scroll_Lock NoSymbol Scroll_Lock
achim@ubuntu-desktop:~$ xmodmap -pm
xmodmap: up to 4 keys per modifier, (keycodes in parentheses):
shift Shift_L (0x32), Shift_R (0x3e)
lock Caps_Lock (0x42)
control Control_L (0x25), Control_R (0x69)
mod1 Alt_L (0x40), Meta_L (0xcd)
mod2 Num_Lock (0x4d)
mod3 Scroll_Lock (0x4e)
mod4 Super_L (0x85), Super_R (0x86), Super_L (0xce), Hyper_L (0xcf)
mod5 ISO_Level3_Shift (0x5c), Mode_switch (0xcb)
Note that 0x4e = 78 decimal.
From this I would normally deduce that the problem probably lies with my hardware set up which links keyboard, mouse and monitor to various machines via a switch. Only trouble is that I've been using this set up for years without a hitch. The use of the scroll-lock key does appear to get from the keyboard to the switch as indicated by a blinking light. At this point (and I'm not sure of the mechanism involved) the O/S should pass this on to my USB-Switch, which should then provide printer access to the machine which just issued 2 scroll-lock hits in succession. This works for the one and only Win2000 box I've got but neither of the Ubuntu Linux machines... well not in the past 10 months, anyway.
Achim.
|
|
|
All times are GMT -5. The time now is 03:21 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|