How to restart desktop after ctrl+alt+esc

Can the Desktop be restarted from the Terminal if someone (to remain nameless) were to accidentally click on the desktop after ctrl+alt+esc when he really meant to go to the Terminal?
The Terminal still works when you do that, just no desktop. With the command ‘poweroff’ in the Terminal, you can power off and reboot. That part I know. But can the desktop restart without rebooting?

On 2015-06-13 21:06, susedevfan wrote:
>
> Can the Desktop be restarted from the Terminal if someone (to remain
> nameless) were to accidentally click on the desktop after ctrl+alt+esc
> when he really meant to go to the Terminal?

What desktop? On mine, ctrl+alt+esc does nothing.

> The Terminal still works when you do that, just no desktop. With the
> command ‘poweroff’ in the Terminal, you can power off and reboot. That
> part I know. But can the desktop restart without rebooting?

If the desktop is dead, login in a terminal as root, then “init 3 ; init 5”.

If the desktop is not dead, then ctrl-alt-f7 returns to it.


Cheers / Saludos,

Carlos E. R.

(from 13.1 x86_64 “Bottle” (Minas Tirith))

In KDE, the cursor turns into a skull and cross-bones and the next program you click on stops. The equivalent in Windows is when you highlight a program in the TaskManager and click Stop Program.

init 3; init 5 let me log into a new desktop at ctrl+alt+F8, but the F7 desktop was still gone. So that seems to let me open multiple desktop, but not so much re-start the first one.

On 2015-06-13 22:26, susedevfan wrote:
>
> In KDE, the cursor turns into a skull and cross-bones and the next
> program you click on stops. The equivalent in Windows is when you
> highlight a program in the TaskManager and click Stop Program.

LOL :slight_smile:

On 2015-06-13 22:46, susedevfan wrote:

> init 3; init 5 let me log into a new desktop at ctrl+alt+F8, but the F7
> desktop was still gone. So that seems to let me open multiple desktop,
> but not so much re-start the first one.

Something wrong. “init 3” should kill the existing desktop, but maybe
something remains running, or some resource is in use, so when graphical
mode is started again it goes to the terminal #8.


Cheers / Saludos,

Carlos E. R.

(from 13.1 x86_64 “Bottle” (Minas Tirith))

In KDE, the cursor turns into a skull and cross-bones and the next program you click on stops. The equivalent in Windows is when you highlight a program in the TaskManager and click Stop Program.

I remember using that to kill non-responsive applications in kde3 but as far as I can tell (and I did try it) that key combo has been removed from kde4.
anyhow if by doing something strange you endup with a strange desktop environment try ctrl+alt+2Xbackspace and the X should restart and the display manager will appear (kdm or gdm or lxdm) so you can loggon again.
or do
ctrl+alt+F1
su
init 6

ps is there a way to kill a non-responsive GUI application from kde4(5) like that old ctrl+alt+esc

I think what happened is he used killX on kwin
typing &kwin in the existing terminal should restart the desktop, still I think this is a kde3 feature haven’t seen it in kde4 or lxqt (the DE’s I use)

If you killed the plasma-desktop, you could restart it with

plasma-desktop &

I really appreciate the feedback I got on this thread because init is a cool command line tool I didn’t know about before. init 0 = poweroff. less keystrokes same result. I’ll try init 6 next. sorry, I don;t have the plasma desktop. I’m the guy who uses ‘zypper addlock breeze’ to block it. But that’s another story. ctrl+alt+esc is still working in kde4, but I understand you may have forgotten about it if there are other ways to do this. I am always looking for the fastest way and some lame gui approach is never the fastest.

Well most people running KDE4 would have the plasma-desktop running, and so if it was killed with CTRL+ALT+ESC, it could be restarted as I mentioned. If you want people to provide relevant answers, you should describe your exact environment, otherwise we’re left to guess.

On 2015-06-13 23:56, I A wrote:
> ps is there a way to kill a non-responsive GUI application from kde4(5)
> like that old ctrl+alt+esc

I use the xkill program from alt-f2.

But before that, I try the X on the corner. If after a while it doesn’t
close, the desktop (xfce) pops up a message saying that the application
is not responding, should it be killed? Answer yes and it dies.


Cheers / Saludos,

Carlos E. R.
(from 13.1 x86_64 “Bottle” at Telcontar)

On 2015-06-14 06:56, susedevfan wrote:
> ctrl+alt+esc is still working in
> kde4,

I would prefer that key combination to produce a task manager thing, a
list of running applications, perhaps with cpu and resources used. Not
directly popping up the skull.


Cheers / Saludos,

Carlos E. R.
(from 13.1 x86_64 “Bottle” at Telcontar)

For KDE, the system activity window is brought up with CTRL+ESC

On 2015-06-14 10:56, deano ferrari wrote:

> For KDE, the system activity window is brought up with CTRL+ESC

Unfortunately, those key combinations are not universal. It’s a nuisance.

In XFCE, ctrl-esc pops the desktop menu.


Cheers / Saludos,

Carlos E. R.
(from 13.1 x86_64 “Bottle” at Telcontar)

Well, yes it is DE dependent. I guess you can configure a keyboard shortcut to launch the desired system monitor (xfce4-taskmanger, gnome-system-monitor etc)?

I am using KDE4 and that key combo does work for me. It hasn’t been removed from KDE4.

@deano_ferrari: That is who I was responding to, not you. I intend to try both plasma5-desktop & and init 6.

I intend to try both plasma5-desktop & and init 6.

init 6 is reboot /s
it could be an extra setting but I use kde4 less and less, still haven’t switched to 5, using lxqt atm.