LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Puppy
User Name
Password
Puppy This forum is for the discussion of Puppy Linux.

Notices

Reply
 
Search this Thread
Old 03-10-2007, 12:35 AM   #1
DrJohn
LQ Newbie
 
Registered: Mar 2007
Location: NC
Distribution: Puppy
Posts: 2

Rep: Reputation: 0
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?
 
Old 03-10-2007, 01:13 AM   #2
Xian
Member
 
Registered: Feb 2004
Location: 33.31N -111.97W
Distribution: SuSE
Posts: 918

Rep: Reputation: 31
How is your keyboard identified in xorg.conf?
 
Old 03-10-2007, 12:37 PM   #3
DrJohn
LQ Newbie
 
Registered: Mar 2007
Location: NC
Distribution: Puppy
Posts: 2

Original Poster
Rep: Reputation: 0
Question 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?
 
Old 03-10-2007, 11:04 PM   #4
GuestToo
LQ Newbie
 
Registered: May 2005
Posts: 22

Rep: Reputation: 15
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
 
Old 04-26-2009, 03:11 PM   #5
achim_59
Member
 
Registered: Jan 2009
Location: Huenfeld, Germany
Distribution: Ubuntu 12.04LTS, Debian 7.5
Posts: 64

Rep: Reputation: 2
Quote:
Originally Posted by GuestToo View Post
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
 
Old 12-21-2011, 11:11 PM   #6
The Real Bev
LQ Newbie
 
Registered: May 2006
Distribution: Slackware 13.0
Posts: 15

Rep: Reputation: 0
Thumbs down

"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 11:12 PM.
 
Old 12-26-2011, 05:50 AM   #7
achim_59
Member
 
Registered: Jan 2009
Location: Huenfeld, Germany
Distribution: Ubuntu 12.04LTS, Debian 7.5
Posts: 64

Rep: Reputation: 2
Unhappy

Quote:
Originally Posted by The Real Bev View Post
"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.
 
  


Reply

Tags
lock, scroll


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Caps Lock & Scroll Lock Flashing thedug Linux - General 6 06-07-2008 10:43 PM
Num, Scroll, Caps/Lock all Lock up Slackware Zamochit Linux - Newbie 0 10-18-2004 08:47 PM
RedHat 9.0 freezes with blinking Caps lock and Scroll lock queen-bee Linux - Software 0 07-30-2004 11:40 PM
Scroll feature in Logitech Scroll mouse does not work ssmaitra Linux - Hardware 6 11-11-2003 08:43 AM
Cap and Scroll lock flashing zynor Linux - Newbie 2 08-20-2003 03:35 AM


All times are GMT -5. The time now is 05:31 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration