Re: [gentoo-user] NumLock puzzle

2016-06-06 Thread Peter Humphrey
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




Re: [gentoo-user] NumLock puzzle

2016-06-06 Thread Philip Webb
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




Re: [gentoo-user] NumLock puzzle

2016-06-05 Thread Dutch Ingraham
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.
> 
> 
> 



Re: [gentoo-user] NumLock puzzle

2016-06-05 Thread Philip Webb
160524 Dutch Ingraham wrote:
> Philip Webb  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




Re: [gentoo-user] NumLock puzzle

2016-05-24 Thread Dutch Ingraham
On Tue, May 24, 2016 at 01:27:06PM -0400, Philip Webb wrote:
> 160524 wabe wrote:
> > Philip Webb  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



Re: [gentoo-user] NumLock puzzle

2016-05-24 Thread Mick
On Tuesday 24 May 2016 19:41:41 wabe wrote:
> Philip Webb  wrote:
> > 160524 wabe wrote:
> > > Philip Webb  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

signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] NumLock puzzle

2016-05-24 Thread wabe
Philip Webb  wrote:

> 160524 wabe wrote:
> > Philip Webb  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




Re: [gentoo-user] NumLock puzzle

2016-05-24 Thread Philip Webb
160524 wabe wrote:
> Philip Webb  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




Re: [gentoo-user] NumLock puzzle

2016-05-24 Thread wabe
Philip Webb  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



[gentoo-user] NumLock puzzle

2016-05-24 Thread Philip Webb
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