Modify Ctrl-Alt-Del Behavior in Linux

I hate the Ctrl-Alt-Del combination, maybe because it reminds me of the unpleasant days when I used other operating systems. If you want to modify it, then here is how to do this:

In Ubuntu

Open the file /etc/event.d/control-alt-deleteĀ  (You need supper user privileges)

You should see a line similar to this:

exec /sbin/shutdown -r now “Control-Alt-Delete pressed”

Which binds ctrl-alt-del to rebooting your computer. Change it to execute any other program you want. Of course you can disable it completely by commenting the whole file.

Other Distros (via Tips4Linux)

In other distros, open /etc/inittab.

You should see something like this:

ca:12345:ctrlaltdel:/sbin/shutdown -t1 -a -r now

To disable ctrl-alt-del, just comment this line. To bind it with other program, just replace “/sbin/shutdown -t1 -a -r now” with the program you want to execute.

Enjoy!

If you enjoyed this post, make sure you subscribe to my RSS feed!

Post to Twitter Post to Yahoo Buzz Post to Delicious Post to Digg Post to Facebook Post to Ping.fm Post to Reddit Post to StumbleUpon

Related posts:

  1. Edit The Command Line With Vim
  2. Send Email from the Command Line using Gmail Account
  3. Renaming Files In Linux
  4. Send Self Reminders To Your Email From The Command Line
  5. Watch Lectures From Top Universities in YouTube

Tags:

Saturday, March 21st, 2009 Linux

Leave a Reply

my email
Already a member?
Login
Login using Facebook:
Last visitors
my photo
Hi,
My name is Amir Watad. I have a BSc. in biomedical engineering from The Biomedical Engineering school , Technion , Israel, and am currently studying for a BSc. in electrical engineering at The Electrical Engineering school , Technion , Israel.
I work at the verification dept. in Mellanox Technologies Ltd.
I love Linux, the Command Line and the OpenSource Community.
I used to write Poems (Arabic) when I was able to find time for this.
March 2009
S M T W T F S
« Feb   May »
1234567
891011121314
15161718192021
22232425262728
293031  
Firefox Logo Crystal
SEO Powered by Platinum SEO from Techblissonline

Twitter links powered by Tweet This v1.6.1, a WordPress plugin for Twitter.