Let's disable the return key

Hey drop us a line about the show. Feel free to ask questions, provide feedback and criticism, or just ramble on about anything your little heart desires.

Moderators: snarkout, Patrick, dann

Post Reply
User avatar
eddie
Posts: 974
Joined: Wed Sep 05, 2007 10:46 pm
Location: here
Contact:

Let's disable the return key

Post by eddie » 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.

MattKingUSA
Posts: 313
Joined: Mon Jul 28, 2008 10:49 am
Location: Dallas TEXAS
Contact:

Re: Let's disable the return key

Post by MattKingUSA » Thu May 07, 2009 6:30 am

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?

User avatar
eddie
Posts: 974
Joined: Wed Sep 05, 2007 10:46 pm
Location: here
Contact:

Re: Let's disable the return key

Post by eddie » Thu May 07, 2009 7:33 am

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.
Last edited by eddie on Thu May 07, 2009 7:59 am, edited 1 time in total.

MattKingUSA
Posts: 313
Joined: Mon Jul 28, 2008 10:49 am
Location: Dallas TEXAS
Contact:

Re: Let's disable the return key

Post by MattKingUSA » Thu May 07, 2009 7:42 am

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.

User avatar
eddie
Posts: 974
Joined: Wed Sep 05, 2007 10:46 pm
Location: here
Contact:

Re: Let's disable the return key

Post by eddie » Thu May 07, 2009 7:49 am

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

User avatar
dann
Site Admin
Posts: 1132
Joined: Mon Apr 26, 2004 10:55 pm
Location: Hampton, Va, USA
Contact:

Re: Let's disable the return key

Post by dann » Thu May 07, 2009 11:13 am

Yeah, that's Mandriva - rpm based, no deb packages. I'm not sure if there is an equivalent dontzap rpm package.

MattKingUSA
Posts: 313
Joined: Mon Jul 28, 2008 10:49 am
Location: Dallas TEXAS
Contact:

Re: Let's disable the return key

Post by MattKingUSA » Thu May 07, 2009 11:43 am

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.

User avatar
eddie
Posts: 974
Joined: Wed Sep 05, 2007 10:46 pm
Location: here
Contact:

Re: Let's disable the return key

Post by eddie » Thu May 07, 2009 1:44 pm

# 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

Post Reply