Let's disable the return key
Posted: Thu May 07, 2009 4:22 am
if we are going to disable the crtl-alt-backspace key, let's disable the return/enter key. With everthing gui, you really do not need it either.
The home for The Linux Link Tech Show and the LVLUG
https://thelinuxlink.net/forum/
X.org 7.4
Mandriva Linux 2009 Spring contains a set of X.org packages most similar to the upstream 'X.org 7.4' release, particularly including version 1.6.1 of the X.org X server. This version introduces some significant changes, particularly input hotplugging. This involves the X server handling detection and configuration of input devices, rather than relying on the user or the distribution to do it and load the appropriate input driver. Most input devices will now use the evdev driver.
Another significant change is that all video adapter drivers must now use the libpciaccess interface. All core X.org drivers have been ported to this interface and will continue to work as normal, but this may have implications for external drivers. The sisimedia driver used to support SiS 670 / 671 cards has not been ported to the libpciaccess interface, and will not work correctly. Users of these cards must resort to using the vesa driver for now.
Default behaviour for now disables Ctrl+Alt+backspace shortcut to restart X server. This behaviour can be reverted to the old default by adding 'Option "DontZap" "false"' to the Section '"ServerFlags"' in /etc/X11/xorg.conf .
fglrx is now supported on recent cards. Non supported cards are configured to use open source driver by default.
Many thanks Eddie, I will fix that on my system tonight.eddie wrote:You are supposed to be able to reenable it via xorg.conf from what I read.
X.org 7.4
Mandriva Linux 2009 Spring contains a set of X.org packages most similar to the upstream 'X.org 7.4' release, particularly including version 1.6.1 of the X.org X server. This version introduces some significant changes, particularly input hotplugging. This involves the X server handling detection and configuration of input devices, rather than relying on the user or the distribution to do it and load the appropriate input driver. Most input devices will now use the evdev driver.
Another significant change is that all video adapter drivers must now use the libpciaccess interface. All core X.org drivers have been ported to this interface and will continue to work as normal, but this may have implications for external drivers. The sisimedia driver used to support SiS 670 / 671 cards has not been ported to the libpciaccess interface, and will not work correctly. Users of these cards must resort to using the vesa driver for now.
Default behaviour for now disables Ctrl+Alt+backspace shortcut to restart X server. This behaviour can be reverted to the old default by adding 'Option "DontZap" "false"' to the Section '"ServerFlags"' in /etc/X11/xorg.conf .
fglrx is now supported on recent cards. Non supported cards are configured to use open source driver by default.
orUbuntu
This just adds the following to your /etc/X11/xorg.conf which you can just copy-paste:
Section “ServerFlags”
Option “DontZap” “False”
EndSection
Then just logout and log back into desktop (causes restart) and CTL-ALT-BACKSPACE should immediately kill X, no questions asked.
dann wrote:Yeah, that's Mandriva - rpm based, no deb packages. I'm not sure if there is an equivalent dontzap rpm package.
Yes I am. Maybe I was mistaken but it looked like the advice for the mandriva user was to apt-get install dontzap. Mandriva uses rpm.
You're an Ubuntu user arent you??
# File generated by XFdrake (rev 230776)
Section "Extensions"
Option "Composite"
EndSection
# **********************************************************************
# Refer to the xorg.conf man page for details about the format of
# this file.
# **********************************************************************
Section "ServerFlags"
DontZap # disable <Ctrl><Alt><BS> (server abort)
AllowMouseOpenFail # allows the server to start up even if the mouse does not work
#DontZoom # disable <Ctrl><Alt><KP_+>/<KP_-> (resolution switching)
EndSection