I'm typing on my new laptop and not quite comfortable with the keys. I type pretty fast but I make errors so I frequently backspace. As a result, I've killed my GDM 3 times today by accidentally having ctrl & alt held down when I backspaced to correct my error. It will not happen again. Here's how to 'fix' this situation...
To disable Ctrl-Alt-Backspace:
From UbuntuForums.org: http://ubuntuforums.org/showthread.php?t=146590
Open xorg.conf for editing (sudo gedit /etc/X11/xorg.conf). Add these 3 lines to the end:
Section "Serverflags"
Option "DontZap" "yes"
EndSection
Save the file and close gedit.
To disable Shift-Backspace (info from here):
Add this command (the entire underlined portion) to your startup programs: xmodmap -e "keycode 22 = BackSpace BackSpace Terminate_Server" or add that command to the end of your ~/.bashrc file. In either case, reboot your machine after you make the changes.
I did both of these 'fixes' and they work like a charm. I guess now I'll have to restart GDM from the command line. No biggie. Beats closing out my system several times per day. If anyone has a better idea, like how to map the GDM restart to say 'ctrl-alt-tilde' or something I can't fat-finger, I'm all ears! 🙂
To disable Ctrl-Alt-Backspace:
From UbuntuForums.org: http://ubuntuforums.org/showthread.php?t=146590
Open xorg.conf for editing (sudo gedit /etc/X11/xorg.conf). Add these 3 lines to the end:
Section "Serverflags"
Option "DontZap" "yes"
EndSection
Save the file and close gedit.
To disable Shift-Backspace (info from here):
Add this command (the entire underlined portion) to your startup programs: xmodmap -e "keycode 22 = BackSpace BackSpace Terminate_Server" or add that command to the end of your ~/.bashrc file. In either case, reboot your machine after you make the changes.
I did both of these 'fixes' and they work like a charm. I guess now I'll have to restart GDM from the command line. No biggie. Beats closing out my system several times per day. If anyone has a better idea, like how to map the GDM restart to say 'ctrl-alt-tilde' or something I can't fat-finger, I'm all ears! 🙂