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)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id F2F9815852A for ; Sun, 18 Aug 2024 17:00:03 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 322392BC015; Sun, 18 Aug 2024 16:59:57 +0000 (UTC) Received: from mout.gmx.net (mout.gmx.net [212.227.17.21]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (prime256v1) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 78277E2A36 for ; Sun, 18 Aug 2024 16:59:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.de; s=s31663417; t=1724000388; x=1724605188; i=warp_7@gmx.de; bh=HGzNSxTUyjuLyE3WuhPoBazGg8b3ndTFHAO2gqMLvtw=; h=X-UI-Sender-Class:Date:From:To:Subject:Message-ID:References: MIME-Version:Content-Type:In-Reply-To:cc: content-transfer-encoding:content-type:date:from:message-id: mime-version:reply-to:subject:to; b=H5PLyqtQbHhkR66rOXokoCQ27XRvq+kLq5DFC6mH32ihsZl6HCINbRsVb+blbEHz GDyJ773dmWELT0Pw3V8n/ztJBfrQMZ2qfjlUhvLFftMJVHlaaOHUblftrRyoJCHaq rJ0kX7/hSD69uro4ujTVGgx59QGtpkuPH9/Y4QQT9aybTFuJaVKUItix8hwn+nn/u mG3ADNyF57+I9ye3Fd3gw4lGT+dJOC2PFw++8FfS875nf0qsvj5+I9BGjSBqIuvFa mdTXxg4zy8ZT+ORRXWtE9Ij5n5N/8K/TM0G9RUul6jLA3ktvczCRyRd55Hqa3ugkc rOZxYcoUmHeGken6hQ== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from kern ([89.245.63.181]) by mail.gmx.net (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MBlxM-1srn1E3DTA-00GigF for ; Sun, 18 Aug 2024 18:59:48 +0200 Date: Sun, 18 Aug 2024 18:59:47 +0200 From: Frank Steinmetzger To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Scripting KDE? Message-ID: Mail-Followup-To: gentoo-user@lists.gentoo.org References: <5799968.DvuYhMxLoT@cube> 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 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="4KiRcjwlKmp2EV5i" Content-Disposition: inline In-Reply-To: <5799968.DvuYhMxLoT@cube> User-Agent: Mutt 2.2.13; VIM - Vi IMproved 9.1 X-Provags-ID: V03:K1:8aIEeLFA/mArgKXjjhNQfucFKngtia57AEwpDYzmP3Puxcxqoxr FcUcs1g5+/eCFM2NwUfc5rdhB6Bp2Ohk4PRW8hoqOCeS+ooaKVRNsht7zno3rIlLoPpDcS3 gu1FOCIDGT9t8SewlXQBJEMD0Yu3XTuQrA3Ye3qkGjt2lRsbAFSwec7fSNFVba1JNGVjTXH kQNOxRGy4hcNRa8a49UcA== X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:W9EsdfV0MKo=;kmq9VcP5RRfLpQ4bfVKSq21fKXE mI3FoE2BizhmPXZ2CMPOQSSOP9IEikbQWY3cTkh1ezG1aUbXboQqAgrQjgkwOB7MK/2L7ZPis KEr3VNS/rqddPN4ZAid8T5Sclko9Y3M9QNnnOqH3vlMfqxgaNRKToNhzjcKgT1s6cg+TIAXHT cm/IQ4AzUcZUjjIJuKAI5fIa+hoCj02LvsZtt+Bm4Vhw3F8OAmYf7uC2wmrEzUGuaEEA1sSkH kS6S2OYXVEhVDfbixN0BVVtXarmbz17tc9B0sVYbOHtK4H50GTeVxC+rnOY457ysbZ66eAF8H XreaIc7bI36qs3OY+7R6w1fDW1afeO/kon0+QxyWplC3wc0KTlJi4j2AoeyK3LlPNZldYXJFl 4bDAP8UYRikR2+ZCVDZCfvJJ8TXXqUvzmbDei/WkMPyxxZApfdQPv1uNYZWezqvn4xW/tUt7A vaBDOR+5EWUrUMXHOBwutmiK8GLWGZmsIeIMSIFdKqS/NbjrCSpScNP3uzK1bNtslvsUS7pS6 RuPhDRXaD18TgrOvAl/V7Y+urRxG3NakU2hOcImYW29ahytBLTjYQaWTL0/ARU9IylZ9H+Mer YtVluBNRp6FOJ4W/6219TAMd8zrdyfKxetwMYTa2nk8sc0ja/VMHP78AOPK6fYqC/IvltTgpf eNtvAyYteTcw4VdiYsThgi3aD3hsqqMrxzDcz1I/wK3bZ+o5ClqTjf1OTtjJGwGVwedRhuQJR Okb86w/5EkXMysjWTcThB2vDec7r8+5ZzDzXme3xFNNoQ0wmxIVeZ6lR8o6RLOVbDwDkpg9nN vVBHOd9yOKUoWSvaGUmwa60A== X-Archives-Salt: a08e64d3-3eec-4c21-b691-6c3772e1e6d0 X-Archives-Hash: d4ca91e3df722f5dc1751cc2bebff4d7 --4KiRcjwlKmp2EV5i Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Am Mon, Jul 29, 2024 at 02:17:13PM +0100 schrieb Peter Humphrey: > Greetings, >=20 > I'd like to be able to shut a KDE machine down from another room, over SS= H. If=20 > I do that with a simple 'reboot' command, I lose all my desktop contents.= Not=20 > surprising, as KDE is not shutting itself down but having the rug yanked = out=20 > from under it. >=20 > Is there a way to pass a shutdown command to KDE over SSH? Google doesn't= help=20 > me much, though it has a good deal of stuff on scripting inside KDE. Process communication in KDE happens with dbus. So whenever you want to=20 trigger an action in KDE vom the terminal, this is where you should look. The first two hits when I searched for "kde dbus logout" are: https://superuser.com/questions/395820/how-to-properly-end-a-kde-session-fr= om-shell-without-root-privileges https://discuss.kde.org/t/logout-reboot-and-shutdown-using-the-terminal/743 Perhaps they put you on the right track to your goal. --=20 Gr=C3=BC=C3=9Fe | Greetings | Salut | Qapla=E2=80=99 Please do not share anything from, with or about me on any social network. Suicide is the most honest form of self-criticism. --4KiRcjwlKmp2EV5i Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEVbE9o2D2lE5fhoVsizG+tUDUMMoFAmbCKIAACgkQizG+tUDU MMr0dBAApz+At7D/ezVr3JFJqQutHx9pMU3RH6LTQvVYy6ojxvilF8yvAxejJj+m +sQ2lfL/iAW01+VK21p7m/iMYamqYbbkpM4qEEuuswLOf88iBEV7FRsfMSjv6lDA M6u5vI+kXK2RpMcpz097H370ooOvCJJTIfHizxCrvaGr/iLNxn+dh8xZ/QEw4Gsl MIGTfrrCCTkBI5NdrxGJarUGY4cqeIYOOtUc5WGQZ3n+AuoYMi0v086A2xcSWJEi WdM4haoG2RM/nGMjpSgPcr7HgTdZLqZ22pF/Xz3J6gRn5c1dU2hWKQZ35j3kGYot H4scc4KsQ5b/iy+Ro+6rWGbYTJv/FzpDc9i76CyMrSPZpkOsQfKobb5z2Tq/mBOs s1dQLKB6K65ZGA0+yPIxGCWzNgxF1fabGal0dL0GvNToCpTRhLBFLBq7LDR43ukk y6kJYVycU3WlFYULKtb5/jvGRLiAekWpcWCRc++C3VCRc7aorQjz5ZTOl9bmNUPW yRsSxeRqdUOXE1HdMJeAS1g11Bw0Cd0HviG8EN9S1qIkhhfL9YdGGHIiolJkudUg YmPxYrejl9YJY3OUszvhOnAUpkxhlaHFYSgnPt7UDLwKppO1CWW3SBdnO/Gg33gV HDsYE82YaCd5iPfohhWOv9wFCN2wbVCyYeIFyMk4ApDbrDpDWjw= =Gqf+ -----END PGP SIGNATURE----- --4KiRcjwlKmp2EV5i--