To prevent the key sequence
[Ctrl]-[Alt]-[Delete]
from rebooting the computer and from displaying the
Log Out dialog, you must make configuration
changes at both the window manager level and at the system
level.
Setting the following gconf keys will prevent
[Ctrl]-[Alt]-[Delete]
from displaying the Log Out
dialog.
Note in Figure 4-2 that the
default global keybinding for
[Ctrl]-[Alt]-[Delete]
is attached to the gconf key
run_command_1.
To change the window manager's interpretation of
[Ctrl]-[Alt]-[Delete],
change the run_command_1 key value from
gnome-session-save --kill to something
benign as shown in Figure 4-3.
(Note that the appropriate key to change is
/apps/metacity/keybinding_commands/command_1.)
To disable
[Ctrl]-[Alt]-[Delete]
at the system level, comment out the relevant section in
/etc/inittab as shown below:
# Trap CTRL-ALT-DELETE
#ca::ctrlaltdel:/sbin/shutdown -t3 -r now |
To disable the
[Ctrl]-[Alt]-[Backspace]
key combo from terminating the X session, add a
Serverflags section to the
X configuration file
/etc/X11/xorg.conf and add a
DontZap option to the
section.
Section "Serverflags"
Option "DontZap" "yes"
EndSection |