If you don’t want to use a user interface to change the effect of Ctrl+Alt+Backspace in any flavour of Ubuntu you can follow these steps:
1) Install the “dontzap” package
sudo apt-get install dontzap
2) Open Terminal or Konsole and type:
sudo dontzap --enable
or
sudo dontzap --disable
Where “disable” means that Ctrl+Alt+Backspace restarts the xserver while “enable” means that it won’t.
I’ll post something on the GTK UI when it’s ready.
Posted by Alberto Milone | January 22, 2009 6:37 pm
Filed under: Planet, UDS, Ubuntu
Comments (24) |
January 22nd, 2009 at 7:28 pm
Awesome, thanks. This will come in very handy.
January 22nd, 2009 at 7:37 pm
Thank you! This doesn’t require that you have an xorg.conf at all right? If so, yay!
I still find it annoying that this is being disabled by default, especially so early in Jaunty (it’s darned useful when running unstable!).
January 22nd, 2009 at 7:45 pm
If you don’t have an xorg.conf, a new one will be created. It will contain only the DontZap option.
January 23rd, 2009 at 12:59 am
I can’t find this package. Is it only available in the Jaunty repos? I was hoping it would be backported to Intrepid.
January 23rd, 2009 at 12:30 pm
Yes, sorry, it’s only for Jaunty
January 23rd, 2009 at 12:43 pm
exactly what is the opposite of “restarting the xserver”?
I mean, it should read;
Where “disable” means that Ctrl+Alt+Backspace restarts the xserver while “enable” means that it wont.
Opposites are not the same as anti-poles.
January 23rd, 2009 at 12:54 pm
Thanks for your correction. I was very tired when I wrote this post and that was the best description I could come up with.
January 27th, 2009 at 3:30 pm
[...] Fonte do post, aqui. [...]
February 1st, 2009 at 10:41 am
Thanks. It will come in handy.
February 1st, 2009 at 8:34 pm
[...] „Ctrl“ + „Alt“ + „Backspace“ galite išjungti pasinaudodami šiuo patarimu: [...]
February 2nd, 2009 at 10:16 pm
when will you update envyng with the latest nvidia drivers?
February 27th, 2009 at 8:41 am
Thank you so much! I would like to add that after sudo dontzap –disable, one has to manually logout first before the settings are applied since the script adds a section to xorg.conf.
March 13th, 2009 at 1:46 pm
Alberto,
Good day. Its nothing to do with current blog but do you have any idea when nvidia 96.43.11 drivers will be added to Jaunty’s repositories? Awaiting reply and thankyou.
April 7th, 2009 at 9:55 pm
Thanks for the reboot tip for it to work.Truly needed for testing jaunty all though my use of linux will soon be over on this box anyway.Asus mother board(pblk length 5) and the 845ge intel chipset.Gusty was the last release that worked correctly.Bring an old pc back to life with linux lol.I wish xorg would fix all this it’s been a year and a half of fighting on this old box.
April 25th, 2009 at 3:59 am
This worked perfectly. Thank you so much for sharing this!
April 25th, 2009 at 8:55 pm
[...] Check out Alberto Milone’s instructions [...]
May 1st, 2009 at 4:07 pm
Thanks very much for the help. I had the package installed but couldn’t remember how to activate. :S
May 7th, 2009 at 4:55 am
Works great had to reboot but that was expected. Great job and now back on the road.
June 1st, 2009 at 6:54 am
Thanks for this, very helpful!
August 5th, 2009 at 12:33 am
This killed the tweaked xorg.conf I did have, how ‘nice’.
It would be really good if you actually added the section if it didn’t exist and change it if needed or maybe atleast advertise that you made a backup and what name it has (yes I did find it, by reading the Python code eventually).
August 8th, 2009 at 1:22 pm
@Lennie
I don’t know where you got the idea that I don’t create a ServerFlags section if none can be found:
if empty:
# create a ServerFlags section
a.makeSection(targetSection)
http://bazaar.launchpad.net/~albertomilone/dontzap/main/annotate/head%3A/DontZap/dontzap.py
August 25th, 2009 at 1:53 am
Thank you, needed this
October 13th, 2009 at 6:26 am
[...] Check out Alberto Milone’s instructions [...]
October 13th, 2009 at 9:02 am
[...] Check out Alberto Milone’s instructions [...]