[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: action of ctrl+alt+delete in console



On Mon, Aug 06, 2001 at 04:56:36PM +0200, Joerg Johannes wrote:
> Hi list
> 
> I remember there was a thread where someone wanted to change the
> behaviour of ctrl+alt+delete in the console. Unfortunately I can't find
> it in the archive, so, how can I change it from "reboot" to "restart
> gdm"?
> It is, because when I choose "suspend" from the gdm menu, and wake my
> computer up later, X is no more running, and I have to restart gdm.
> Instead of logging in as root every time, I'd like to use this little
> keyboard shortcut.
> 

Look in /etc/inittab for the lines:

# What to do when CTRL-ALT-DEL is pressed.
ca:12345:ctrlaltdel:/sbin/shutdown -t1 -a -r now

and change it to what you need. Then kill -HUP 1 to make it take
effect without rebooting.

-- Mark



Reply to: