-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

The keyboard on my workstation has a sleep/suspend key.  I'd like to
remap it, but so far my attempts are failing.  When I xmodmap the
keycode 222 issued by that key to some other function, it still pushes
through a shutdown signal to opensuse (10.2) which happily responds
and shuts down my Ultra 40 without even prompting for a confirmation.

It's not simply being handled by init, either (though I did try
changing the 'ca' id to something else).  I can tell that kde itself
is responding to this signal.  If I leave a kde specific app open,
like kate, with an unsaved file, then I press the sleep/suspend key,
kate prompts me to save the file.  If I instead hit the cancel button,
kde briefly pops up a small modal dialog box:

KDE Systems Notification
- -------------------------
Logout canceled by 'kate'


I tried editing some of the /etc/PolicyKit/privilege.d/hal-power-*
files to alter permissions to see if I could disable the response to
that key, but no luck.

Is there some way I can view hal events similarly to the way xev
displays X events?  That might help me isolate exactly what I need to
change.

- --
Andy Harrison
public key: 0x67518262
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: http://firegpg.tuxfamily.org

iD8DBQFHH0QNNTm8fWdRgmIRAv/dAJ0XZBUAc2PCCHqHETQpGKlcqpKzRACg8tlF
5ohYSFC4wkSiIhC2R4a/oqg=
=uCFx
-----END PGP SIGNATURE-----
-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to