WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: how to trap the ctrl+alt+del and backspace key  (Read 4404 times)

Offline si_hussain1

  • Newbie
  • *
  • Posts: 44
how to trap the ctrl+alt+del and backspace key
« on: July 15, 2009, 02:15:11 AM »
Hi,
 1.  Can anyone tell me a good way of trapping the ctrl+alt+del and backspace key. I do not want anyone to reboot the client or to kill the X.


2. how do i add the splash screen . I do not want to see the boot messages etc

Thanks in advance
« Last Edit: July 15, 2009, 02:30:54 AM by si_hussain1 »

Offline Lee

  • Hero Member
  • *****
  • Posts: 645
    • My Core wiki user page
Re: how to trap the ctrl+alt+del and backspace key
« Reply #1 on: July 15, 2009, 08:41:56 AM »
I think there's a line in /etc/inittab that tells it what to do on ctrl-alt-delete.   No idea about the rest.
32 bit core4.7.7, Xprogs, Xorg-7.6, wbar, jwm  |  - Testing -
PPR, data persistence through filetool.sh          |  32 bit core 8.0 alpha 1
USB Flash drive, one partition, ext2, grub4dos  | Otherwise similar

Offline ^thehatsrule^

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 1726
Re: how to trap the ctrl+alt+del and backspace key
« Reply #2 on: July 16, 2009, 01:11:07 AM »
Xorg has the dontzap option (which is on by default in the latest)

I don't think there was any previous users who have tried a splash screen yet.  Good time to be the first ;)

Offline si_hussain1

  • Newbie
  • *
  • Posts: 44
Re: how to trap the ctrl+alt+del and backspace key
« Reply #3 on: July 18, 2009, 08:59:07 AM »
i thought of it. But then there is no xorg.conf in this. Is there any particular way for this?

Offline ^thehatsrule^

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 1726
Re: how to trap the ctrl+alt+del and backspace key
« Reply #4 on: July 18, 2009, 05:16:27 PM »
For Xorg, see the Xorg extension

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: how to trap the ctrl+alt+del and backspace key
« Reply #5 on: July 27, 2009, 07:58:17 PM »
If you use the Xvesa extension in the repo, it has the -nozap option that prevents ctrl-alt-backspace from killing X.  I also am pressing ctrl-alt-del while in X and nothing is happening.  So the Xvesa extension should be what you are looking for if you don't want full Xorg.

Offline si_hussain1

  • Newbie
  • *
  • Posts: 44
Re: how to trap the ctrl+alt+del and backspace key
« Reply #6 on: July 31, 2009, 02:16:10 AM »
Hi,
  That did the trick . Thanks.