Page 1 of 1

Let's disable the return key

Posted: Thu May 07, 2009 4:22 am
by eddie
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.

Re: Let's disable the return key

Posted: Thu May 07, 2009 6:30 am
by MattKingUSA
I agree, I'm pretty pissed off, Mandriva 2009 spring has it disabled too. I think I'm going to have to go back to 2009.0 I can't take not having ctrl-alt-backspace. I don't know how to turn it back on. This sucks. Why use Linux if it's going to be so restricted?

Re: Let's disable the return key

Posted: Thu May 07, 2009 7:33 am
by eddie
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.

Re: Let's disable the return key

Posted: Thu May 07, 2009 7:42 am
by MattKingUSA
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.
Many thanks Eddie, I will fix that on my system tonight.

Re: Let's disable the return key

Posted: Thu May 07, 2009 7:49 am
by eddie
You welcome. It is in the wiki realease notes for mandriva 2009.
Ubuntu

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.
or

sudo apt-get install dontzap; dontzap -d (or dontzap --disable)

-------------------------------------------------------------------------------------------------------------------https://wiki.ubuntu.com/XorgCtrlAltBackspace/Discussion : https://wiki.ubuntu.com/XorgCtrlAltBackspace/Discussion

Re: Let's disable the return key

Posted: Thu May 07, 2009 11:13 am
by dann
Yeah, that's Mandriva - rpm based, no deb packages. I'm not sure if there is an equivalent dontzap rpm package.

Re: Let's disable the return key

Posted: Thu May 07, 2009 11:43 am
by MattKingUSA
dann wrote:Yeah, that's Mandriva - rpm based, no deb packages. I'm not sure if there is an equivalent dontzap rpm package.

You're an Ubuntu user arent you??
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.

Anyway, I just manually edited my xorg.conf file to fix the problem.

Re: Let's disable the return key

Posted: Thu May 07, 2009 1:44 pm
by eddie
# 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