numlockx
October 16, 2011 —
BarryK
'numlockx' is a utility for turning keyboard numlock on and off. Project home:
http://home.kde.org/~seli/numlockx/
Shinobar's 'firstrun' PET has the numlockx binary executable in it. Firstrun is used in many puppies, as it offers a nice X GUI localization interface instead of the first-boot text-mode dialog windows of the traditional Puppy.
I am considering using firstrun, maybe even merging it into Woof, however, the first step is to extract 'numlockx' as a separate PET. It is uploaded to the 'common' repo and usable by all builds (3KB):
http://distro.ibiblio.org/quirky/pet_packages-common/numlockx-1.2-w5c.pet
Comments
memberUsername: jodylehigh
I have enjoyed Racy and Tiny very much, but I found the only way I could manage the resolution with them on my hardware was to add and then use firstrun. Enjoying the new Wary 5.2 at this writing. Thank You for all your great efforts! 2005 HP XP Media Center, Processor 2x AMD Athlon(tm) 64 X2 Dual Core Processor 3800+,
good news.
Username: wowow
"This a good news. where can I download this firstrun PET, and Barry, do you compile the numlockx from source, thanks.
numlock
Username: disciple
"Also: 1. Some users don't even understand about number lock, and get very confused if it is off. Mentioning it in firstrun will be educational for these people. 2. Every keyboard I have ever seen has big labels for the numbers, and tiny little ones for the arrows, which indicates that they are a secondary feature which can be accessed by using the shift key. It therefore makes more sense for numlock to be on by default... probably even more sense than remembering the status between boots.
notebook numlock
Username: broomdodger
"on notebook computers the numlock keys are second function on letter keys. having numlock on by default would be very confusing.
"Most people have it on most or all of the time, and find it disconcerting that when they reboot it is turned off in Puppy. Why do you have a problem with giving people a choice to have it on by default?"
Username: Sage
"You are mistaken. Most people want it OFF and never use it. It would save a lot of plastic(aka oil) and copper if the keypad were omitted from keyboards. For those who persist, is it too arduous to lift your finger to press 'NUM LOCK'? If you want a keypad, these can be purchased on a separate flying lead. Just to claim 'more sense', 'everybody does it' doesn't make it true. It's like sex talk amongst early teens. Might have to revise that simile, though, this century...
numlock
Username: 01micko
"Sage said, "You are mistaken. Most people want it OFF and never use it. It would save a lot of plastic(aka oil) and copper if the keypad were omitted from keyboards. For those who persist, is it too arduous to lift your finger to press 'NUM LOCK'? If you want a keypad, these can be purchased on a separate flying lead." I think that would upset many number crunchers :). As disciple said, and as you have seen in Slacko, it [i]is[/i] a choice. No body ever said it would be on by default, in fact default is off and always will be.
firstrun -1.9
Username: shinobar
"For your information Updated firstrun to v1.9. http://www.murga-linux.com/puppy/viewtopic.php?t=58312 @Barry Regarding the startup sequence, i hope you reconsider the delayedrun. In my opinion, it must be more simple if the delayed run never be involved in the sequence. I hope they are easy for the puplet maker to plug in and off, that is barking, launching welcome1stboot, installing flashplayer and launching bootmanager.
delayedrun
Username: 01micko
"I tend to agree with shinobar. /usr/sbin/delayedrun is a bit of a mess (in part due to me) and should be revised. I think (shino, correct me please if wrong) shino refers to extra stuff that could be run from the ~/Startup dir. (yes, Startup apps are called by delayedrun, for onlookers)
Also xinitrc
Username: Iguleder1
"All stuff from .xinitrc should be moved to /root/Startup - if we already want stuff to run on startup, let's do it right and use only one method. I overwrite ~/.xinitrc with "exec openbox" just to get rid of all the mess it causes on non-JWM/IceWM/etc' puplets.
delayedrun
Username: BarryK
"I'm still thinking about delayedrun, .xinitrc and /root/Startup ...need gestate for awhile. One problem with /root/Startup is that I envisaged it as a place for end users to mess around in. I don't really want to have things in it that are more relevant to developers.
Tags: puppy