From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 6B471159C96 for ; Mon, 29 Jul 2024 15:10:31 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CCB372BC08F; Mon, 29 Jul 2024 15:10:25 +0000 (UTC) Received: from mail-lf1-x136.google.com (mail-lf1-x136.google.com [IPv6:2a00:1450:4864:20::136]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 7E42F2BC026 for ; Mon, 29 Jul 2024 15:10:25 +0000 (UTC) Received: by mail-lf1-x136.google.com with SMTP id 2adb3069b0e04-52efdf02d13so5567588e87.2 for ; Mon, 29 Jul 2024 08:10:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1722265823; x=1722870623; darn=lists.gentoo.org; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=RVltAqw/HcUyfMG/11me0c8OowYuy4bXg/usyexJyDY=; b=TkD0+JGM9ZNKeO09xiAAoUQW6t4PDnRWXK2OW5d5I1H9NKD6SqINEoaiycofz+w2DT SlbGYVKw9HjvH9H6MuNGSPbEGnxNrr0OxA9rr9QaUyUxAn+7J7Jah2H/EBlJW8OnxpUI bU+p+zPvQLcYRvdTzgqqKkU27tn9HleFqV8m1vyZSS+rfOSkvqp/u/U3LMm/e/eL4w8N +5Ki/qi1DJ+lS6mtxd8ZWBI6jnuG3lrhfA/3Foh3ZlnFtLoPzgmLNScJzTIV65+ZFNC5 FI1CMor7UJjdtta9MhB/dpGhuVoFoiSKQel/inKVA0FdhoEpnnveTZSpCs75zWuEZhHp gXQQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1722265823; x=1722870623; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=RVltAqw/HcUyfMG/11me0c8OowYuy4bXg/usyexJyDY=; b=ah2XZE6wNSUIzKuzuEl3T3oE7uhgqo1btgLxz+t3wusHxStRbIUr6bbowhwwJL8iIB VPmvsggaz7S6W/BI6jAybFQmhDbL5UnlMvVcP+VJWN8qwglRiaGRCGw3CKW+7KD01vzR L9L+Jlw9BrvaePxuQc1PU/pppOUOE43mj16C2JoIIM6WznDUDnajgd06bOSiVgD9QW4d uZTZvSui8eNrFD+5fnBuM+7MNIHMBKKeKOQJ95HNoK6CDisobw4dbQrjy/BvNKQ3xmtv UdkqlHX92r+FHBBdrs/Yg6sSYdbwNzpyIuLzeUNV9no1mibay5FksjwY3mRJzAs2OcVy xrUQ== X-Gm-Message-State: AOJu0YyzAy3rwBJBObLh7YNCnW5ow1oZofKGBNVXxNp6F5Bt3zYMxLxr B933qcPJ970ZqbyjvBDNSFyo0jJva21hrAXHX71D/i6rSmtFXYnB89WBlmsbwKYfjPQkQrpYKZM 5P9vo1EI6XS6nvhSWfbaL2SG1V2RWjWtc X-Google-Smtp-Source: AGHT+IFWvM4k58yBdColopWWE6PpuNn4RpMP1zeFmrDrPD/d8C5b7Z96iiQ6xH+PN2JXih6qCSon6AAVvmsZ3/n9Tzs= X-Received: by 2002:ac2:4f07:0:b0:52c:df55:e110 with SMTP id 2adb3069b0e04-5309b26928bmr8174715e87.12.1722265823053; Mon, 29 Jul 2024 08:10:23 -0700 (PDT) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 References: <5799968.DvuYhMxLoT@cube> <5012036.0VBMTVartN@rogueboard> <4581597.LvFx2qVVIh@cube> In-Reply-To: <4581597.LvFx2qVVIh@cube> From: Mark Knecht Date: Mon, 29 Jul 2024 08:10:10 -0700 Message-ID: Subject: Re: [gentoo-user] Scripting KDE? To: gentoo-user@lists.gentoo.org Content-Type: multipart/alternative; boundary="000000000000978f4d061e644285" X-Archives-Salt: b0ecdcf9-e29b-4b71-baab-8e1acef3fa8a X-Archives-Hash: a9eae9be8f82a10263c88cc42a4893fd --000000000000978f4d061e644285 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Mon, Jul 29, 2024 at 6:42=E2=80=AFAM Peter Humphrey 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? - Mark --000000000000978f4d061e644285 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


On Mon, Jul 29, 2024 at 6:42=E2=80=AFAM Peter Hump= hrey <peter@prh.myzen.co.uk= > wrote:
>
> On Monday, 29 July 2024 14:32:24 BST Michael wr= ote:
> > On Monday, 29 July 2024 14:27:03 BST Matt Connell wrote:<= br>> > > On Mon, 2024-07-29 at 14:17 +0100, Peter Humphrey wrote:<= br>> > > > Is there a way to pass a shutdown command to KDE ove= r SSH? Google
> > > > doesn't help me much, though it ha= s a good deal of stuff on scripting
> > > > inside KDE.
&= gt; > >
> > > 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.
><= br>> 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?

- Mark
--000000000000978f4d061e644285--