public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Dale <rdalek1967@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Scripting KDE?
Date: Mon, 29 Jul 2024 14:34:31 -0500	[thread overview]
Message-ID: <87bca906-078f-f056-d849-c6b320b2cc61@gmail.com> (raw)
In-Reply-To: <4907883.GXAFRqVoOG@cube>

Peter Humphrey wrote:
> On Monday, 29 July 2024 16:10:10 BST Mark Knecht wrote:
>> On Mon, Jul 29, 2024 at 6:42 AM Peter Humphrey <peter@prh.myzen.co.uk>
>>
>> wrote:
>>> On Monday, 29 July 2024 14:32:24 BST Michael wrote:
>>>> On Monday, 29 July 2024 14:27:03 BST Matt Connell wrote:
>>>>> On Mon, 2024-07-29 at 14:17 +0100, Peter Humphrey wrote:
>>>>>> Is there a way to pass a shutdown command to KDE over SSH? Google
>>>>>> doesn't help me much, though it has a good deal of stuff on
>> scripting
>>
>>>>>> inside KDE.
>>>>> loginctl terminate-session
>>>>>
>>>>> ^ would be the first thing I would try.
>>>> That'll exit the desktop session.
>>>>
>>>> Try 'loginctl hibernate' if you want to save everything to disk, or for
>>>> 'loginctl suspend' for a faster startup.
>>> No, I don't suspend or hibernate here; I'll try Matt's suggestion and
>> follow
>>
>>> it with 'sudo reboot'.
>>>
>>> Thank you both.
>>>
>>> --
>>> Regards,
>>> Peter.
>> Or possibly sudo shutdown -h now?
> Yes. The bit I needed was getting KDE to exit gracefully instead of being 
> killed blindly.
>


I've ran into this a time or two here.  I'll do a upgrade but for some
reason, KDE won't log itself out on its own.  I guess some package got
out of sync or something.  I end up going to a console and doing things
the manual way.  When I do that, I get the desktop I had when I logged
out the previous time since that is what was saved. 

Given the regular logout process doesn't work, this command line way may
not either but I'm hoping to remember it and give it a try.  If it will
work over ssh, maybe it will work when on the system itself.  I had no
idea there was a command line way to logout.  Looking at help info, it
has a lot of options. 

I still don't like this small version of a keyboard.  I like the size of
the old Dell Quietkey from my old rig.  It's old, PS/2 and all but it
fits my fingers better.  I can't find a reasonably priced replacement. 
They all seem to be smaller.  How does one type on these little
things???  I get lots of typos. 

Dale

:-)  :-)


  reply	other threads:[~2024-07-29 19:34 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-07-29 13:17 [gentoo-user] Scripting KDE? Peter Humphrey
2024-07-29 13:27 ` Matt Connell
2024-07-29 13:32   ` Michael
2024-07-29 13:37     ` Matt Connell
2024-07-29 13:42     ` Peter Humphrey
2024-07-29 15:10       ` Mark Knecht
2024-07-29 17:41         ` Peter Humphrey
2024-07-29 19:34           ` Dale [this message]
2024-08-18 17:03             ` Frank Steinmetzger
2024-08-18 18:15               ` Dale
2024-08-18 22:41                 ` Michael
2024-08-18 23:12                   ` Dale
2024-08-19  9:11                     ` Michael
2024-08-19 10:35                       ` Waldo Lemmer
2024-08-19 13:15                         ` Dale
2024-08-31 19:52                           ` Wol
2024-08-31 17:11                     ` Wols Lists
2024-08-31 19:03                       ` Dale
2024-09-01 10:32                         ` Peter Humphrey
2024-07-29 20:12 ` gentoo
2024-07-30  9:26   ` Peter Humphrey
2024-08-18 16:59 ` Frank Steinmetzger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87bca906-078f-f056-d849-c6b320b2cc61@gmail.com \
    --to=rdalek1967@gmail.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox