public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] disable numlock on netbook
@ 2014-01-05 21:41 Alan McKinnon
  2014-01-08 12:02 ` Mick
  2014-01-08 20:05 ` Daniel Frey
  0 siblings, 2 replies; 5+ messages in thread
From: Alan McKinnon @ 2014-01-05 21:41 UTC (permalink / raw
  To: gentoo-user

I have Gentoo on a first gen Acer Aspire One. The teeny keyboard doesn't
have a numpad, it's simulated by using the right-hand bunch of keys and
you engage it with Fn-F11

It's recently started booting up with the numpad on which is annoying at
first login as my username is not a3an0 .... The Num LED is also off at
this stage. There used to be a way to set numlock on or off in
baselayout/openrc but now I can't find it. "grep -r numlock /etc"
returns nothing relevant, and /etc/init.d/numlock is to enable it with
no function to disable it (I have this script disable in default runlevel)

How is this done these days?
Should I call setleds in rc.local somewhere?


-- 
Alan McKinnon
alan.mckinnon@gmail.com



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] disable numlock on netbook
  2014-01-05 21:41 [gentoo-user] disable numlock on netbook Alan McKinnon
@ 2014-01-08 12:02 ` Mick
  2014-01-08 20:05 ` Daniel Frey
  1 sibling, 0 replies; 5+ messages in thread
From: Mick @ 2014-01-08 12:02 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: Text/Plain, Size: 1183 bytes --]

On Sunday 05 Jan 2014 21:41:46 Alan McKinnon wrote:
> I have Gentoo on a first gen Acer Aspire One. The teeny keyboard doesn't
> have a numpad, it's simulated by using the right-hand bunch of keys and
> you engage it with Fn-F11
> 
> It's recently started booting up with the numpad on which is annoying at
> first login as my username is not a3an0 .... The Num LED is also off at
> this stage. There used to be a way to set numlock on or off in
> baselayout/openrc but now I can't find it. "grep -r numlock /etc"
> returns nothing relevant, and /etc/init.d/numlock is to enable it with
> no function to disable it (I have this script disable in default runlevel)
> 
> How is this done these days?
> Should I call setleds in rc.local somewhere?

It used to be part of the rc scripts.  I have this in my list, but my gentoo 
installation is rather old:

# rc-update -s -v | grep numlock
              numlock |


You could check if it is enabled on any runlevel and if yes, then 'rc-update 
delete numlock' should get rid of it.  Of course if it is not enabled then I 
would be also perplexed how we are supposed to manage it these days.
-- 
Regards,
Mick

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 490 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] disable numlock on netbook
  2014-01-05 21:41 [gentoo-user] disable numlock on netbook Alan McKinnon
  2014-01-08 12:02 ` Mick
@ 2014-01-08 20:05 ` Daniel Frey
  2014-01-09  9:21   ` Alan McKinnon
  1 sibling, 1 reply; 5+ messages in thread
From: Daniel Frey @ 2014-01-08 20:05 UTC (permalink / raw
  To: gentoo-user

On 01/05/2014 01:41 PM, Alan McKinnon wrote:
> I have Gentoo on a first gen Acer Aspire One. The teeny keyboard doesn't
> have a numpad, it's simulated by using the right-hand bunch of keys and
> you engage it with Fn-F11
> 
> It's recently started booting up with the numpad on which is annoying at
> first login as my username is not a3an0 .... The Num LED is also off at
> this stage. There used to be a way to set numlock on or off in
> baselayout/openrc but now I can't find it. "grep -r numlock /etc"
> returns nothing relevant, and /etc/init.d/numlock is to enable it with
> no function to disable it (I have this script disable in default runlevel)
> 
> How is this done these days?
> Should I call setleds in rc.local somewhere?
> 
> 

Are you booting into X? If you are try x11-misc/numlockx.

I think all you have to do is use `numlockx off` and it should turn it off.

I had to do that for my laptop, same problem.

Dan


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] disable numlock on netbook
  2014-01-08 20:05 ` Daniel Frey
@ 2014-01-09  9:21   ` Alan McKinnon
  2014-01-09 14:17     ` Peter Humphrey
  0 siblings, 1 reply; 5+ messages in thread
From: Alan McKinnon @ 2014-01-09  9:21 UTC (permalink / raw
  To: gentoo-user

On 08/01/2014 22:05, Daniel Frey wrote:
> On 01/05/2014 01:41 PM, Alan McKinnon wrote:
>> I have Gentoo on a first gen Acer Aspire One. The teeny keyboard doesn't
>> have a numpad, it's simulated by using the right-hand bunch of keys and
>> you engage it with Fn-F11
>>
>> It's recently started booting up with the numpad on which is annoying at
>> first login as my username is not a3an0 .... The Num LED is also off at
>> this stage. There used to be a way to set numlock on or off in
>> baselayout/openrc but now I can't find it. "grep -r numlock /etc"
>> returns nothing relevant, and /etc/init.d/numlock is to enable it with
>> no function to disable it (I have this script disable in default runlevel)
>>
>> How is this done these days?
>> Should I call setleds in rc.local somewhere?
>>
>>
> 
> Are you booting into X? If you are try x11-misc/numlockx.
> 
> I think all you have to do is use `numlockx off` and it should turn it off.
> 
> I had to do that for my laptop, same problem.



It all seems to have sorted itself out somehow. I removed everything
related to numlock and power cycled. The netbook now boots with numlock off.

I'm not at all sure how this works on this keyboard. Perhaps the
hardware remembers the numlock state before power-down and resets it at
power-up?

I'm going to let sleeping dogs lie and leave this issue alone for now.
If I'm lucky it won't recur :-)

-- 
Alan McKinnon
alan.mckinnon@gmail.com



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] disable numlock on netbook
  2014-01-09  9:21   ` Alan McKinnon
@ 2014-01-09 14:17     ` Peter Humphrey
  0 siblings, 0 replies; 5+ messages in thread
From: Peter Humphrey @ 2014-01-09 14:17 UTC (permalink / raw
  To: gentoo-user

On Thursday 09 Jan 2014 11:21:36 Alan McKinnon wrote:

> I'm going to let sleeping dogs lie and leave this issue alone for now.
> If I'm lucky it won't recur :-)

I like the reference to dogs and curs...

-- 
Regards
Peter



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2014-01-09 14:18 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-05 21:41 [gentoo-user] disable numlock on netbook Alan McKinnon
2014-01-08 12:02 ` Mick
2014-01-08 20:05 ` Daniel Frey
2014-01-09  9:21   ` Alan McKinnon
2014-01-09 14:17     ` Peter Humphrey

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox