Re: Num Lock off but on

2011-10-03 Thread Camaleón
On Mon, 03 Oct 2011 03:31:43 +0200, Mark Panen wrote:

> Just the other day  i noticed when the Num Lock LED is off i can type
> with the keypad numeral's. But when the LED is on it is dead. Any ideas?
> 
> Worked fine for ages.

Sometimes, when running on X session, "Caps Lock" key goes nuts and 
behaves the opposite (on → lowercase, off → uppercase), similar to your 
Num Lock key problem. Relogin (or restarting X server) returns the sanity 
to this key :-)

Greetings,

-- 
Camaleón


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/pan.2011.10.03.13.52...@gmail.com



Re: Num Lock off but on

2011-10-02 Thread Mark Panen
On Mon, Oct 3, 2011 at 3:41 AM, Matt Harrison  wrote:
> On Sun, Oct 2, 2011 at 9:31 PM, Mark Panen  wrote:
>> Hi,
>>
>> Just the other day  i noticed when the Num Lock LED is off i can type
>> with the keypad numeral's. But when the LED is on it is dead. Any
>> ideas?
>>
>> Worked fine for ages.
>>
>> Cheers
>>
>> Mark
>>
>>
>
> Are you using numlockx by chance?  I know in Stable, numlockx turns
> numlock on, but the LED stays off.
>


Installing numlockx seems to have solved the problem, will wait till
next reboot. Now have LED on and numerical keypad works. 1234567890


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/cabwh29kh74rkt174anrksgjgenpyzjo4jbzwt9sf6cik4_4...@mail.gmail.com



Re: Num Lock off but on

2011-10-02 Thread Matt Harrison
On Sun, Oct 2, 2011 at 9:31 PM, Mark Panen  wrote:
> Hi,
>
> Just the other day  i noticed when the Num Lock LED is off i can type
> with the keypad numeral's. But when the LED is on it is dead. Any
> ideas?
>
> Worked fine for ages.
>
> Cheers
>
> Mark
>
>

Are you using numlockx by chance?  I know in Stable, numlockx turns
numlock on, but the LED stays off.


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/ca+cmqzrdfzmktkfwr2b_9juhssvaem1h18fg0lymz4xs86o...@mail.gmail.com



Num Lock off but on

2011-10-02 Thread Mark Panen
Hi,

Just the other day  i noticed when the Num Lock LED is off i can type
with the keypad numeral's. But when the LED is on it is dead. Any
ideas?

Worked fine for ages.

Cheers

Mark


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/cabwh29kzjebfm2lwmapywc+e+41mr9am2hwg8d1okpnod5d...@mail.gmail.com



Num lock led works inversely

2008-07-22 Thread hbayindir
Hi again,

I'm having a problem which is spred over my all desktop computers which
are running debian lenny or debian sid/lenny mixtures.

The kernel is 2.6.25-2 lenny and window manager is KDE and installed from
lenny repositories in all setups.

The problem shows itself only when I set "turn on numlock  on kde
startup". The numlock is turned on but its led is not. As a result, until
I set "Don't turn on numlock on kde startup" and restart kde, numlock led
behaves just inverse. When its led is lighted up, it means numpad is
deactivated. If the led is dark, numpad works (when I press the numbers, I
get numbers, not actions).

Virtual consoles doesn't exhibit this problem, everything works as
expected (lighted up led means active).

I intend to file a bug report if nobody has a solution or idea so, can
anybody also say that which package this problem belong? My first guesses
are kde or xserver-xorg-core.

Thanks in advance,

Hakan.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Num Lock nor Caps Lock LEDs working in Sid

2007-09-29 Thread Andrew Sackville-West
On Sat, Sep 29, 2007 at 09:05:42AM -0500, Nate Bargmann wrote:
> Here is the Free desktop.org thread decrying these issues we've
> noticed.  Seems the LED issue has been "known for months".  :-(
> 
> http://lists.freedesktop.org/pipermail/xorg/2007-September/028659.html
> 

the upside to debian's perceived slowness in upgrading...

A


signature.asc
Description: Digital signature


Re: Num Lock nor Caps Lock LEDs working in Sid

2007-09-29 Thread Nate Bargmann
Here is the Free desktop.org thread decrying these issues we've
noticed.  Seems the LED issue has been "known for months".  :-(

http://lists.freedesktop.org/pipermail/xorg/2007-September/028659.html

- Nate >>

-- 
 Wireless | Amateur Radio Station N0NB  |  Successfully Microsoft
  Amateur radio exams; ham radio; Linux info @  | free since January 1998.
 http://www.qsl.net/n0nb/   |  "Debian, the choice of
 My Kawasaki KZ-650 SR @| a GNU generation!"
http://www.networksplus.net/n0nb/   |   http://www.debian.org


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Num Lock nor Caps Lock LEDs working in Sid

2007-09-26 Thread Andrew Sackville-West
On Tue, Sep 25, 2007 at 06:16:59PM -0500, Nate Bargmann wrote:
> * Ron Johnson <[EMAIL PROTECTED]> [2007 Sep 25 18:08 -0500]:
> 
> > Yup.  NumLock light stays on, CapsLock and ScrollLock stay off.  At
> > the console, they toggle as normal.  (I use startx to fire up X.)
> 
> I log in via KDM.
> 
> > Even though the lights don't toggle, CAPS LOCK still works.
> 
> Hmmm, my LEDs stay off in X, but then I think they are off all the way
> through the boot process.  I just confirmed the same behavior on my
> laptop with Sid up-to-date.

confirmed here too up-to-date side, startx, wmii. 

numlock led on, caps lock led off, but both keys function normally
otherwise. also, note that numlockx both functions properly with
regard to behavior of the keys but it *also* toggles the led
properly. 

note that there are several bug reports and its been forwarded
upstream. problem is in xserver-xorg-core. I assume we'll see a fix
shortly. 


A


signature.asc
Description: Digital signature


Re: Num Lock nor Caps Lock LEDs working in Sid

2007-09-25 Thread Kent West

Nate Bargmann wrote:

This is one of the joys of using Sid.  ;-)

I noticed over the weekend when using OOo Calc that pressing Num Lock
on my IBM PS/2 keyborad did nothing.  Neither the LED lit nor did Calc
receive numerals from the keypad.

I can switch to a VT and the LEDs light correctly and the keyboard
output is correct for their state.  Back into X I cannot get the LEDs
to light but upper/lower case text and numerals from the keypad do
toggle in Konsole (I'm running KDE).

The only bug report I've found discusses xserver-xorg-input-kbd not
keeping the Num Lock LED state when switching from a VT to X.  Is
anyone else seeing this behavior?

- Nate >>

  
Yes, I've just done a fresh install of Sid on a box, and have gotten 
quite frustrated with several things:
* the num/scroll/caps lock keys don't toggle the LED (although they seem 
to toggle the function)
* X almost seems to ignore my xorg.conf file; I can't get the dpi or 
resolution or refresh set right
* the tv tuner card which worked with Fedora Core doesn't seem to work 
with Sid
* the KMix mixer's main control doesn't control volume; instead, some 
sub-slider does
Nothing show-stopping; just little nigglets. The joys of using unstable? 
Or of using Debian? (make room, McCarty's girlfriend (just kidding!))


--
Kent


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Num Lock nor Caps Lock LEDs working in Sid

2007-09-25 Thread Nate Bargmann
* Ron Johnson <[EMAIL PROTECTED]> [2007 Sep 25 18:08 -0500]:

> Yup.  NumLock light stays on, CapsLock and ScrollLock stay off.  At
> the console, they toggle as normal.  (I use startx to fire up X.)

I log in via KDM.

> Even though the lights don't toggle, CAPS LOCK still works.

Hmmm, my LEDs stay off in X, but then I think they are off all the way
through the boot process.  I just confirmed the same behavior on my
laptop with Sid up-to-date.

- Nate >>

-- 
 Wireless | Amateur Radio Station N0NB  |  Successfully Microsoft
  Amateur radio exams; ham radio; Linux info @  | free since January 1998.
 http://www.qsl.net/n0nb/   |  "Debian, the choice of
 My Kawasaki KZ-650 SR @| a GNU generation!"
http://www.networksplus.net/n0nb/   |   http://www.debian.org


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Num Lock nor Caps Lock LEDs working in Sid

2007-09-25 Thread Ron Johnson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 09/25/07 17:55, Nate Bargmann wrote:
> This is one of the joys of using Sid.  ;-)
> 
> I noticed over the weekend when using OOo Calc that pressing Num Lock
> on my IBM PS/2 keyborad did nothing.  Neither the LED lit nor did Calc
> receive numerals from the keypad.
> 
> I can switch to a VT and the LEDs light correctly and the keyboard
> output is correct for their state.  Back into X I cannot get the LEDs
> to light but upper/lower case text and numerals from the keypad do
> toggle in Konsole (I'm running KDE).
> 
> The only bug report I've found discusses xserver-xorg-input-kbd not
> keeping the Num Lock LED state when switching from a VT to X.  Is
> anyone else seeing this behavior?

Yup.  NumLock light stays on, CapsLock and ScrollLock stay off.  At
the console, they toggle as normal.  (I use startx to fire up X.)

Even though the lights don't toggle, CAPS LOCK still works.

- --
Ron Johnson, Jr.
Jefferson LA  USA

Give a man a fish, and he eats for a day.
Hit him with a fish, and he goes away for good!

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFG+ZPQS9HxQb37XmcRAvCMAJ0bVu7Xk3ICL9BP4d34vDn2Qg4l1ACcCVyV
B8oiTfk7jGDBlkLxQ2KI6KI=
=yHzK
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Num Lock nor Caps Lock LEDs working in Sid

2007-09-25 Thread Nate Bargmann
This is one of the joys of using Sid.  ;-)

I noticed over the weekend when using OOo Calc that pressing Num Lock
on my IBM PS/2 keyborad did nothing.  Neither the LED lit nor did Calc
receive numerals from the keypad.

I can switch to a VT and the LEDs light correctly and the keyboard
output is correct for their state.  Back into X I cannot get the LEDs
to light but upper/lower case text and numerals from the keypad do
toggle in Konsole (I'm running KDE).

The only bug report I've found discusses xserver-xorg-input-kbd not
keeping the Num Lock LED state when switching from a VT to X.  Is
anyone else seeing this behavior?

- Nate >>

-- 
 Wireless | Amateur Radio Station N0NB  |  Successfully Microsoft
  Amateur radio exams; ham radio; Linux info @  | free since January 1998.
 http://www.qsl.net/n0nb/   |  "Debian, the choice of
 My Kawasaki KZ-650 SR @| a GNU generation!"
http://www.networksplus.net/n0nb/   |   http://www.debian.org


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: NUM Lock , Home, End - Patch

2005-09-24 Thread John Hasler
Simo writes:
> I haven't tested this "patch", but it might do the trick:

I thought the idea was to make each user's choice of numlock setting
persist through logouts and reboots.
-- 
John Hasler


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: NUM Lock , Home, End - Patch

2005-09-24 Thread Simo Kauppi
John Hasler Wrote:
>Bozhan Boiadzhiev writes:
>> huh what window manager i didn't use X at all
>
>Then you'll want to patch all the shells.
>-- 
>John Hasler

Hi,

I haven't tested this "patch", but it might do the trick:

--- /etc/console-tools/config   2005-09-25 01:27:52.0 +0300
+++ /etc/console-tools/config   2005-09-25 01:28:01.0 +0300
@@ -69,7 +69,7 @@
 #KEYBOARD_DELAY="250"
  
 # Turn on numlock by default
-#LEDS=+num
+LEDS=+num
 APP_CHARSET_MAP=iso15
 APP_CHARSET_MAP_vc1=iso15
 APP_CHARSET_MAP_vc2=iso15

;)
Simo
-- 
:r ~/.signature


signature.asc
Description: Digital signature


Re: NUM Lock , Home, End

2005-09-23 Thread Marty

John Hasler wrote:

Marty writes:

Some init scripts use configation files in /etc/default, and I guess the
script's stop routine could store the NUMLOCK state upon system shutdown,
if that state is accessable from the system.


That would set it globally, not for each user.


I agree, and I see that I missed your point.  On the other hand it could solve
the original problem in the majority of practical cases.

Maybe the ultimate solution would be a mechanism for changing global defaults
on the fly, either automatically or by user initiative.  I'm thinking of 
something
along the lines of udev/hotplug, which prove that even Unix can learn new 
tricks,
although I'm not sure about the level of kernel involvement.  Whether multi-user
PCs represent a large enough user base to justify the effort, is another matter.

Since Windows was brought up earlier in this thread, I'll just point out that
the issues are much simpler because Windows doesn't allow more than one 
concurrent
user logging in on the console, so it's not a fair comparison.  Given a choice I
would rather live with Debian's limitations.


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: NUM Lock , Home, End

2005-09-23 Thread John Hasler
Bozhan Boiadzhiev writes:
> huh what window manager i didn't use X at all

Then you'll want to patch all the shells.
-- 
John Hasler


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: NUM Lock , Home, End

2005-09-23 Thread Bozhan Boiadzhiev

Ron Johnson wrote:


On Thu, 2005-09-22 at 19:01 -0500, Seth Goodman wrote:
 


From: Marty [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 22, 2005 6:47 PM
 


<...>

   


Sounds like a good reason to file a wishlist bug report.
 


I'd be happy to do so.  Where do I file this type of feature request, and do
I need to know the name of the package to do it?
   



Every window manager that you want this feature in.

 


huh what window manager i didn't use X at all


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: NUM Lock , Home, End

2005-09-23 Thread Ron Johnson
On Fri, 2005-09-23 at 07:27 -0500, Hugo Vanwoerkom wrote:
> Mariusz Kruk wrote:
> > [EMAIL PROTECTED] napisał(a):
> > 
> >> Hi
> >> last 5 years i've didn't seen any keyboard without this buttons.
> >> And they can't  be used for andthing else instead of therir main 
> >> function.
> >> Isn't time for debian to enable them by default or to provide ability to
> >> configure them on install.
> > 
> > 
> > Can you be more specific? Because I have all those keys working.
> > Therefore I may only assume PEBKAC
> 
> PEBKAC?

~$ dict pebkac
3 definitions found

From The Free On-line Dictionary of Computing (19 Sep 2003) [foldoc]:

  PEBKAC
  
 {PEBCAK}
  

From Jargon File (4.4.4, 14 Aug 2003) [jargon]:

  PEBKAC
   /peb'kak/
  
 [Abbrev., "Problem Exists Between Keyboard And Chair"] Used by
 support people, particularly at call centers and help desks. Not
used
 with the public. Denotes pilot error as the cause of the crash,
 especially stupid errors that even a {luser} could figure out. Very
 derogatory. Usage: "Did you ever figure out why that guy couldn't
 print?" "Yeah, he kept cancelling the operation before it could
 finish. PEBKAC". See also {ID10T}. Compare {pilot error}, {UBD}.
  

From V.E.R.A. -- Virtual Entity of Relevant Acronyms (March 2005)
[vera]:

  PEBKAC
 Problem Exists Between Keyboard And Chair (telecommunication,
  Usenet, IRC)
 


-- 
-
Ron Johnson, Jr.
Temporarily not of Jefferson, LA USA
PGP Key ID 8834C06B I prefer encrypted mail.

"A wise government knows how to enforce with temper, or to
conciliate with dignity."
George Grenville, British prime minister



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


RE: NUM Lock , Home, End

2005-09-23 Thread Ron Johnson
On Thu, 2005-09-22 at 19:01 -0500, Seth Goodman wrote:
> > From: Marty [mailto:[EMAIL PROTECTED]
> > Sent: Thursday, September 22, 2005 6:47 PM
> 
> <...>
> 
> > Sounds like a good reason to file a wishlist bug report.
> 
> I'd be happy to do so.  Where do I file this type of feature request, and do
> I need to know the name of the package to do it?

Every window manager that you want this feature in.

-- 
-
Ron Johnson, Jr.
Temporarily not of Jefferson, LA USA
PGP Key ID 8834C06B I prefer encrypted mail.

The graduate with a Science degree asks, "Why does it work?"
The graduate with an Engineering degree asks, "How does it work?"
The graduate with an Accounting degree asks, "How much will it
cost?"
The graduate with a Liberal Arts degree asks, "Do you want fries
with that?"



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


Re: NUM Lock , Home, End

2005-09-23 Thread Ron Johnson
On Thu, 2005-09-22 at 19:05 -0500, John Hasler wrote:
> Ron Johnson writes:
> > xnumlock
> 
> Don't you mean numlockx?

Yes.

-- 
-
Ron Johnson, Jr.
Temporarily not of Jefferson, LA USA
PGP Key ID 8834C06B I prefer encrypted mail.

"Peace is a daily, a weekly, a monthly process, gradually
changing opinions, slowly eroding old barriers, quietly building
new structures."
John F Kennedy



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


Re: NUM Lock , Home, End

2005-09-23 Thread Kent West
Hugo Vanwoerkom wrote:

> PEBKAC?


Problem Exists Between Keyboard And Chair

Another common computer problem is the "I.D. Ten-T" issue, more commonly
written as ID10T.

-- 
Kent


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: NUM Lock , Home, End

2005-09-23 Thread Frank Gevaerts
On Fri, Sep 23, 2005 at 07:27:12AM -0500, Hugo Vanwoerkom wrote:
> PEBKAC?

Problem Exists Between Keyboard And Chair, or user error.

Frank

-- 
"Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are,
by definition, not smart enough to debug it." - Brian W. Kernighan


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: NUM Lock , Home, End

2005-09-23 Thread John Hasler
Marty writes:
> Some init scripts use configation files in /etc/default, and I guess the
> script's stop routine could store the NUMLOCK state upon system shutdown,
> if that state is accessable from the system.

That would set it globally, not for each user.
-- 
John Hasler


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: NUM Lock , Home, End

2005-09-23 Thread Hugo Vanwoerkom

Mariusz Kruk wrote:

[EMAIL PROTECTED] napisał(a):


Hi
last 5 years i've didn't seen any keyboard without this buttons.
And they can't  be used for andthing else instead of therir main 
function.

Isn't time for debian to enable them by default or to provide ability to
configure them on install.



Can you be more specific? Because I have all those keys working.
Therefore I may only assume PEBKAC




PEBKAC?


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: NUM Lock , Home, End

2005-09-23 Thread michael
On Fri, 2005-09-23 at 00:45 -0400, Angelo Bertolli wrote:
> Marty wrote:
> 
> > John Hasler wrote:
> >
> >> Marty writes:
> >>
> >>> I was thinking it should be handled during boot by an init script like
> >>> keymap.sh (just a guess).
> >>
> >>
> >> How would that set it correctly for each user?
> >
> >
> > Some init scripts use configation files in /etc/default, and I guess
> > the script's stop routine could store the NUMLOCK state upon system
> > shutdown, if that state is accessable from the system.
> 
> I think the job belongs in the shell and window manager/desktop config 
> files on a per-user basis.  I don't think it's a job for init.
> 

well it depends whether you want the non-GUI to have it on or off or
last value, in which case it'd be pre-XDM (etc) level

having not used MS WinXX for a while I can't remember if it's a correct
assertion that that OS uses 'remember last' (I thought it was just a
BIOS setting last time I looked)

-- 
Michael Bane
Atmospheric Physics Group
University of Manchester


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: NUM Lock , Home, End

2005-09-23 Thread Mariusz Kruk

[EMAIL PROTECTED] napisał(a):

Can you be more specific? Because I have all those keys working.
Therefore I may only assume PEBKAC

you have numlock enabled for every console?
and HOME return you in begining of command promt and END in the end?
i have to press ctrl+a or ctrl+e


Yes, I never had any problems with keyboards (except the polish keyboard 
issues with X-Window few years ago). And I've used many different 
distributions. What architecture do you use? i386?



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: NUM Lock , Home, End

2005-09-22 Thread Angelo Bertolli

Marty wrote:


John Hasler wrote:


Marty writes:


I was thinking it should be handled during boot by an init script like
keymap.sh (just a guess).



How would that set it correctly for each user?



Some init scripts use configation files in /etc/default, and I guess
the script's stop routine could store the NUMLOCK state upon system
shutdown, if that state is accessable from the system.


I think the job belongs in the shell and window manager/desktop config 
files on a per-user basis.  I don't think it's a job for init.



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: NUM Lock , Home, End

2005-09-22 Thread Marty

John Hasler wrote:

Marty writes:

I was thinking it should be handled during boot by an init script like
keymap.sh (just a guess).


How would that set it correctly for each user?


Some init scripts use configation files in /etc/default, and I guess
the script's stop routine could store the NUMLOCK state upon system
shutdown, if that state is accessable from the system.


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: NUM Lock , Home, End

2005-09-22 Thread John Hasler
Marty writes:
> I was thinking it should be handled during boot by an init script like
> keymap.sh (just a guess).

How would that set it correctly for each user?
-- 
John Hasler


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: NUM Lock , Home, End

2005-09-22 Thread John Hasler
Ron Johnson writes:
> xnumlock

Don't you mean numlockx?
-- 
John Hasler


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: NUM Lock , Home, End

2005-09-22 Thread John Hasler
Seth Goodman writes:
> If we want Linux to be the ubiquitous OS, and not just for the
> cognoscenti, we can't ignore details like this.

So file a wishlist bug with a patch.
-- 
John Hasler


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



RE: NUM Lock , Home, End

2005-09-22 Thread Seth Goodman
> From: Marty [mailto:[EMAIL PROTECTED]
> Sent: Thursday, September 22, 2005 6:47 PM

<...>

> Sounds like a good reason to file a wishlist bug report.

I'd be happy to do so.  Where do I file this type of feature request, and do
I need to know the name of the package to do it?


--

Seth Goodman


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: NUM Lock , Home, End

2005-09-22 Thread Marty

Ron Johnson wrote:

On Thu, 2005-09-22 at 18:29 -0500, Seth Goodman wrote:

> From: Marty [mailto:[EMAIL PROTECTED]
> Sent: Thursday, September 22, 2005 6:10 PM

<...>

> I never set them, and these keys work for me both in VTs and X apps,
> on my Sarge systems.  Earlier versions of Debian and X had problems
> like this.

Well, my BIOS sets NUMLOCK on, but Sarge and Etch both turn it off, at least
with the gnome desktop.  I have to manually turn NUMLOCK back on.  Even the
bozos in Redmond have figured out that users want the computer to remember
how _they_ like it without the user taking any action or editing any
initialization scripts.


xnumlock


If we want Linux to be the ubiquitous OS, and not
just for the cognoscenti, we can't ignore details like this.


File a bug.  But against what?  Each WM?



I was thinking it should be handled during boot by an init script
like keymap.sh (just a guess).  Anything else that automatically
changes the state of NUMLOCK (e.g. Gnome) could be considered a bug.

First, however, you might want to check to see if one of the
derivative Odistros like Ubuntu have already solved this problem.
This is the just kind of integration issue they specialize in.


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: NUM Lock , Home, End

2005-09-22 Thread Marty

Seth Goodman wrote:

From: Marty [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 22, 2005 6:10 PM


<...>


I never set them, and these keys work for me both in VTs and X apps,
on my Sarge systems.  Earlier versions of Debian and X had problems
like this.


Well, my BIOS sets NUMLOCK on, but Sarge and Etch both turn it off, at least
with the gnome desktop.  I have to manually turn NUMLOCK back on.


I was referring to keymapping issues. Sorry if I misunderstood the issue here.
I agree that the default state of NUMLOCK should be easily configurable, and
possibly even stored between reboots.

  Even the

bozos in Redmond have figured out that users want the computer to remember
how _they_ like it without the user taking any action or editing any
initialization scripts.  If we want Linux to be the ubiquitous OS, and not
just for the cognoscenti, we can't ignore details like this.


Sounds like a good reason to file a wishlist bug report.




--

Seth Goodman





--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




RE: NUM Lock , Home, End

2005-09-22 Thread Ron Johnson
On Thu, 2005-09-22 at 18:29 -0500, Seth Goodman wrote:
> > From: Marty [mailto:[EMAIL PROTECTED]
> > Sent: Thursday, September 22, 2005 6:10 PM
> 
> <...>
> 
> > I never set them, and these keys work for me both in VTs and X apps,
> > on my Sarge systems.  Earlier versions of Debian and X had problems
> > like this.
> 
> Well, my BIOS sets NUMLOCK on, but Sarge and Etch both turn it off, at least
> with the gnome desktop.  I have to manually turn NUMLOCK back on.  Even the
> bozos in Redmond have figured out that users want the computer to remember
> how _they_ like it without the user taking any action or editing any
> initialization scripts.

xnumlock

> If we want Linux to be the ubiquitous OS, and not
> just for the cognoscenti, we can't ignore details like this.

File a bug.  But against what?  Each WM?

-- 
-
Ron Johnson, Jr.
Temporarily not of Jefferson, LA USA
PGP Key ID 8834C06B I prefer encrypted mail.

"You know your children are growing up when they stop asking you
where they came from and refuse to tell you where they're going."
P.J. O'Rourke, satirist



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


RE: NUM Lock , Home, End

2005-09-22 Thread Seth Goodman
> From: Marty [mailto:[EMAIL PROTECTED]
> Sent: Thursday, September 22, 2005 6:10 PM

<...>

> I never set them, and these keys work for me both in VTs and X apps,
> on my Sarge systems.  Earlier versions of Debian and X had problems
> like this.

Well, my BIOS sets NUMLOCK on, but Sarge and Etch both turn it off, at least
with the gnome desktop.  I have to manually turn NUMLOCK back on.  Even the
bozos in Redmond have figured out that users want the computer to remember
how _they_ like it without the user taking any action or editing any
initialization scripts.  If we want Linux to be the ubiquitous OS, and not
just for the cognoscenti, we can't ignore details like this.


--

Seth Goodman


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: NUM Lock , Home, End

2005-09-22 Thread Marty

[EMAIL PROTECTED] wrote:



you have numlock enabled for every console?
and HOME return you in begining of command promt and END in the end?
i have to press ctrl+a or ctrl+e


for VC's use setleds
for X use numlockx

home and end work as expected for me.

-matt zagrabelny


uhhh i know how to set them
but it is very stupid in my opinion
...
you cant use numlock for anything else.. there are other arrows..





I never set them, and these keys work for me both in VTs and X apps,
on my Sarge systems.  Earlier versions of Debian and X had problems
like this.


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




RE: NUM Lock , Home, End

2005-09-22 Thread Seth Goodman
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: Thursday, September 22, 2005 4:46 PM

<...>

> uhhh i know how to set them
> but it is very stupid in my opinion
> ...
> you cant use numlock for anything else.. there are other arrows..

Yes, it is foolish.  A certain other OS that none of us wishes to use
automatically remembers the setting each user chooses for the NUMLOCK key.
Some might say, "But you can put it in an init script".  I say, "why?".


--

Seth Goodman


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: NUM Lock , Home, End

2005-09-22 Thread edmon
>
>> you have numlock enabled for every console?
>> and HOME return you in begining of command promt and END in the end?
>> i have to press ctrl+a or ctrl+e
>
> for VC's use setleds
> for X use numlockx
>
> home and end work as expected for me.
>
> -matt zagrabelny

uhhh i know how to set them
but it is very stupid in my opinion
...
you cant use numlock for anything else.. there are other arrows..



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: NUM Lock , Home, End

2005-09-22 Thread Matt Zagrabelny

> you have numlock enabled for every console?
> and HOME return you in begining of command promt and END in the end?
> i have to press ctrl+a or ctrl+e

for VC's use setleds
for X use numlockx

home and end work as expected for me.

-matt zagrabelny


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: NUM Lock , Home, End

2005-09-22 Thread edmon
> [EMAIL PROTECTED] napisał(a):
>> Hi
>> last 5 years i've didn't seen any keyboard without this buttons.
>> And they can't  be used for andthing else instead of therir main
>> function.
>> Isn't time for debian to enable them by default or to provide ability to
>> configure them on install.
>
> Can you be more specific? Because I have all those keys working.
> Therefore I may only assume PEBKAC

you have numlock enabled for every console?
and HOME return you in begining of command promt and END in the end?
i have to press ctrl+a or ctrl+e



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: NUM Lock , Home, End

2005-09-22 Thread Mariusz Kruk

[EMAIL PROTECTED] napisał(a):

Hi
last 5 years i've didn't seen any keyboard without this buttons.
And they can't  be used for andthing else instead of therir main function.
Isn't time for debian to enable them by default or to provide ability to
configure them on install.


Can you be more specific? Because I have all those keys working.
Therefore I may only assume PEBKAC


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




NUM Lock , Home, End

2005-09-22 Thread edmon
Hi
last 5 years i've didn't seen any keyboard without this buttons.
And they can't  be used for andthing else instead of therir main function.
Isn't time for debian to enable them by default or to provide ability to
configure them on install.
Thanks


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Setting num lock portion of keyboard to start as default

2002-09-09 Thread Geek Assault

On Mon, Sep 09, 2002 at 07:13:13AM -0400, Antonio Rodriguez wrote:
> How do I do it? Both console and X.
> Thanks 2 all
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> 
NumlockX is what you need. Check http://dforce.sh.cvut.cz/~seli/en/numlockx/ if you 
want it from source, but you'll 
probably prefer packages ?? Apparently it's still in unstable, on my sarge  I can't 
find it yet.

-- 
It is, of course, a bit of a drawback that science was invented after I left school. 
-- Lord Carrington



msg01418/pgp0.pgp
Description: PGP signature


Re: Setting num lock portion of keyboard to start as default

2002-09-09 Thread Bob Hilliard

"Antonio Rodriguez" <[EMAIL PROTECTED]> writes:

> How do I do it? Both console and X.

For console - apt-get install console-tools
 The program is setleds - use the -D and +num options
 (I use a script in /etc/init.d to run it on boot.)
For X - apt-get install numlockx
 (The package installs a script in /etc/X11/Xsession.d to run it
automatically.) 

HTH

Bob
-- 
   _
  |_)  _  |_Robert D. Hilliard<[EMAIL PROTECTED]>
  |_) (_) |_)   1294 S.W. Seagull Way <[EMAIL PROTECTED]>
Palm City, FL 34990 USA   GPG Key ID: 390D6559 



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Setting num lock portion of keyboard to start as default

2002-09-09 Thread Antonio Rodriguez

How do I do it? Both console and X.
Thanks 2 all


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: caps lock...num lock...whatever...

2001-08-25 Thread Cliff Sarginson
On Saturday 25 August 2001 07:21, Dave Sherohman wrote:
> On Sat, Aug 25, 2001 at 07:49:34AM +0530, [EMAIL PROTECTED] wrote:
> > BTW what is  /dev/null all about ?
> >
> > if tty > /dev/null 2>&1 ; then
> >   case $(basename `tty`) in
>
> I added that in because, under certain circumstances (although I
> don't recall _which_ circumstances), 

Processes lose their controlling tty when they detach themselves
from it.
Cliff



Re: caps lock...num lock...whatever...

2001-08-25 Thread Cliff Sarginson
On Saturday 25 August 2001 04:19, [EMAIL PROTECTED] wrote:
> BTW what is  /dev/null all about ?
>
> Thanks
> ([EMAIL PROTECTED])
> Shyam

man 4 null

Cliff



Re: caps lock...num lock...whatever...

2001-08-25 Thread Dave Sherohman
On Sat, Aug 25, 2001 at 07:49:34AM +0530, [EMAIL PROTECTED] wrote:
> BTW what is  /dev/null all about ?

> if tty > /dev/null 2>&1 ; then
>   case $(basename `tty`) in

I added that in because, under certain circumstances (although I
don't recall _which_ circumstances), evaluating $(basename `tty`)
would spew an error because there wasn't a valid tty to work with.
So I call tty first and redirect everything to /dev/null just to get
the exit status, so that I can verify that there is a tty before
trying to examine it.

Of course, checking the man page now to see if it would remind me of
when the case statement would fail, I see that `tty -s` would do the
same thing as my stdout/stderr redirection...

-- 
With the arrest of Dimitry Sklyarov it has become apparent that it is not
safe for non US software engineers to visit the United States. - Alan Cox
"To prevent unauthorized reading..." - Adobe eBook reader license



Re: caps lock...num lock...whatever...

2001-08-24 Thread ktb
On Thu, Aug 23, 2001 at 11:06:25PM -0400, Jeff Maxson wrote:
> 
> ok, even stupider. I meant num lock, not caps lock.  how do you turn on
> num lock by default?

This is a hack I like.  Got it from the archives a while back -

Create ~/.Xmodmap -
! redefines numeric keypad to be used without NumLock
keycode 79 = 7
keycode 80 = 8
keycode 81 = 9

keycode 83 = 4
keycode 84 = 5
keycode 85 = 6

keycode 87 = 1
keycode 88 = 2
keycode 89 = 3

keycode 90 = 0
keycode 91 = period
keycode 86 = plus

! deactivates NumLock key
keycode 77 =

Then in .xinitrc or .xession -
exec xmodmap .Xmodmap &

If you want the num lock "on" all the time this will do it for you.
kent




Re: caps lock...num lock...whatever...

2001-08-24 Thread shyamk
BTW what is  /dev/null all about ?

Thanks
([EMAIL PROTECTED])
Shyam
"Quality can Never be Quantified . It exists by itself and Quantity might hand 
it an
untimely demise if blown out of the very fragile proportions that constitute it 
."
- Original Message -
From: "Dave Sherohman" <[EMAIL PROTECTED]>
To: 
Sent: Friday, August 24, 2001 7:46 PM
Subject: Re: caps lock...num lock...whatever...


On Fri, Aug 24, 2001 at 08:24:04AM -0400, Wayne Topa wrote:
> Quoting Jeff Maxson([EMAIL PROTECTED]):
> > ok, even stupider. I meant num lock, not caps lock.  how do you turn on
> > num lock by default?
> >
> Heve you checked the bios?  ISTR a bios setting for setting the num
> lock state.  Just checked the manual for a system and found it in the
> Advanced setup section of the AMIBIOS.  Its called Bootup Num-Lock, in
> this bios anyway.

Yes, pretty much every BIOS has an initial-numlock-state toggle.
However, Linux cheerfully ignores it and turns numlock off when it
boots.  AFAICT, this is not configurable without hacking the kernel
source.[1]

To get numlock turned on in console mode, add the following to
~/.bash_profile:

if tty > /dev/null 2>&1 ; then
  case $(basename `tty`) in
tty[1-9])
  setleds +num
  ;;
  esac
fi

To get numlock turned on in X, go to freshmeat, download, build, and
install numlockx, and add the line "/usr/local/bin/numlockx on" to
one of your X startup files.  (I use wdm and have placed it in
/etc/X11/wdm/Xsetup_0; if you don't use wdm, you'll have to find
somewhere else that works.)

[1]  Does anyone know _why_ it does this?  Seems to me like a pretty
stupid design decision...

--
With the arrest of Dimitry Sklyarov it has become apparent that it is not
safe for non US software engineers to visit the United States. - Alan Cox
"To prevent unauthorized reading..." - Adobe eBook reader license


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: caps lock...num lock...whatever...

2001-08-24 Thread Dave Sherohman
On Fri, Aug 24, 2001 at 05:01:12PM +0200, Cliff Sarginson wrote:
> Mmm..I don't mean to be rude, but is it not simpler to just push
> the key down ?

Maybe, but it's a simple, repetitive task.  My computer is a lot
better at simple, repetitive tasks than I am, so I prefer to let it
handle them.

-- 
With the arrest of Dimitry Sklyarov it has become apparent that it is not
safe for non US software engineers to visit the United States. - Alan Cox
"To prevent unauthorized reading..." - Adobe eBook reader license



Re: caps lock...num lock...whatever...

2001-08-24 Thread Cliff Sarginson
On Friday 24 August 2001 16:16, Dave Sherohman wrote:
> On Fri, Aug 24, 2001 at 08:24:04AM -0400, Wayne Topa wrote:
> > Quoting Jeff Maxson([EMAIL PROTECTED]):
> > > ok, even stupider. I meant num lock, not caps lock.  how do you turn on
> > > num lock by default?
> >
> > Heve you checked the bios?  ISTR a bios setting for setting the num
> > lock state.  Just checked the manual for a system and found it in the
> > Advanced setup section of the AMIBIOS.  Its called Bootup Num-Lock, in
> > this bios anyway.
>
> Yes, pretty much every BIOS has an initial-numlock-state toggle.
> However, Linux cheerfully ignores it and turns numlock off when it
> boots.  AFAICT, this is not configurable without hacking the kernel
> source.[1]
>
> To get numlock turned on in console mode, add the following to
> ~/.bash_profile:
>
> if tty > /dev/null 2>&1 ; then
>   case $(basename `tty`) in
> tty[1-9])
>   setleds +num
>   ;;
>   esac
> fi
>
> To get numlock turned on in X, go to freshmeat, download, build, and
> install numlockx, and add the line "/usr/local/bin/numlockx on" to
> one of your X startup files.  (I use wdm and have placed it in
> /etc/X11/wdm/Xsetup_0; if you don't use wdm, you'll have to find
> somewhere else that works.)
>
> [1]  Does anyone know _why_ it does this?  Seems to me like a pretty
> stupid design decision...


Mmm..I don't mean to be rude, but is it not simpler to just push
the key down ?

Cliff



Re: caps lock...num lock...whatever...

2001-08-24 Thread Hall Stevenson
> ok, even stupider. I meant num lock, not caps lock.  how do
you turn on
> num lock by default?

There's a program called 'numlockx', I believe. I'm using it
and it works fine. Find it at freshmeat.net. There's no DEB
version that I found easily...

Hall



RE: caps lock...num lock...whatever...

2001-08-24 Thread Brooks R. Robinson
>From the Config-HOWTO at
http://www.ibiblio.org/mdw/HOWTO/Config-HOWTO-2.html#ss2.3

Other special keys will be dealt with in the following sections. To enable
NumLock on by default, add these lines to /etc/rc.d/rc.sysinit:

 for tty in /dev/tty[1-9]*; do
   setleds -D +num < $tty
 done


HTH,

Brooks


> -Original Message-
> From: Jeff Maxson [mailto:[EMAIL PROTECTED]
> Sent: Thursday, 23 August, 2001 10:06 PM
> To: debian-user@lists.debian.org
> Subject: caps lock...num lock...whatever...
>
>
>
> ok, even stupider. I meant num lock, not caps lock.  how do you turn on
> num lock by default?
>
> --
> Jeff Maxson
> [EMAIL PROTECTED]
>
>
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact
> [EMAIL PROTECTED]
>
>



Re: caps lock...num lock...whatever...

2001-08-24 Thread Dave Sherohman
On Fri, Aug 24, 2001 at 08:24:04AM -0400, Wayne Topa wrote:
> Quoting Jeff Maxson([EMAIL PROTECTED]):
> > ok, even stupider. I meant num lock, not caps lock.  how do you turn on
> > num lock by default?
> > 
> Heve you checked the bios?  ISTR a bios setting for setting the num
> lock state.  Just checked the manual for a system and found it in the
> Advanced setup section of the AMIBIOS.  Its called Bootup Num-Lock, in
> this bios anyway.

Yes, pretty much every BIOS has an initial-numlock-state toggle.
However, Linux cheerfully ignores it and turns numlock off when it
boots.  AFAICT, this is not configurable without hacking the kernel
source.[1]

To get numlock turned on in console mode, add the following to
~/.bash_profile:

if tty > /dev/null 2>&1 ; then
  case $(basename `tty`) in
tty[1-9])
  setleds +num
  ;;
  esac
fi

To get numlock turned on in X, go to freshmeat, download, build, and
install numlockx, and add the line "/usr/local/bin/numlockx on" to
one of your X startup files.  (I use wdm and have placed it in
/etc/X11/wdm/Xsetup_0; if you don't use wdm, you'll have to find
somewhere else that works.)

[1]  Does anyone know _why_ it does this?  Seems to me like a pretty
stupid design decision...

-- 
With the arrest of Dimitry Sklyarov it has become apparent that it is not
safe for non US software engineers to visit the United States. - Alan Cox
"To prevent unauthorized reading..." - Adobe eBook reader license



Re: caps lock...num lock...whatever...

2001-08-24 Thread Wayne Topa

Subject: caps lock...num lock...whatever...
Date: Thu, Aug 23, 2001 at 11:06:25PM -0400

In reply to:Jeff Maxson

Quoting Jeff Maxson([EMAIL PROTECTED]):
> 
> ok, even stupider. I meant num lock, not caps lock.  how do you turn on
> num lock by default?
> 
Heve you checked the bios?  ISTR a bios setting for setting the num
lock state.  Just checked the manual for a system and found it in the
Advanced setup section of the AMIBIOS.  Its called Bootup Num-Lock, in
this bios anyway.
-- 
Think of your family tonight.  Try to crawl home after the computer
crashes.
___



caps lock...num lock...whatever...

2001-08-23 Thread Jeff Maxson

ok, even stupider. I meant num lock, not caps lock.  how do you turn on
num lock by default?

-- 
Jeff Maxson
[EMAIL PROTECTED]



Re: Autmatically switch "Num Lock" to on at Login

2001-02-09 Thread Ethan Benson
On Fri, Feb 09, 2001 at 03:11:09PM -0600, Dave Sherohman wrote:
> 
> For the console (text mode), put this into ~/.bash_profile:
> 
> case `basename \`tty\`` in
>   tty[1-9]) setleds +num;;
> esac

try this instead:

if tty > /dev/null 2>&1 ; then
case $(basename `tty`) in
tty[1-9])
setleds +num
;;
esac
fi

otherwise when you login to [xgwk]dm errors about invalid tty are
thrown into various logfiles. 

-- 
Ethan Benson
http://www.alaska.net/~erbenson/


pgpefXuiJvCPL.pgp
Description: PGP signature


Re: Autmatically switch "Num Lock" to on at Login

2001-02-09 Thread Bob Hilliard
Raffaele Sandrini <[EMAIL PROTECTED]> writes:

> I set in my bios, that it should enable Num Lock at Startup but Linux 
> switches it of when it starts. How can i configure bash or anything other to 
> enable Num Lock at Login? How can configure X-Server to switch it 
> automatically to on?

 /usr/bin/setleds (from the console-tools package) works for the
console.

 For X download numlockx from
 http://dforce.sh.cvut.cz/~seli/en/khotkeys/numlock.php3. 

 It should be in Debian, but it didn't make it. :-( 

Bob
-- 
   _
  |_)  _  |_   Robert D. Hilliard  <[EMAIL PROTECTED]>
  |_) (_) |_)  1294 S.W. Seagull Way   <[EMAIL PROTECTED]>
   Palm City, FL  USA  GPG Key ID: 390D6559 
   PGP Key ID: A8E40EB9




Re: Autmatically switch "Num Lock" to on at Login

2001-02-09 Thread Dave Sherohman
On Fri, Feb 09, 2001 at 08:03:46PM +0100, Raffaele Sandrini wrote:
> I set in my bios, that it should enable Num Lock at Startup but Linux 
> switches it of when it starts. How can i configure bash or anything other to 
> enable Num Lock at Login? How can configure X-Server to switch it 
> automatically to on?

For the console (text mode), put this into ~/.bash_profile:

case `basename \`tty\`` in
  tty[1-9]) setleds +num;;
esac

For X, search on freshmeat for "numlockx", build it, install it, and run it
from one of your X startup files.

-- 
SGI products are used to create the 'Bugs' that entertain us in theatres
and at home. - SGI job posting
Geek Code 3.1:  GCS d? s+: a- C++ UL++$ P++>+++ L+++> E- W--(++) N+ o+
!K w---$ O M- V? PS+ PE Y+ PGP t 5++ X+ R++ tv b+ DI D G e* h+ r y+



Re: Autmatically switch "Num Lock" to on at Login

2001-02-09 Thread Hall Stevenson
> I set in my bios, that it should enable Num Lock at
> Startup but Linux switches it of when it starts. How
> can i configure bash or anything other to enable
> Num Lock at Login? How can configure X-Server to
> switch it automatically to on?

Not a solution, but I know it can be done. Mandrake-Linux actually came
with a daemon that turned it on (or off) at the console.

As for X, I've tried "xset led 1" up through 20 with no luck (the
command shown may not be correct, but I believe when I was trying it, I
was doing it right -- at least I got no error messages).

Regards
Hall Stevenson



Autmatically switch "Num Lock" to on at Login

2001-02-09 Thread Raffaele Sandrini
Hi,

I set in my bios, that it should enable Num Lock at Startup but Linux 
switches it of when it starts. How can i configure bash or anything other to 
enable Num Lock at Login? How can configure X-Server to switch it 
automatically to on?

cheers,
Raffaele
-- 
Raffaele Sandrini <[EMAIL PROTECTED]>
Check out the most powerfull Linux desktop at www.kde.org !!



Re: Num lock activated by default, at start

2000-11-10 Thread Andre Berger
Ethan Benson <[EMAIL PROTECTED]> writes:

> On Fri, Nov 10, 2000 at 10:33:47AM +0100, Joerg Johannes wrote:
> > Antonio Rodriguez schrieb:
> > > 
> > > How do I make my numlock pad active from start?
> > > Thanks,
> > > Antonio.

> > There should be an option in your BIOS, which says "NumLock status" You
> > should be able to switch zhis on/off.
> 
> which does absolutly nothing because the linux kernel does not use the
> BIOS keyboard driver, it loads it's own reinitiallizing the keyboard
> in the process (clearing the numlock).  95% of everything in the PC
> BIOS is irrelevant cruft as far as GNU/Linux is concerned.  
> 
> instead add this to your ~/.bash_profile
> 
> case $(basename `tty`) in
> tty[1-9])
> setleds +num
> ;;
> esac
> 
> there is a X11 based version of setleds too but i can't remember what
> its called (nor find the package for it...) 
> 
> -- 
> Ethan Benson
> http://www.alaska.net/~erbenson/

numlockx

You can get it from freshmeat. But, the NumLock key has side effects
on apps like acroread, so I've removed any automatic pushin' again.

--
Andre Berger <[EMAIL PROTECTED]> from Bonn, Germany



Re: Num lock activated by default, at start

2000-11-10 Thread Ethan Benson
On Fri, Nov 10, 2000 at 10:33:47AM +0100, Joerg Johannes wrote:
> Antonio Rodriguez schrieb:
> > 
> > How do I make my numlock pad active from start?
> > Thanks,
> > Antonio.
> > 
> > --
> > Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED] < /dev/null
> 
> There should be an option in your BIOS, which says "NumLock status" You
> should be able to switch zhis on/off.

which does absolutly nothing because the linux kernel does not use the
BIOS keyboard driver, it loads it's own reinitiallizing the keyboard
in the process (clearing the numlock).  95% of everything in the PC
BIOS is irrelevant cruft as far as GNU/Linux is concerned.  

instead add this to your ~/.bash_profile

case $(basename `tty`) in
tty[1-9])
setleds +num
;;
esac

there is a X11 based version of setleds too but i can't remember what
its called (nor find the package for it...) 

-- 
Ethan Benson
http://www.alaska.net/~erbenson/


pgpobGawrWZ8L.pgp
Description: PGP signature


Re: Num lock activated by default, at start

2000-11-10 Thread Joerg Johannes
Antonio Rodriguez schrieb:
> 
> How do I make my numlock pad active from start?
> Thanks,
> Antonio.
> 
> --
> Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED] < /dev/null

There should be an option in your BIOS, which says "NumLock status" You
should be able to switch zhis on/off.

joerg



RE: Num lock activated by default, at start

2000-11-09 Thread Jason Holland
I do this in a script

for tty in /dev/tty[1-9]*; do
/usr/bin/setleds -D +num < $tty
done

The relevant information being the setleds command.

Jason

> 
> How do I make my numlock pad active from start?
> Thanks,
> Antonio.
> 
> 
> -- 
> Unsubscribe?  mail -s unsubscribe 
> [EMAIL PROTECTED] < /dev/null
> 
> 



Num lock activated by default, at start

2000-11-09 Thread Antonio Rodriguez
How do I make my numlock pad active from start?
Thanks,
Antonio.



Re: Num lock disables alt- and ctrl-key shortcuts?

1999-09-13 Thread Carl Fink
> Rob Mahurin writes ("Re: Num lock disables alt- and ctrl-key shortcuts?"):

[snip]

> In X windows, the NumLock key toggles a modifier bit, just like ctrl
> and alt do.  So when numlock is toggles, every keystroke has another
> modifier bit tacked on to it.  Run 'xev' and hit keys in the window,
> with and without numlock applied.  You'll get different modifier
> codes:

[snip]

> Some applications behave fairly intelligently and ignore this modifier
> bit or use it intelligently (i.e. don't do anything different for most
> keys, but for keypad ones do numbers, or somesuch).
> 
> Staroffice was written intelligently in this respect and "does the
> Right Thing".  It appears that Realplayer does not.

Thanks very much.  So, it actually is a bug (in the sense of
"programming error") in RealPlayer and Acrobat Reader, and I'll report
it to RealMedia and Adobe respectively.
-- 
Carl Fink   [EMAIL PROTECTED]
Manager, Dueling Modems Computer Forum
<http://dm.net>


Re: Num lock disables alt- and ctrl-key shortcuts?

1999-09-13 Thread Richard Kaszeta
Rob Mahurin writes ("Re: Num lock disables alt- and ctrl-key shortcuts?"):
>On Sun, Sep 12, 1999 at 08:49:35PM -0400, Carl Fink wrote:
>> [This message has also been posted.]
>> I've just noticed that both Adobe's Acrobat Reader 3 and RealMedia's
>> Realplayer G2 have an interesting behavior:  if NumLock is activated,
>> their keyboard shortcuts that require shifted keys, like Alt-F for
>> the File menu or ^P for Print, don't work.  On the other hand,
>> StarOffice 5.1's shortcuts work fine with NumLock on.
>
>I have a similar problem with fvwm2.  With the NumLock off, Alt keys
>are used by the window manager, to give menus, move around the
>desktops, etc., and the windows key that everybody hates is Alt or
>Meta key for programs like Netscape and Emacs and xterm.  With the
>Numlock on, the windows key and the alt key behave the same way, and I
>lose my window manager shortcuts.

Well, this one definitely falls into the gray area between "bug" and
"feature".

In X windows, the NumLock key toggles a modifier bit, just like ctrl
and alt do.  So when numlock is toggles, every keystroke has another
modifier bit tacked on to it.  Run 'xev' and hit keys in the window,
with and without numlock applied.  You'll get different modifier
codes:

Without numlock:

KeyPress event, serial 18, synthetic NO, window 0x401,
root 0x26, subw 0x0, time 927402886, (82,74), root:(240,198),
state 0x0, keycode 38 (keysym 0x61, a), same_screen YES,
XLookupString gives 1 characters:  "a"

With numlock:

KeyPress event, serial 18, synthetic NO, window 0x401,
root 0x26, subw 0x0, time 927408681, (82,74), root:(240,198),
state 0x10, keycode 38 (keysym 0x61, a), same_screen YES,
XLookupString gives 1 characters:  "a"

The applications are behaving differently, because you are sending
them *different* input.

Some applications behave fairly intelligently and ignore this modifier
bit or use it intelligently (i.e. don't do anything different for most
keys, but for keypad ones do numbers, or somesuch).

Staroffice was written intelligently in this respect and "does the
Right Thing".  It appears that Realplayer does not.

FVWM2 does it because the default config file *asks* it to do it this
way.

For example, the system.fvwm2rc has

Key Up  A   M   Scroll +0 -100
^
The 'M' tells it to do this action when *only* the Meta flag is set.
Unfortunately, fvwm2 doesn't seem to have any way in it's config file
to tell it to also allow these with the numlock modifier on.
So really  this is an fvwm2rc bug.



-- 
Richard W Kaszeta   PhD. Candidate and Sysadmin
[EMAIL PROTECTED]   University of MN, ME Dept
http://www.menet.umn.edu/~kaszeta


Re: Num lock disables alt- and ctrl-key shortcuts?

1999-09-13 Thread Brian Servis
*- On 12 Sep, Carl Fink wrote about "Num lock disables alt- and ctrl-key 
shortcuts?"
> [This message has also been posted.]
> I've just noticed that both Adobe's Acrobat Reader 3 and RealMedia's
> Realplayer G2 have an interesting behavior:  if NumLock is activated,
> their keyboard shortcuts that require shifted keys, like Alt-F for
> the File menu or ^P for Print, don't work.  On the other hand,
> StarOffice 5.1's shortcuts work fine with NumLock on.
> 
> I'd like to report the bug, but I'm not sure to whom.  Since it
> appears in other apps, but not StarOffice, I'm suspecting it's in
> some X library.  (StarOffice uses its own libraries for many
> functions, which might explain why it's immune.)  Anyone out there
> have an insight as to where this should be reported?
> 
> Running slink with a couple of potato packages, XFree86 3.3.2.3.
> 
> Thanks.

What does 'xmodmap -pm' show?  Mine gives:

shift   Shift_L (0x32),  Shift_R (0x3e)
lockCaps_Lock (0x42)
control Control_L (0x25),  Control_R (0x6d)
mod1Alt_L (0x40),  Alt_R (0x71)
mod2Num_Lock (0x4d)
mod3  
mod4Meta_L (0x73),  Meta_R (0x74)
mod5Scroll_Lock (0x4e)

Notice Num_Lock is assigned to mod2.  This means that the Num_Lock key
is a modifier key just like shift, ctrl, alt.  So if Num_Lock is on
then if you use Alt-F you are really doing Num_Lock-Alt-F. If you don't
want Num_Lock to be a modifier you can disable it with xmodmap.

xmodmap -e "clear mod2"

See the xmodmap man page for more info.

Debian's default X setup will read ~/.Xmodmap on startup so if you put 
'clear mod2'(no quotes) in that file it will be taken care of
automatically.

-- 
Brian 
-
Mechanical Engineering  [EMAIL PROTECTED]
Purdue University   http://www.ecn.purdue.edu/~servis
-


Re: Num lock disables alt- and ctrl-key shortcuts?

1999-09-13 Thread Rob Mahurin
On Sun, Sep 12, 1999 at 08:49:35PM -0400, Carl Fink wrote:
> [This message has also been posted.]
> I've just noticed that both Adobe's Acrobat Reader 3 and RealMedia's
> Realplayer G2 have an interesting behavior:  if NumLock is activated,
> their keyboard shortcuts that require shifted keys, like Alt-F for
> the File menu or ^P for Print, don't work.  On the other hand,
> StarOffice 5.1's shortcuts work fine with NumLock on.

I have a similar problem with fvwm2.  With the NumLock off, Alt keys
are used by the window manager, to give menus, move around the
desktops, etc., and the windows key that everybody hates is Alt or
Meta key for programs like Netscape and Emacs and xterm.  With the
Numlock on, the windows key and the alt key behave the same way, and I
lose my window manager shortcuts.

> 
> I'd like to report the bug, but I'm not sure to whom.  Since it
> appears in other apps, but not StarOffice, I'm suspecting it's in
> some X library.  (StarOffice uses its own libraries for many
> functions, which might explain why it's immune.)  Anyone out there
> have an insight as to where this should be reported?

Nope, you're further along than I am, and I've been having this
problem probably since last year.  I'm grateful to see that someone
else finally reported a similar problem, though -- I had thought I was
the only one.

> 
> Running slink with a couple of potato packages, XFree86 3.3.2.3.

Same, X 3.3.2.3a-11 (according to /usr/doc/X11/changelog). Although, I
had this problem even before I upgraded to slink; I just figured out
it was the numlock a couple of weeks ago and was kind of sitting
deciding what to do about it.

Rob

-- 
Laetrile is the pits.


Num lock disables alt- and ctrl-key shortcuts?

1999-09-13 Thread Carl Fink
[This message has also been posted.]
I've just noticed that both Adobe's Acrobat Reader 3 and RealMedia's
Realplayer G2 have an interesting behavior:  if NumLock is activated,
their keyboard shortcuts that require shifted keys, like Alt-F for
the File menu or ^P for Print, don't work.  On the other hand,
StarOffice 5.1's shortcuts work fine with NumLock on.

I'd like to report the bug, but I'm not sure to whom.  Since it
appears in other apps, but not StarOffice, I'm suspecting it's in
some X library.  (StarOffice uses its own libraries for many
functions, which might explain why it's immune.)  Anyone out there
have an insight as to where this should be reported?

Running slink with a couple of potato packages, XFree86 3.3.2.3.

Thanks.
-- 
Carl Fink   [EMAIL PROTECTED]
Manager, Dueling Modems Computer Forum



audible notification for caps/num -lock, etc.

1999-03-18 Thread servis
Hi all,

Is there a program or a way to have an audible notification if the
caps-lock or num-lock key have been toggled?  Or for that matter any
key?  I know that xset can set a 'click' option but that is not what I
am looking for since it will affect all keys.

Thanks,

-- 
Brian 
-
"Never criticize anybody until you have walked a mile in their shoes,  
 because by that time you will be a mile away and have their shoes." 
   - unknown  

Mechanical Engineering[EMAIL PROTECTED]
Purdue University   http://www.ecn.purdue.edu/~servis
-


num lock in X

1999-01-26 Thread ktb
I posted a while back about getting my num lock to default on while
in X.  Someone wrote back that setleds worked for console and xset
worked for X consoles.  I have the num lock working in console but not
in X yet.  At the command line when I try, ~$ xset led on  no led lights
come on.  It makes it so I can move the cursor all directions and if I
push "Num Lock" my Scroll Lock light comes on and won't go off until I
use ~$ xset led off   and then hit the "scroll Lock" key.  I have read
the man page for xset and scoured the Debian user's archives for xset,
num lock etc.  I've looked at howto's and newsgroups and can't figure
this out.  I read that xset is the way to go and then another person
says that xset only turns the lights on and doesn't actually turn the
num lock on.  I found a couple of lines in the /etc/X11/config file
about xset numbers and letting the server take care of the number lock.
I uncommented both of these lines and it had no effect.  I don't know
what else I can do.  Is this a bug or something?  Number lock works fine
in windows and as I said when I am at a regular console.
Help.
Thanks,
Kent




setleds and num lock

1999-01-17 Thread ktb
Hi,  I have been working on this problem for a while.  I can't get my
number lock to default in the on position while in X.  This is what I
have done:

In the   /etc/init.d/rc  file I placed:
---
# I add the following for NumLock ON by default
 INITTY=/dev/tty[1-8]
 for tty in $INITTY; do
   setleds -D +num < $tty
 done
---
This activates my num lock on all terminals (tty1 through tty6) but not
my X terminal tty7.



I tried adding the linesetleds -D +num$  to
/home/kent/.bash_profile  like so:

-
#!/bin/bash
# ~/.bash_profile: executed by bash(1) for login shells.

umask 002

setleds -D +num$


crossyourfingers:/home/kent# ls -l /home/kent/.bash_profile
-rwxr--r--   1 kent kent  113 Jan 16 14:34
/home/kent/.bash_profile

This creates the following error I don't understand, at the top of my
xterm windows, when I open them:

KDGETLED: Invalid argument
Error reading current led setting. Maybe stdin is not a VT?
~$

I have also changed the line to read   setleds -D +num   and recieved
the same error message.  I have also tried both lines in the
/etc/csh.login   file.  I get the same error message.

I am using xdm and afterstep if that makes any difference.  Once again I
need some help.
Thanks,
Kent




num lock in x

1998-11-30 Thread Matt Garman

I use the "setleds" utility to automatically turn on my num-lock when
I login to the console.  Whenever I start X, though, num lock is
turned off.  Also, if I quit X, when I'm thrown into xdm, num lock is
also turned off.  How can I make num-lock default to on in X?

Thanks!

-- 
Matt Garman, [EMAIL PROTECTED]
"They're always havin' a good time down on the bayou,
 Lord, them delta women think the world of me."
-- Dickey Betts, "Ramblin' Man"


Re: num lock

1998-01-18 Thread Adam Klein
On Sat, Jan 17, 1998 at 07:22:00PM -0500, Paul Miller wrote:
> Is there anyway I can make the num lock on consoles and X default to on?

I don't know about X, but on the console, add:

setleds -D +num

to your .bash_profile or .login or whatever.

Adam Klein


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


num lock

1998-01-18 Thread Paul Miller
Is there anyway I can make the num lock on consoles and X default to on?

Thanks


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


num lock screws-up windowfocus in fvwm95

1997-01-15 Thread * ESGER *

ok the full story :-)

I run the svga server with fvwm95-2 as window manager. Since i have a 
'belgian' azerty keyboard the XF86config file contains:

Section "Keyboard"
   Protocol"Standard"
   XkbRules"xfree86"
   XkbModel"pc101"
   XkbLayout   "be"
EndSection

and all keys (well about 95% that is) work perfectly

Now when I enable num lock and I click on an unfocused window the window 
doesn't obtain the focus (clicking on the title bar raises the window but 
no focus is changed)

so to you guru guys , any way to fix this?

ciao,
---
Geert "Esger" Raestel.: (+32) 820 26 66
Centrum Medische Genetica fax.: (+32) 820 25 66
Universiteit Antwerpen UIA   E-Mail: [EMAIL PROTECTED]
Universiteitsplein 1 WWW: http://bioc-www.uia.ac.be/u/esger
2610 Wilrijk
---
E-music on the Net :   http://bioc-www.uia.ac.be/u/esger/emusic
---
People talking about the environment ought to read "The Sheep Look Up" by
John Brunner, then they'll know what pollution is.
---


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED]