WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: How to customize hotkey to kill Xorg?  (Read 2334 times)

Offline magicloud

  • Newbie
  • *
  • Posts: 30
How to customize hotkey to kill Xorg?
« 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

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11049
Re: How to customize hotkey to kill Xorg?
« Reply #1 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.
The only barriers that can stop you are the ones you create yourself.

Offline magicloud

  • Newbie
  • *
  • Posts: 30
Re: How to customize hotkey to kill Xorg?
« Reply #2 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.