* Want to control console Num, Caps, and scroll Lock keys.
@ 1999-10-18 4:00 T. Ken Hayakawa
1999-10-18 4:00 ` lar3ry gensch
1999-10-18 4:00 ` WB3KUM
0 siblings, 2 replies; 3+ messages in thread
From: T. Ken Hayakawa @ 1999-10-18 4:00 UTC (permalink / raw)
Does anyone know hot to contorl (espcecially) NumLock key? I need to have
console NumLock key automatically set to active when the system is booted.
I hope this is very simple on DIGITAL UNIX.
Thanks in advance,
Ken
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Want to control console Num, Caps, and scroll Lock keys.
1999-10-18 4:00 Want to control console Num, Caps, and scroll Lock keys T. Ken Hayakawa
@ 1999-10-18 4:00 ` lar3ry gensch
1999-10-18 4:00 ` WB3KUM
1 sibling, 0 replies; 3+ messages in thread
From: lar3ry gensch @ 1999-10-18 4:00 UTC (permalink / raw)
To: T. Ken Hayakawa
[Posted and mailed]
In article <7udj9s$c03$1@bunyip.cc.uq.edu.au>,
"T. Ken Hayakawa" <kenh@vrt.com.au> writes:
> Does anyone know hot to contorl (espcecially) NumLock key? I need to have
> console NumLock key automatically set to active when the system is booted.
>
> I hope this is very simple on DIGITAL UNIX.
The `xset' utility maintains the leds.
The `dxkeycaps' utility can be used to programmatically simulate key
press and key release events (this may be a bit tricky, but it appears
that it might be able to do this).
If `xdpyinfo' shows that you are using the XKB extension, you may find
some utility in the XKB functions:
man -k XKB
dxkbledpanel (1X) - Present an on-screen display of keyboard indicators.
xkbcomp (1X) - compile XKB keyboard description
xkbdfltmap (1X) - Determine default X keymap for locale and keyboard
xkbprint (1X) - print an XKB keyboard description
If all of these routes fail, it may be possible to write a short X
program that does what you want. It will have to generate synthetic X
events (which your X server may or may not decide to ignore for
security purposes).
Mind you, it has been a few years since I did any X window programming. I
got most of this information from using `man' on my Tru64 Unix 5.0 system.
Good luck!
--
Larry Gensch Larry.Gensch@digital.com
Compaq Computer Corporation As usual, the
110 Spit Brook Road ZKO3-2/W17 standard disclaimers
Nashua, NH 03062 apply, etc.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Want to control console Num, Caps, and scroll Lock keys.
1999-10-18 4:00 Want to control console Num, Caps, and scroll Lock keys T. Ken Hayakawa
1999-10-18 4:00 ` lar3ry gensch
@ 1999-10-18 4:00 ` WB3KUM
1 sibling, 0 replies; 3+ messages in thread
From: WB3KUM @ 1999-10-18 4:00 UTC (permalink / raw)
Check "xset", I know it will manipulate the LEDs on the keyboard.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~1999-10-18 4:00 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-10-18 4:00 Want to control console Num, Caps, and scroll Lock keys T. Ken Hayakawa
1999-10-18 4:00 ` lar3ry gensch
1999-10-18 4:00 ` WB3KUM
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox