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 504AA159C96 for ; Mon, 29 Jul 2024 19:34:40 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3D8ED2BC0AB; Mon, 29 Jul 2024 19:34:35 +0000 (UTC) Received: from mail-ot1-x32a.google.com (mail-ot1-x32a.google.com [IPv6:2607:f8b0:4864:20::32a]) (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 CD1692BC01F for ; Mon, 29 Jul 2024 19:34:34 +0000 (UTC) Received: by mail-ot1-x32a.google.com with SMTP id 46e09a7af769-70943b07c2cso1467323a34.1 for ; Mon, 29 Jul 2024 12:34:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1722281673; x=1722886473; darn=lists.gentoo.org; h=content-transfer-encoding:in-reply-to:mime-version:user-agent:date :message-id:autocrypt:from:references:to:subject:from:to:cc:subject :date:message-id:reply-to; bh=Y4NY57d12m6uxim/tZhIJO9vo9bUTuF1jyhUUTalZO4=; b=eAB7PWxeHClD4MTz4pe1APpcHq5bA7TV5iVOINykEeZnwzAPpo/Pcps1S9uZwixqoF 0GYezQ/8+YaJ0wIqFZs281bhLehURjjC8khmzrWCOtuPCpebR42kAUVknal9JvLy719P sNeMBK3FoNBFD30r0/hsxo5nm3a/1jXNIAyGfl1vDpAsn0ezKqHP0Cvf3h/eb//wY/91 jmVOpe14TuJ7Dqhj0ECdkUyUscDmqxvGMKcObgaCr5PF/+JabdroM0Ls/Bc8EZcUx7o6 Md0lp1Da2BmnsYR1KipKy8T0ueRipX5MTgdfNbAgC2b02Mw0LeGgmEeKMuol0zIFg+MN DUkQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1722281673; x=1722886473; h=content-transfer-encoding:in-reply-to:mime-version:user-agent:date :message-id:autocrypt:from:references:to:subject:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=Y4NY57d12m6uxim/tZhIJO9vo9bUTuF1jyhUUTalZO4=; b=UK7kZ0o5EihFNnVYwEpaTbNXTS/SsjomEK9hNfobxbnOPfQq1eOQ9TCw2CwcRadw/+ 4d1NPzuRwNh/f5XRkSbxeHkOKzOZ44jVsUtJFJKhLJBiAZnZyPE62BMdNQmQQTDfMAlR dR3EH8jtw+Pa6HCav5SCTKAGm6t9hPVYwEPsZCL0FZ1Pgy9yGrO5CQzhVMYQZ5ntmEAB Jc80HIt2PNk5XVHhq8rjyc8dteLvcyUivSbp7BRya/FZC7tmn9wmOJFw+ZsMxHimfePw aBGNr6mwr4KsJeHl/yStfuQCripyic9XN144tdAcPjyPenYxo0eCiJNSDesWlzIUHxoy k6sQ== X-Gm-Message-State: AOJu0YxeXtpM091xnwZEx622kPpj09o0aa8QJIrCjc4j7K2ZpY7GMFeT qSNyouYkFqwnT1yeE39pe7sFO5NdydVy4svQHkH4wbIEqqDa7SdX X-Google-Smtp-Source: AGHT+IHWLVYdts1KZP6E24lzEAjT82PIyqjx8kzUy2sTZBtQ/9lYTYNdHhdb54ePiwoJ5TYwnDDuIw== X-Received: by 2002:a05:6830:dc7:b0:709:396c:f295 with SMTP id 46e09a7af769-70940ca166emr12897863a34.32.1722281673610; Mon, 29 Jul 2024 12:34:33 -0700 (PDT) Received: from [10.8.8.2] ([107.179.20.196]) by smtp.gmail.com with ESMTPSA id 46e09a7af769-7095aea63a1sm13676a34.50.2024.07.29.12.34.32 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 29 Jul 2024 12:34:33 -0700 (PDT) Subject: Re: [gentoo-user] Scripting KDE? To: gentoo-user@lists.gentoo.org References: <5799968.DvuYhMxLoT@cube> <4581597.LvFx2qVVIh@cube> <4907883.GXAFRqVoOG@cube> From: Dale Autocrypt: addr=rdalek1967@gmail.com; prefer-encrypt=mutual; keydata= mQINBGFSciYBEADcEGMyJBSuavKO/XKUVvgkxck7Nl8Iuu8N2lcnRji/rSKg5c1Acix1ll9i oW8JBCHwvn0+Xy60BvEsqcup3YSHw5STl/bR1ePEehtnYrg8FdjdS91+B805RfnKMm69rFVI wLSBHQrSG1yxHd8CloWoEdhmVtP24buajbh114bgXd9ahtpZrCVMrWdWYUg2mEXguGV5uNAh Rf8SWxDNc79w24JxsV34a8niMUYMjzWr0rafIbzk732X38vGjVMLo/2mMpkbp9mPp++LHoY+ 0Pet8zxxdXPJSCd475kza1AD+hhSyBZXB9yknYWgyY3cZe1rGmooJSi2KX4QxO7npwLThcO1 be6KKRkd35+Fi/a1BzVOHsZMiK/gcwxEFoMd27gir4ehaeHJfFXl+65w4hj0EsOZSxrJrm2C R50g5By2czSKP1bADEygFNpIJj51AR+wM88NImG2RPtlT2maYBzazvF05g65cdHXGp1C7W5P wwwKU2DgABB2t7N7z5A69LnryBRw4zUYDRRYLTYlBlYgg+xILm2c0OrBdxJgLJa7JE50Eo25 d3PFwt9J0gYvqy6sPFLl9So0sDg9zm0hKQtXOP5kgropUFGrNoJI+mjwF4rYLRBVzZwNAvlO OhEvHubBo3mEllv4x+FeptwXZxlk7gUsdqI8AxnFB8K9wi6FVQARAQABtBtEYWxlIDxyZGFs ZWsxOTY3QGdtYWlsLmNvbT6JAk4EEwEIADgCGyMFCwkIBwIGFQoJCAsCBBYCAwECHgECF4AW IQQSG1h01ruv/WNXc3Q3RqOgiQH1GwUCYVJy8gAKCRA3RqOgiQH1G+waEACeTZCt77jnRAmQ AV7otKuZekDWiLi3Eig8tj5ZJiCNSYA/h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gmail.com> Date: Mon, 29 Jul 2024 14:34:31 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0 SeaMonkey/2.53.18.1 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 In-Reply-To: <4907883.GXAFRqVoOG@cube> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Archives-Salt: f3f5fbff-9c1a-4ddd-aa2a-7da596ff95dd X-Archives-Hash: 50ad33ed5014e9d7153235c06555ce4e 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 >> >> 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 :-)  :-)