Edit the Ctrl – Alt – Del Action in Ubuntu, Fedora and openSUSE

The Linux users that migrated from Windows know best about the Ctrl – Alt – Del key combination. In Linux Systems, you can set Ctrl – Alt – Del to do whatever you want it to do.

Watch Free Movies

To set this, edit the /etc/inittab file. This works on Ubuntu, Debian, Fedora, openSUSE and other Linux distros.

The ctrlaltdel line from the /etc/inittab file:
$ grep ctrlaltdel /etc/inittab
ca::ctrlaltdel:/sbin/shutdown -r -t 4 now

To disable the Ctrl – Alt – Del action, comment the corespondent line (or delete it):

# ca::ctrlaltdel:/sbin/shutdown -r -t 4 now

To modify the Ctrl – Alt – Del action, replace /sbin/shutdown and its arguments with the new command:

ca::ctrlaltdel:/path/to/script_or_command [arguments here]

To apply the changes, type this in the terminal:

# init q

Or reboot the Linux System.

Scroll to Top