From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id uA2UCv0VUmGJeAAAgWs5BA (envelope-from ) for ; Mon, 27 Sep 2021 21:05:33 +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 AIstBv0VUmEDPQAAbx9fmQ (envelope-from ) for ; Mon, 27 Sep 2021 19:05:33 +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 24A45C296 for ; Mon, 27 Sep 2021 21:05:30 +0200 (CEST) Received: from localhost ([::1]:55330 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mUvwP-0004n5-6j for larch@yhetil.org; Mon, 27 Sep 2021 15:05:29 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53016) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mUvvy-0004lS-RO for bug-guix@gnu.org; Mon, 27 Sep 2021 15:05:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:59567) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mUvvx-0004s0-Qe for bug-guix@gnu.org; Mon, 27 Sep 2021 15:05:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mUvvx-0001Yy-Hz for bug-guix@gnu.org; Mon, 27 Sep 2021 15:05:01 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#50789: syncthing-gtk creates autostart file with wrong bin Resent-From: John Kehayias Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 27 Sep 2021 19:05:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50789 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Liliana Marie Prikler Cc: 50789@debbugs.gnu.org, Leo Famulari Received: via spool by 50789-submit@debbugs.gnu.org id=B50789.16327694995996 (code B ref 50789); Mon, 27 Sep 2021 19:05:01 +0000 Received: (at 50789) by debbugs.gnu.org; 27 Sep 2021 19:04:59 +0000 Received: from localhost ([127.0.0.1]:42880 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mUvvv-0001Ye-6f for submit@debbugs.gnu.org; Mon, 27 Sep 2021 15:04:59 -0400 Received: from mail1.protonmail.ch ([185.70.40.18]:41663) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mUvvs-0001YP-Nn for 50789@debbugs.gnu.org; Mon, 27 Sep 2021 15:04:57 -0400 Date: Mon, 27 Sep 2021 19:04:49 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail; t=1632769490; bh=5a425lWaF8nkk5zzlUcNR1v8xUxG6uICGTiERm09x/U=; h=Date:To:From:Cc:Reply-To:Subject:In-Reply-To:References:From; b=Q036kpKV3HuY+Zo88ckEdeYGCw6wgo61UQPyLl56z96Gcx6PynClTpYb/c1/fpU9n 1zHw8S0ygEpxMXdSZbmozUFrc1zV4gS5k4wNC0aa7lYN7SWAy577621HE6Z/GUQzjj pvhrwovwFhT2ous+1ELu+Ahdi51hmh+xRsw9yZdE= Message-ID: <6tbnn-VZChCdcqVZHxISlaQa_4plEwmzKlx8VjXPAR1Eb9br1nNHHryw7o0dgx2o8fVGVVtvNGVeZDiGasd1gqt41dwD7RjULWnR2trcUCE=@protonmail.com> In-Reply-To: References: <33a689c52f5896213b480e01fc3498a26877b392.camel@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" Reply-to: John Kehayias X-ACL-Warn: , John Kehayias From: John Kehayias via Bug reports for GNU Guix X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1632769530; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: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=5a425lWaF8nkk5zzlUcNR1v8xUxG6uICGTiERm09x/U=; b=DUhLZoxQxlHSeA7Ur/2hYFZEIGhiK76Aiuzeo7hCCY/u/5wyns+t1VJ/7kQjH01qdamasE N8NalgpuvF/fAvhr2zxXNup1fC1QpP/Xi2WLts39bSmqAWYwiopC7bFJNd8ggy+ch4zoA8 YjygBR9hPamESJe5fVvi84kUN1BbPFMenocR85JjL6Ltfn21V688QmpK8ErB4Z3o4VKKCt sCCkxsqxEmErrPkXUja5Scb0FrtCkRudoQl0ywAC8bWf7Imo8FeUMSbqZOj2ALYavewGX2 YZ5LxOGyC95BLY+E25q/bSbAkYW1368eDe7QpYngEXbSxjloeat7J3uXnmYL/A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1632769530; a=rsa-sha256; cv=none; b=ADDjAMV8pNltOn7Bi24o1W71xs3vyzEM87PlWemFvbNFiJxhN+5ixGVfoDoXdoexnnUU3o dBn6LLW34dtOi9/bnLPzmXKg9IEd7h+yRMv9JrbbjyrlCpFwFf4iP3K4QW2PANSFJJf46D C/iL6v+Uf75qo+6HM/AQbDMCTVVlrS4HV9VwcpYdkTY9nl++OFGxfQVtj9gD838ZwYSMVa o7J0JrKpnbcbTVCgVWK6gkYd1/PXahIset2ULoS1HJ/fJOlNyl64glA3zxA2Oj/PYRYcao NkqYbJhH0/GbWxH8gkP+wtsEoB1NN5cqaX9Uk7n1yI1hyCFiSevD4+YfWTYs3g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=protonmail.com header.s=protonmail header.b=Q036kpKV; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Spam-Score: -2.89 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=protonmail.com header.s=protonmail header.b=Q036kpKV; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Queue-Id: 24A45C296 X-Spam-Score: -2.89 X-Migadu-Scanner: scn0.migadu.com X-TUID: RV3BpIExhsqO Hi everyone, =E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90 Original Me= ssage =E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90 On Saturday, September 25th, 2021 at 3:02 AM, Liliana Marie Prikler wrote: > I think the answer to that one is fairly simple. Guix should provide a > mechanism to generate/link autostart services, ideally via (guix home), > which will be upstreamed soon (idk if it has one such service already, > just throwing it out there). However, the preferred solution is to not > bother with autostart at all and instead use shepherd to manage user > services =E2=80=93 there is a tradeoff to be made between those managemen= t > styles somewhere. > I agree we can have a better "Guix way" of doing autostart, documented with= examples (perhaps a Cookbook chapter on Desktop usage of Guix). User run s= hepherd works, at least for some basic background services I run. I don't t= hink it is as documented or as fleshed out as XDG autostart stuff. I too am= interested in guix home (just merged!) and will take a look at that. But back to the matter at hand. Medium to long-term I support better Guix s= ervices for autostart, but that doesn't address the problem of having packa= ges run as intended by upstream, at least with reasonable expectations. I t= hink this is expected and reasonable behavior, that a program can create a = proper .desktop file in Guix. Looking at another non-Guix system, the autostart files I have in ~/.confg= /autostart mostly (syncthing-gtk being the main exception) use just Exec=3Dprogram-name I see this mostly true for /etc/xdg/autostart as well (non-Guix system). So= I think this is an easy and typical behavior we can implement. In this cas= e patching syncthing-gtk to produce Exec=3Dsyncthing-gtk. Perhaps upstream = would consider it as well, unless they have good reason for a full path her= e, as opposed to other programs. (Upstream is a bit quiet in activity thoug= h.) What do we think? John