From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id sGNqNhUqfWA8TAEAgWs5BA (envelope-from ) for ; Mon, 19 Apr 2021 08:58:29 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id IAg5MBUqfWBNMQAAbx9fmQ (envelope-from ) for ; Mon, 19 Apr 2021 06:58:29 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 3C08A20C17 for ; Mon, 19 Apr 2021 08:58:29 +0200 (CEST) Received: from localhost ([::1]:49884 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lYNrX-00019n-QA for larch@yhetil.org; Mon, 19 Apr 2021 02:58:27 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:48620) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lYNr8-00019T-OS for guix-patches@gnu.org; Mon, 19 Apr 2021 02:58:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:36688) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lYNr8-0004eD-GH for guix-patches@gnu.org; Mon, 19 Apr 2021 02:58:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lYNr8-0003SK-EW for guix-patches@gnu.org; Mon, 19 Apr 2021 02:58:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#47870] [PATCH 1/2] gnu: polkit-gnome: Add autostart .desktop file. Resent-From: Brendan Tildesley Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 19 Apr 2021 06:58:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47870 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 47870@debbugs.gnu.org Cc: Leo Prikler Received: via spool by 47870-submit@debbugs.gnu.org id=B47870.161881542813222 (code B ref 47870); Mon, 19 Apr 2021 06:58:02 +0000 Received: (at 47870) by debbugs.gnu.org; 19 Apr 2021 06:57:08 +0000 Received: from localhost ([127.0.0.1]:48234 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lYNqG-0003RC-3z for submit@debbugs.gnu.org; Mon, 19 Apr 2021 02:57:08 -0400 Received: from mout-p-202.mailbox.org ([80.241.56.172]:46004) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lYNqD-0003Qg-8l for 47870@debbugs.gnu.org; Mon, 19 Apr 2021 02:57:06 -0400 Received: from smtp2.mailbox.org (smtp2.mailbox.org [80.241.60.241]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-202.mailbox.org (Postfix) with ESMTPS id 4FNyKk4DTSzQjnM; Mon, 19 Apr 2021 08:56:58 +0200 (CEST) X-Virus-Scanned: amavisd-new at heinlein-support.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brendan.scot; s=MBO0001; t=1618815416; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=GTkGZ85FCylz3UDuTmJC4Yp85pvGLuLO3+RRi3p3RyQ=; b=r4I3MvrTG/WByoQpiarxREjFxn8mOuNWJUAuuXfWOJUaW9IAk10PgwvcdC3bsVpoTO5b8a 8mJa5GyNB4UOYJn/lRhSnAN8JirCKFIATEfV72jo1kDHAcNmiQlGFgv9CNg8YoZ/NVDlbw 0yO3EzC5tCkjkY43NFoWdbFfpy8z1FnDJZ9j+jCiTe/VgzKStwxkFj2fWZ5gqtSOiM7uKz /hpt9f3d8uxhF14tTWKukuZ7hiWe1k0OT/qmKLQBP/PpaidMt3owxLJGnH33dKXV6g9jnw wVat5mkAu1rS+FRxX9vWZhuRTPJCO1eJi9IdLd9wuwRrqiSncVrIAIu+5oNUzQ== Received: from smtp2.mailbox.org ([80.241.60.241]) by hefe.heinlein-support.de (hefe.heinlein-support.de [91.198.250.172]) (amavisd-new, port 10030) with ESMTP id OIO4kW6Fojua; Mon, 19 Apr 2021 08:56:54 +0200 (CEST) Date: Mon, 19 Apr 2021 08:56:54 +0200 (CEST) From: Brendan Tildesley Message-ID: <1897089617.84042.1618815414259@office.mailbox.org> In-Reply-To: References: <20210418131727.6104-1-mail@brendan.scot> <687049384.78340.1618758931217@office.mailbox.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_84041_535005741.1618815414236" X-Priority: 3 Importance: Normal X-MBO-SPAM-Probability: X-Rspamd-Score: -4.37 / 15.00 / 15.00 X-Rspamd-Queue-Id: 39E661800 X-Rspamd-UID: 629242 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1618815509; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=GTkGZ85FCylz3UDuTmJC4Yp85pvGLuLO3+RRi3p3RyQ=; b=NCsE81aSjczmAosNtUMapdTOzAh78zikIKBvJvZ54CPRHYq2hu8j0UzFd08xkQmknADs2B 69DDnbj4S1ILzyyFbo2HKWNJvz62ucn1G/NTkTBcwNn/hA/G4bmSwJOZxeizNy3dGveeFX mETcZXbnTZJGlNYnb3VdEsNhEfAIBMaS7EYwHj7Jc+wA9c3UjljzMt/Uo8x8nvhUF2ZLSa ITAWHrcT7EEYZ2bA4y2ViO+kiDN5QUH8DtiWAcek3FTd+PKpmYEBh73KYCBkarxdDBq7o0 cuomL5bfFXNj5G7RL1PWMCd4waQthGPspQGbmKrx5so+DFknKMuQUPxJ+slt6Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1618815509; a=rsa-sha256; cv=none; b=QkYbAcheKgIsqUmcODo4jNDBT1bLM2t9UehDsRb1SdzJn4dmqnt++MicewblY5qzEGQc3s /bQBvca2WYU2zM+QmCww9zcn9DnElGCvJB+SCsff9APdYCWk2UOlcklwCayFXqrYYWG10V sqjNUomhODBXkPkl11B57bravC1HWIMZtq6VtiUFIczoLnY8SRBtSkUXTow3xEZqISo1bR O8bv6FZ8n1+jHE+1oM6YzFQiDf5b1O4jpsuIFtoj7dWwyhH48pN57e3JTR7lC8Ybfl17dw k0F89GmMJh9ChF56tK/54u064RVML7gqCnuo4mDwYxpbf+zgvl6Lov7Wn71Caw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=brendan.scot header.s=MBO0001 header.b=r4I3MvrT; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -0.34 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=brendan.scot header.s=MBO0001 header.b=r4I3MvrT; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 3C08A20C17 X-Spam-Score: -0.34 X-Migadu-Scanner: scn0.migadu.com X-TUID: zZG0h+79eIrZ ------=_Part_84041_535005741.1618815414236 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit > On 04/18/2021 5:52 PM Leo Prikler wrote: > > > Hi, > > Am Sonntag, den 18.04.2021, 17:15 +0200 schrieb Brendan Tildesley: > > > On 04/18/2021 4:47 PM Leo Prikler > > > wrote: [...] > > On second thought perhaps another option is just to use the MATE > > polkit > > agent instead? I tested it for changing network manager and it worked > > just the same, only the GUI looks slightly different. I was searching > > What do you think? > If it works for XFCE, why not? Given that polkit-gnome has no > dependents other than itself, should we perhaps also look into removing > it? > One issue is that mate-polkit's .desktop file has the line OnlyShowIn=MATE; This prevents it from being launched in any other desktop. When multiple desktops are installed all these files sit in /run/current-desktop/profile/etc/ and rely these lines to make them not appear in other desktops. I made a couple patches [attached] that adds XFCE to the the .desktop's OnlyShowIn. It's a little ugly though. > Regards, > Leo ------=_Part_84041_535005741.1618815414236 Content-Type: text/x-patch; charset=ISO-8859-1; name=0002-gnu-xfce-Start-mate-polkit-agent-on-login.patch Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename=0002-gnu-xfce-Start-mate-polkit-agent-on-login.patch X-Part-Id: ce4bb3e0127c4a25b8edc88c453c1205 RnJvbSA4MzVkMDc0OGNhNGMwNzM4ZDc3N2FlZDhmODk1NjIyNzU5ZWE0ZjhkIE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBCcmVuZGFuIFRpbGRlc2xleSA8bWFpbEBicmVuZGFuLnNjb3Q+ CkRhdGU6IE1vbiwgMTkgQXByIDIwMjEgMTY6NDU6MTUgKzEwMDAKU3ViamVjdDogW1BBVENIIDIv Ml0gZ251OiB4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ICAgICAgICAoImdub21lLWljb24tdGhlbWUiICAgICAsZ25vbWUtaWNvbi10aGVtZSkKICAgICAg ICAoImd0ay14ZmNlLWVuZ2luZSIgICAgICAsZ3RrLXhmY2UtZW5naW5lKQogICAgICAgICgiaGlj b2xvci1pY29uLXRoZW1lIiAgICxoaWNvbG9yLWljb24tdGhlbWUpCisgICAgICAgKCJtYXRlLXBv bGtpdCIgICAgICAgICAgLG1hdGUtcG9sa2l0KQogICAgICAgICgicmlzdHJldHRvIiAgICAgICAg ICAgICxyaXN0cmV0dG8pCiAgICAgICAgKCJzaGFyZWQtbWltZS1pbmZvIiAgICAgLHNoYXJlZC1t aW1lLWluZm8pCiAgICAgICAgKCJ0aHVuYXIiICAgICAgICAgICAgICAgLHRodW5hcikKLS0gCjIu MzEuMQoK ------=_Part_84041_535005741.1618815414236 Content-Type: text/x-patch; charset=UTF-8; name=0001-gnu-polkit-mate-Enable-autostarting-in-XFCE.patch Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename=0001-gnu-polkit-mate-Enable-autostarting-in-XFCE.patch X-Part-Id: 0e8f2e7f744a41379830021450331f7e RnJvbSBlZjIwZTY0MjJjZWE4MDg5YTRlY2YyZTdiMDI5M2MyN2JjNzFhNTZiIE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBCcmVuZGFuIFRpbGRlc2xleSA8bWFpbEBicmVuZGFuLnNjb3Q+ CkRhdGU6IE1vbiwgMTkgQXByIDIwMjEgMTY6Mzc6NTUgKzEwMDAKU3ViamVjdDogW1BBVENIIDEv Ml0gZ251OiBwb2xraXQtbWF0ZTogRW5hYmxlIGF1dG9zdGFydGluZyBpbiBYRkNFLgoKKiBnbnUv cGFja2FnZXMvbWF0ZS5zY20gKHBvbGtpdC1tYXRlKTogQWRkIFhGQ0UgdG8gdGhlIE9ubHlTaG93 SW4gZmllbGQKb2YgdGhlIGF1dG9zdGFydCAuZGVza3RvcCBmaWxlIHNvIGl0IHdpbGwgYmUgc3R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741.1618815414236--