[Sunhelp] Pesky suspend button
Pres. Dan Jameyson
jameyson at amist.org
Wed Apr 5 03:21:37 CDT 2000
This is straight from Answerbook2:
To Disable the Power Key
1.As root, edit the /usr/openwin/lib/speckeysd.map file
# vi /usr/openwin/lib/speckeysd.map
2.comment out the two lines starting "SunPower" by putting a "#" as
the first character in the line.
#SunPowerSwitch -
$OPENWINHOME/bin/sys-suspen
#SunPowerSwitchShift -
$OPENWINHOME/bin/sys-suspend -n
3.Save the edited file.
4.Shutdown and restart the system.
> Does anyone know how to disable the power off/suspend key up in the right
> corner of a Type 5 Sun keyboard? For the upteenth time I've bumped that key
> reaching for something and it has become most aggrivating!! Someone
> mentioned to me that you need to go along the /usr/dt path to disable but
> I've searched to no avail. Thanks in advance.
>
> Rich Jeppersen
> Systems Engineer
> Lockheed Martin
--
Dan Jameyson (jameyson at amist.org) www.amist.org
President and Chairman of the Board of Directors
American Institute of Science and Technology PO BOX 27934
A California Public Benefit Corporation Concord, CA 94527-0934
More information about the SunHELP
mailing list