How to disable control-alt-backspace?

Booting, installing, newbie
Post Reply
Message
Author
Ganymedes
Posts: 92
Joined: Tue 07 Nov 2006, 15:08
Location: Finland

How to disable control-alt-backspace?

#1 Post by Ganymedes »

A quick one ... how do you disable the control-alt-del key combination from killing X ?

... could not find a file where that would be defined ...

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#2 Post by MU »

edit /etc/X11/xorg.conf
add
Option "DontVTSwitch" # Uncomment this to disable the <Ctrl><Alt><BS>

to
Section "ServerFlags"

example:
http://aurelien26.free.fr/s940/xorg.conf

Mark

Ganymedes
Posts: 92
Joined: Tue 07 Nov 2006, 15:08
Location: Finland

#3 Post by Ganymedes »

Thank you very much !

User avatar
Gn2
Posts: 943
Joined: Mon 16 Oct 2006, 05:33
Location: virtual - Veni vidi, nihil est adpulerit

#4 Post by Gn2 »

Was that typo - hot-keys combo Ctrl+Alt+Del should be intercepted & shutdown option run.

Ctrl+Alt+Bkspc is hot-keys to kill running GUI desktop.

Ganymedes
Posts: 92
Joined: Tue 07 Nov 2006, 15:08
Location: Finland

#5 Post by Ganymedes »

Yes, indeed, it was Backspace that I meant ... haven't had morning coffee, yet :!: .

User avatar
Gn2
Posts: 943
Joined: Mon 16 Oct 2006, 05:33
Location: virtual - Veni vidi, nihil est adpulerit

#6 Post by Gn2 »

:lol: :lol: That's allowed
Using that 1st combo .... might be a very un-welcome wake up alarm ring !

Ganymedes
Posts: 92
Joined: Tue 07 Nov 2006, 15:08
Location: Finland

#7 Post by Ganymedes »

Actually, I haven't got this to work. Puppy is 2.11.

First, it seems that the correct option is:

Option "DontZap" - atleast according to the explanation link provided above. There is also a "xorg.conf0" -file, which seems to part of the config as well.

Could anybody cast some light to this, because this got difficult to figure out, since I would need basic knowledge on:

- If, I do "restart X" - which file is read (there are files under "initrd" for this , too)
- when I reboot or remaster in this case - which file is the one that I need to change (it seems to be "xorg.conf0"). Or perhaps I would need to delete conf files from under "initrd" when remastering ?

So I am a bit stuck, because I do not know if this new config is supposed to work after restart-X or if a reboot is required - for one thing.

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#8 Post by MU »

the conf0 is used as a template by xorgwizard, when it creates a new xorg.conf.

You should add the change to both files.

Mark

Ganymedes
Posts: 92
Joined: Tue 07 Nov 2006, 15:08
Location: Finland

#9 Post by Ganymedes »

Yeah well, the other file (.conf) was not there after remastering (the file .conf0 was). However, both files ARE there when I boot the system up (and create a save). And they have the correct data.

Maybe it should be there initially, in order to work correctly - I have to try that out later.

I am using Xvesa by the way, if that makes a difference.

Ganymedes
Posts: 92
Joined: Tue 07 Nov 2006, 15:08
Location: Finland

#10 Post by Ganymedes »

Nothing seems to help. It still does not disable the possibility to go to the command prompt. (Puppy is 2.11 and it is a live CD-boot).

Does anybody have an idea why this does not work ? Any hints would be appreciated .

GuestToo
Puppy Master
Posts: 4083
Joined: Wed 04 May 2005, 18:11

#11 Post by GuestToo »

the Xvesa X server does not use xorg.conf

Ganymedes
Posts: 92
Joined: Tue 07 Nov 2006, 15:08
Location: Finland

#12 Post by Ganymedes »

Thanks for the clarification !

Are you also saying that "forget trying this" ?

Post Reply