Tiny Core Linux

Tiny Core Extensions => TCE Q&A Forum => Topic started by: magicloud on November 01, 2013, 01:13:27 AM

Title: How to customize hotkey to kill Xorg?
Post by: magicloud on November 01, 2013, 01:13:27 AM
Hi,

I am using tcl 2.10 with Xorg-7.4. I have add following section to xorg.conf. Now Ctrl Alt Backspace could kill xorg as expected. But I also want Ctrl Alt Del to do so. So I looked into /usr/local/share/X11/xkb, and found no definition of "terminate", which should be used as "Option          "XkbOptions" "terminate:ctrl_alt_bksp"". Tried to add them but changed to ctrl_alt_dele, no luck. What should I do?

Section "ServerFlags"
    Option "DontZap" "false"
EndSection
Title: Re: How to customize hotkey to kill Xorg?
Post by: curaga on November 01, 2013, 08:22:22 AM
Xorg 7.4, 7.5 and 7.6 have it hardcoded to ctrl-alt-backspace.

That aside, ctrl-alt-del goes to init, so you would add your kill command to /etc/inittab in a remaster.
Title: Re: How to customize hotkey to kill Xorg?
Post by: magicloud on November 07, 2013, 11:21:21 PM
Xorg 7.4, 7.5 and 7.6 have it hardcoded to ctrl-alt-backspace.

That aside, ctrl-alt-del goes to init, so you would add your kill command to /etc/inittab in a remaster.

Thank you for the information. I was wondering that C A Backspace was hardcoded.