Page 1 of 2 12 LastLast
Results 1 to 10 of 17

Thread: How to restart desktop after ctrl+alt+esc

  1. #1

    Default 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?

  2. #2
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: How to restart desktop after ctrl+alt+esc

    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))

  3. #3

    Default Re: How to restart desktop after ctrl+alt+esc

    Quote Originally Posted by robin_listas View Post
    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.

  4. #4

    Default Re: How to restart desktop after ctrl+alt+esc

    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.

  5. #5
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: How to restart desktop after ctrl+alt+esc

    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 :-)

    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))

  6. #6
    Join Date
    Sep 2008
    Posts
    2,997

    Default Re: How to restart desktop after ctrl+alt+esc

    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

  7. #7
    Join Date
    Sep 2008
    Posts
    2,997

    Default Re: How to restart desktop after 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)

  8. #8
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    20,372
    Blog Entries
    1

    Default Re: How to restart desktop after ctrl+alt+esc

    Quote Originally Posted by susedevfan View Post
    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?
    If you killed the plasma-desktop, you could restart it with
    Code:
    plasma-desktop &

  9. #9

    Default Re: How to restart desktop after ctrl+alt+esc

    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.

  10. #10
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    20,372
    Blog Entries
    1

    Default Re: How to restart desktop after ctrl+alt+esc

    Quote Originally Posted by susedevfan View Post
    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.

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •