From: Peter Humphrey <peter@prh.myzen.co.uk>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Scripting KDE?
Date: Mon, 29 Jul 2024 14:42:18 +0100 [thread overview]
Message-ID: <4581597.LvFx2qVVIh@cube> (raw)
In-Reply-To: <5012036.0VBMTVartN@rogueboard>
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.
next prev parent reply other threads:[~2024-07-29 13:42 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 [this message]
2024-07-29 15:10 ` Mark Knecht
2024-07-29 17:41 ` Peter Humphrey
2024-07-29 19:34 ` Dale
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=4581597.LvFx2qVVIh@cube \
--to=peter@prh.myzen.co.uk \
--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