Won't do that again! (or - maybe - how to kill X from the kbd)

Issues and / or general discussion relating to Puppy

Moderator: Forum moderators

Post Reply
User avatar
cobaka
Posts: 572
Joined: Thu Jul 16, 2020 6:04 am
Location: Central Coast, NSW - au
Has thanked: 94 times
Been thanked: 63 times

Won't do that again! (or - maybe - how to kill X from the kbd)

Post by cobaka »

Hello all and woof!

Correction: 2 posts up, @bigpup suggested I pressed only the ctrl+alt+backspace keys (and somehow not the shift key). Testing this - I believe he is correct. Anyway the keys strokes he mentioned above are a great way to kill Xwin and get back to the terminal command line. Just disregard what I wrote below.

I subscribe to a mail service called Fastmail.
When composing an e-mail three buttons across the top of the screen allow me to <send>, or <save>, or <discard>.
Until now I used a mouse for these functions, but a few moments ago I decided to use the keyboard to discard a poorly written e-mail.
With the mouse-pointer over <discard> I saw the short-cut key combination was ctrl+alt+shift+backspace.

Being a clever puppian, I thought: I can do that, I can, I can!
I ran outside, bit the postman on the leg and pressed ctrl+alt+shift+backspace
I found myself ... looking at a terminal screen.
I thought: <wtf *%#!@> I won't do that again!
The Puppy Linux X-window had shut down. Typing reboot (of course) re-started the OS and I suspect this is a neat way to return to the terminal in those rare instances when Puppy blows up. It's a long time since Puppy "blew up" but it can happen.

cobaka.

My setup: PC Manufacturer: Gigabyte Technology Co., Ltd.
Product Name: Z68X-UD3-B3

OS: A very faithful uPupBB32. Yes, I'm running a 32 bit OS on this 64 bit machine, and it runs reliably.
Sometimes I leave Puppy running for 1/2/3 weeks without shutting down.
uPupBB32 is a nice OS. I love it!

Memory: 8GiBytes (but I don't need that much memory).

Last edited by cobaka on Wed Apr 13, 2022 8:19 am, edited 1 time in total.

собака --> это Русский --> a dog
"c" -- say "s" - as in "see" or "scent" or "sob".

User avatar
rockedge
Site Admin
Posts: 6538
Joined: Mon Dec 02, 2019 1:38 am
Location: Connecticut,U.S.A.
Has thanked: 2746 times
Been thanked: 2619 times
Contact:

Re: Won't do that again! (or - maybe - how to kill X from the kbd)

Post by rockedge »

@cobaka,
Next time when you hit the console type : xwin and press enter. This will restart the Xorg X server.

User avatar
bigpup
Moderator
Posts: 6983
Joined: Tue Jul 14, 2020 11:19 pm
Location: Earth, South Eastern U.S.
Has thanked: 903 times
Been thanked: 1522 times

Re: Won't do that again! (or - maybe - how to kill X from the kbd)

Post by bigpup »

ctrl+alt+shift+backspace

They call that a simple key combination :roll:

ctrl+alt+backspace does what you describe.

You maybe did not exactly get the shift key pressed in the sequence of that simple key combination :thumbdown:

The things you do not tell us, are usually the clue to fixing the problem.
When I was a kid, I wanted to be older.
This is not what I expected :o

williams2
Posts: 1062
Joined: Sat Jul 25, 2020 5:45 pm
Been thanked: 305 times

Re: Won't do that again! (or - maybe - how to kill X from the kbd)

Post by williams2 »

You can disable ctrl+alt+backspace in /etc/X11/xorg.conf
by changing Option "DontZap" "false"
to
Option "DontZap" "true"

or by using setxkbmap

Post Reply

Return to “Users”