Tiny Core Extensions > TCE Q&A Forum

[SOLVED}How to kill Xorg with Ctrl Alt Backspace in 5.x?

<< < (2/2)

neonix:
In TC15x86-64 I want to kill Xorg with ctrl+alt+backspace.

I tried to modificate
/usr/local/share/X11/xorg.conf.d/xorg.conf


--- Code: ---Section "InputDevice"
   Identifier "Generic Keyboard"
   Driver "kbd"
   Option "XkbOptions" "terminate:ctrl_alt_bksp"
EndSection
--- End code ---

but it doesn't work. I discovered that nowadays Xorg use many config files.
I modificated
/usr/local/share/X11/xorg.conf.d/xorg.conf.d/90-custom-kbd.conf

--- Code: ---Section "InputDevice"
   Identifier "Generic Keyboard"
   Driver "kbd"
Option "XkbOptions" "grp:alt_shift_toggle,terminate:ctrl_alt_bksp"
--- End code ---
but it doesn't work.

There are many different options.

keyboard.conf
00-keyboard.conf
90-custom-kbd.conf

My questions is "Is it possible to have out-of-the-box kill switch in Xorg.
Or put "sudo killall Xorg" in to menulist? I want to have ready solution in repo without any reconfiguration of my system.

Rich:
Hi neonix

--- Quote from: neonix on February 27, 2025, 01:42:49 AM --- ... Or put "sudo killall Xorg" in to menulist? I want to have ready solution in repo without any reconfiguration of my system.
--- End quote ---
It's already there. In the menu list, click exit. When the little  TC Exit Options  window
pops up, select  Exit to Prompt  and click OK. That will kill Xorg.

You can also get there by clicking the  Exit  icon in the wbar.

PDP-8:
Just a little followup for newbs and configs ..  I use the gui menu to exit to the command prompt, you are left at the commandline of course.

But they may be tempted to type startx again.

I prefer to *totally* log out from the cli typing exit.  And at the next login prompt, type tc to start it all up again.  I normally do this if I make changes to .Xdefaults for example...

Navigation

[0] Message Index

[*] Previous page

Go to full version