On Fri, 2009-03-27 at 16:31 -0400, Gerry Reno wrote:
Having to deal with many servers and workstations in a company it is
crucial that Ctrl-Alt-Backspace be enabled by default. There are times
when your KVM has lost mouse control or X is in a tight loop and
something like Ctrl-Alt-Backspace can save the situation. This is much
more common than the uncommon cases that are illustrated as to why this
has been removed as default.
No, it can't.
C-A-BS is handled in the event loop [1]. If you're stuck in the driver,
away from the event loop, you're never going to get back to it to handle
the zap event. And if you were processing events, you could equally
well vt-switch and clean up from there.
We're planning to make that keycombo trigger the logout dialog. If your
DE has a sensible task manager applet, that would probably also belong
here so you can zap rude processes.
[1] - To be annoyingly pedantic, the keystroke is added to the input
queue in a signal handler, but the queue is processed in the main loop,
and any actions that result from the keystroke happen then and not in
the signal handler (like sending X events to clients, or releasing the
display for VT switch, or shutting down).
- ajax