I've moved my blog to jmcneil.net. This is no longer being updated!

Monday, February 23, 2009

I keep killing my X server...

I use GNU Emacs to edit most everything. Python, text files, C code, shell scripts... I even run all of my shell windows as 'ansi-term' buffers. Who needs a mouse?

That said, I have a terrible habit of smacking CTRL+ALT+BACKSPACE while attempting to hit CTRL+BACKSPACE. Yeah, I know. One kills the previous word and one kills the X server...

I've never really bothered to plug that up. This morning, I did it again. I did some digging:

Section "ServerFlags"
Option "DontZap" "yes"
EndSection

There. Now I can hit the wrong combination all day long and I won't bounce my X session. What a helpful little config option.