Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #12630
| Date | 2011-09-02 12:01 +0200 |
|---|---|
| From | Thomas Jollans <t@jollybox.de> |
| Subject | Re: Detecting Ctrl-Alt-Del in Windows |
| References | <6e602a19-8cca-4924-bd95-df08615662d2@c8g2000prn.googlegroups.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.699.1314957682.27778.python-list@python.org> (permalink) |
On 01/09/11 17:52, Den wrote: > Obviously, this is a windows-based question. I know that Ctrl-Alt-Del > is handled deep inside the OS, and I'm not trying to interrupt that. > But is there some way to detect that a C-A-D has been pressed? > > Also, is there a corresponding key-sequence in Mac and Linux? And how > might one detect those too? On Linux Ctrl+Alt+Delete is typically configured to reboot the machine when in console mode. In X11 (graphical), as far as I know, it's no different than other keys. To catch it globally, you'd probably have to go through the individual window manager. As m'colleague Nobody mentions, there's also the SysRq feature, but that always goes straight to the kernel and is, like Ctrl+Alt+Delete on Windows, impossible to handle in userspace code. Thomas
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Detecting Ctrl-Alt-Del in Windows Den <patentsvnc@gmail.com> - 2011-09-01 08:52 -0700
Re: Detecting Ctrl-Alt-Del in Windows Nobody <nobody@nowhere.com> - 2011-09-02 01:10 +0100
Re: Detecting Ctrl-Alt-Del in Windows Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2011-09-01 22:19 -0700
Re: Detecting Ctrl-Alt-Del in Windows Gregory Ewing <greg.ewing@canterbury.ac.nz> - 2011-09-02 18:19 +1200
Re: Detecting Ctrl-Alt-Del in Windows Stephen Hansen <me+list/python@ixokai.io> - 2011-09-02 00:06 -0700
Re: Detecting Ctrl-Alt-Del in Windows Chris Angelico <rosuav@gmail.com> - 2011-09-02 17:55 +1000
Re: Detecting Ctrl-Alt-Del in Windows Gregory Ewing <greg.ewing@canterbury.ac.nz> - 2011-09-03 12:51 +1200
Re: Detecting Ctrl-Alt-Del in Windows Nobody <nobody@nowhere.com> - 2011-09-03 08:49 +0100
Re: Detecting Ctrl-Alt-Del in Windows Thomas Jollans <t@jollybox.de> - 2011-09-02 12:01 +0200
Re: Detecting Ctrl-Alt-Del in Windows sjm <sjmsoft@gmail.com> - 2011-09-02 05:27 -0700
Re: Detecting Ctrl-Alt-Del in Windows Den <patentsvnc@gmail.com> - 2011-09-02 09:19 -0700
Re: Detecting Ctrl-Alt-Del in Windows Den <patentsvnc@gmail.com> - 2011-09-02 09:20 -0700
Re: Detecting Ctrl-Alt-Del in Windows Web Dreamer <webdreamer@nospam.fr> - 2011-09-02 14:38 +0200
Re: Detecting Ctrl-Alt-Del in Windows Tim Golden <mail@timgolden.me.uk> - 2011-09-02 13:45 +0100
Re: Detecting Ctrl-Alt-Del in Windows Den <patentsvnc@gmail.com> - 2011-09-02 09:26 -0700
Re: Detecting Ctrl-Alt-Del in Windows Chris Angelico <rosuav@gmail.com> - 2011-09-03 07:47 +1000
csiph-web