public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] NumLock puzzle
@ 2016-05-24 11:09 Philip Webb
  2016-05-24 13:50 ` wabe
  0 siblings, 1 reply; 10+ messages in thread
From: Philip Webb @ 2016-05-24 11:09 UTC (permalink / raw
  To: Gentoo User

I've noticed that the NumLock key goes off after 'startx'.
My window manager is Fluxbox & I don't see any mention there
nor does there seem to be any setting under  /etc/X11 .
I have added 'numlock' to the default runlevel, but that makes no difference.

Can anyone suggest what I'm missing ?

-- 
========================,,============================================
SUPPORT     ___________//___,   Philip Webb
ELECTRIC   /] [] [] [] [] []|   Cities Centre, University of Toronto
TRANSIT    `-O----------O---'   purslowatchassdotutorontodotca



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

* Re: [gentoo-user] NumLock puzzle
  2016-05-24 11:09 [gentoo-user] NumLock puzzle Philip Webb
@ 2016-05-24 13:50 ` wabe
  2016-05-24 17:27   ` Philip Webb
  0 siblings, 1 reply; 10+ messages in thread
From: wabe @ 2016-05-24 13:50 UTC (permalink / raw
  To: gentoo-user

Philip Webb <purslow@ca.inter.net> wrote:

> I've noticed that the NumLock key goes off after 'startx'.
> My window manager is Fluxbox & I don't see any mention there
> nor does there seem to be any setting under  /etc/X11 .
> I have added 'numlock' to the default runlevel, but that makes no
> difference.
> 
> Can anyone suggest what I'm missing ?
> 

I had the same "problem" under XFCE till I added this to my 
.xinitrc

xsetleds +num -caps -scroll

--
Regards
wabe


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

* Re: [gentoo-user] NumLock puzzle
  2016-05-24 13:50 ` wabe
@ 2016-05-24 17:27   ` Philip Webb
  2016-05-24 17:41     ` wabe
  2016-05-24 21:29     ` Dutch Ingraham
  0 siblings, 2 replies; 10+ messages in thread
From: Philip Webb @ 2016-05-24 17:27 UTC (permalink / raw
  To: gentoo-user

160524 wabe wrote:
> Philip Webb <purslow@ca.inter.net> wrote:
>> I've noticed that the NumLock key goes off after 'startx'.
>> My window manager is Fluxbox & I don't see any mention there
>> nor does there seem to be any setting under  /etc/X11 .
>> I have added 'numlock' to the default runlevel,
>> but that makes no difference.
> I had the same "problem" under XFCE till I added to my .xinitrc
> 'xsetleds +num -caps -scroll'

I tried that, inserting it before/after 'startfluxbox',
but it makes no difference.
'xsetleds' has no man file & 'which xsetleds' yields nothing.

Thanks for trying so far.  Does anyone have further advice ?

-- 
========================,,============================================
SUPPORT     ___________//___,   Philip Webb
ELECTRIC   /] [] [] [] [] []|   Cities Centre, University of Toronto
TRANSIT    `-O----------O---'   purslowatchassdotutorontodotca



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

* Re: [gentoo-user] NumLock puzzle
  2016-05-24 17:27   ` Philip Webb
@ 2016-05-24 17:41     ` wabe
  2016-05-24 18:09       ` Mick
  2016-05-24 21:29     ` Dutch Ingraham
  1 sibling, 1 reply; 10+ messages in thread
From: wabe @ 2016-05-24 17:41 UTC (permalink / raw
  To: gentoo-user

Philip Webb <purslow@ca.inter.net> wrote:

> 160524 wabe wrote:
> > Philip Webb <purslow@ca.inter.net> wrote:  
> >> I've noticed that the NumLock key goes off after 'startx'.
> >> My window manager is Fluxbox & I don't see any mention there
> >> nor does there seem to be any setting under  /etc/X11 .
> >> I have added 'numlock' to the default runlevel,
> >> but that makes no difference.  
> > I had the same "problem" under XFCE till I added to my .xinitrc
> > 'xsetleds +num -caps -scroll'  
> 
> I tried that, inserting it before/after 'startfluxbox',
> but it makes no difference.
> 'xsetleds' has no man file & 'which xsetleds' yields nothing.

$ which xsetleds
/usr/bin/xsetleds

eix xsetleds
[I] x11-misc/xsetleds
     Verfügbare Versionen:   0.1.3{tbz2} ~0.1.3-r1
     Installierte Versionen: 0.1.3{tbz2}(07:53:32 25.10.2010)
     Startseite:             ftp://ftp.unix-ag.org/user/bmeurer/xsetleds/
     Beschreibung:           small tool to report and change the keyboard LED states of an X display


There is also a manpage for xsetleds. I guess, xsetleds isn't just 
installed on your system.

--
Regards
wabe



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

* Re: [gentoo-user] NumLock puzzle
  2016-05-24 17:41     ` wabe
@ 2016-05-24 18:09       ` Mick
  0 siblings, 0 replies; 10+ messages in thread
From: Mick @ 2016-05-24 18:09 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1745 bytes --]

On Tuesday 24 May 2016 19:41:41 wabe wrote:
> Philip Webb <purslow@ca.inter.net> wrote:
> > 160524 wabe wrote:
> > > Philip Webb <purslow@ca.inter.net> wrote:
> > >> I've noticed that the NumLock key goes off after 'startx'.
> > >> My window manager is Fluxbox & I don't see any mention there
> > >> nor does there seem to be any setting under  /etc/X11 .
> > >> I have added 'numlock' to the default runlevel,
> > >> but that makes no difference.
> > > 
> > > I had the same "problem" under XFCE till I added to my .xinitrc
> > > 'xsetleds +num -caps -scroll'
> > 
> > I tried that, inserting it before/after 'startfluxbox',
> > but it makes no difference.
> > 'xsetleds' has no man file & 'which xsetleds' yields nothing.
> 
> $ which xsetleds
> /usr/bin/xsetleds
> 
> eix xsetleds
> [I] x11-misc/xsetleds
>      Verfügbare Versionen:   0.1.3{tbz2} ~0.1.3-r1
>      Installierte Versionen: 0.1.3{tbz2}(07:53:32 25.10.2010)
>      Startseite:             ftp://ftp.unix-ag.org/user/bmeurer/xsetleds/
>      Beschreibung:           small tool to report and change the keyboard
> LED states of an X display
> 
> 
> There is also a manpage for xsetleds. I guess, xsetleds isn't just
> installed on your system.
> 
> --
> Regards
> wabe

Alternatively, check man xset.

I was not sure if either of these just switches the LEDs on/off, or if it also 
modifies the underlying functionality.  I couldn't get xset to change my 
numlock because it wouldn't recognise "Num Lock" as a name and numbers 1 to 3 
would not have an effect on it.

Anyway, the way I did it was by emerging numlockx and then creating this file:

cat /etc/X11/xinit/xinitrc.d/95-numlockx
#!/bin/sh
numlockx on

-- 
Regards,
Mick

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

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

* Re: [gentoo-user] NumLock puzzle
  2016-05-24 17:27   ` Philip Webb
  2016-05-24 17:41     ` wabe
@ 2016-05-24 21:29     ` Dutch Ingraham
  2016-06-06  3:12       ` Philip Webb
  1 sibling, 1 reply; 10+ messages in thread
From: Dutch Ingraham @ 2016-05-24 21:29 UTC (permalink / raw
  To: gentoo-user

On Tue, May 24, 2016 at 01:27:06PM -0400, Philip Webb wrote:
> 160524 wabe wrote:
> > Philip Webb <purslow@ca.inter.net> wrote:
> >> I've noticed that the NumLock key goes off after 'startx'.
> >> My window manager is Fluxbox & I don't see any mention there
> >> nor does there seem to be any setting under  /etc/X11 .
> >> I have added 'numlock' to the default runlevel,
> >> but that makes no difference.
> > I had the same "problem" under XFCE till I added to my .xinitrc
> > 'xsetleds +num -caps -scroll'
> 
> I tried that, inserting it before/after 'startfluxbox',
> but it makes no difference.
> 'xsetleds' has no man file & 'which xsetleds' yields nothing.
> 
> Thanks for trying so far.  Does anyone have further advice ?

Sorry if I missed something in this thread, but could you confirm you
have the x11-misc/numlockx package installed and have, as the last two
lines in your .xinitrc:
numlockx&
exec fluxbox


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

* Re: [gentoo-user] NumLock puzzle
  2016-05-24 21:29     ` Dutch Ingraham
@ 2016-06-06  3:12       ` Philip Webb
  2016-06-06  4:18         ` Dutch Ingraham
  0 siblings, 1 reply; 10+ messages in thread
From: Philip Webb @ 2016-06-06  3:12 UTC (permalink / raw
  To: gentoo-user

160524 Dutch Ingraham wrote:
> Philip Webb <purslow@ca.inter.net> wrote:
>> I've noticed that the NumLock key goes off after 'startx'.
>> My window manager is Fluxbox & I don't see any mention there
>> nor does there seem to be any setting under  /etc/X11 .
>> I have added 'numlock' to the default runlevel,
>> but that makes no difference.
> Could you confirm you have  x11-misc/numlockx  installed
> and have as the last two lines in your  .xinitrc :
>   numlockx&
>   exec fluxbox

Thanks : that works ! -- when X starts, the LED blinks & Numlock is on.
NB my  .xinitrc  has 'numlockx &' : isn't the space necessary ?

The other suggestions --  xset  &  xsetleds  -- don't seem to work.

-- 
========================,,============================================
SUPPORT     ___________//___,   Philip Webb
ELECTRIC   /] [] [] [] [] []|   Cities Centre, University of Toronto
TRANSIT    `-O----------O---'   purslowatchassdotutorontodotca



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

* Re: [gentoo-user] NumLock puzzle
  2016-06-06  3:12       ` Philip Webb
@ 2016-06-06  4:18         ` Dutch Ingraham
  2016-06-06  6:28           ` Philip Webb
  0 siblings, 1 reply; 10+ messages in thread
From: Dutch Ingraham @ 2016-06-06  4:18 UTC (permalink / raw
  To: gentoo-user

On Sun, Jun 05, 2016 at 11:12:07PM -0400, Philip Webb wrote:
> 160524 Dutch Ingraham wrote:
> > Could you confirm you have  x11-misc/numlockx  installed
> > and have as the last two lines in your  .xinitrc :
> >   numlockx&
> >   exec fluxbox
> 
> Thanks : that works ! -- when X starts, the LED blinks & Numlock is on.
> NB my  .xinitrc  has 'numlockx &' : isn't the space necessary ?

Nope - the space should't make a difference.
> 
> The other suggestions --  xset  &  xsetleds  -- don't seem to work.
> 
> 
> 


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

* Re: [gentoo-user] NumLock puzzle
  2016-06-06  4:18         ` Dutch Ingraham
@ 2016-06-06  6:28           ` Philip Webb
  2016-06-06  8:29             ` Peter Humphrey
  0 siblings, 1 reply; 10+ messages in thread
From: Philip Webb @ 2016-06-06  6:28 UTC (permalink / raw
  To: gentoo-user

160605 Dutch Ingraham wrote:
> On Sun, Jun 05, 2016 at 11:12:07PM -0400, Philip Webb wrote:
>> NB my  .xinitrc  has 'numlockx &' : isn't the space necessary ?
> Nope - the space should't make a difference.

No indeed, it doesn't : you learn something every day.

-- 
========================,,============================================
SUPPORT     ___________//___,   Philip Webb
ELECTRIC   /] [] [] [] [] []|   Cities Centre, University of Toronto
TRANSIT    `-O----------O---'   purslowatchassdotutorontodotca



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

* Re: [gentoo-user] NumLock puzzle
  2016-06-06  6:28           ` Philip Webb
@ 2016-06-06  8:29             ` Peter Humphrey
  0 siblings, 0 replies; 10+ messages in thread
From: Peter Humphrey @ 2016-06-06  8:29 UTC (permalink / raw
  To: gentoo-user

On Monday 06 Jun 2016 02:28:48 Philip Webb wrote:
> 160605 Dutch Ingraham wrote:
> > On Sun, Jun 05, 2016 at 11:12:07PM -0400, Philip Webb wrote:
> >> NB my  .xinitrc  has 'numlockx &' : isn't the space necessary ?
> > 
> > Nope - the space should't make a difference.
> 
> No indeed, it doesn't : you learn something every day.

...if you're not careful  :)

-- 
Rgds
Peter



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

end of thread, other threads:[~2016-06-06  8:30 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-24 11:09 [gentoo-user] NumLock puzzle Philip Webb
2016-05-24 13:50 ` wabe
2016-05-24 17:27   ` Philip Webb
2016-05-24 17:41     ` wabe
2016-05-24 18:09       ` Mick
2016-05-24 21:29     ` Dutch Ingraham
2016-06-06  3:12       ` Philip Webb
2016-06-06  4:18         ` Dutch Ingraham
2016-06-06  6:28           ` Philip Webb
2016-06-06  8:29             ` Peter Humphrey

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