From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id MESBGXs2UmGFuwAAgWs5BA (envelope-from ) for ; Mon, 27 Sep 2021 23:24:11 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id eF0BFXs2UmGxIQAAbx9fmQ (envelope-from ) for ; Mon, 27 Sep 2021 21:24:11 +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 D3CDB2176B for ; Mon, 27 Sep 2021 23:24:10 +0200 (CEST) Received: from localhost ([::1]:46158 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mUy6b-0002yQ-Ly for larch@yhetil.org; Mon, 27 Sep 2021 17:24:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50052) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mUy6U-0002xz-Rj for bug-guix@gnu.org; Mon, 27 Sep 2021 17:24:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:59684) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mUy6U-0003PF-JR for bug-guix@gnu.org; Mon, 27 Sep 2021 17:24:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mUy6U-000523-Ds for bug-guix@gnu.org; Mon, 27 Sep 2021 17:24:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#50789: syncthing-gtk creates autostart file with wrong bin Resent-From: Liliana Marie Prikler Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 27 Sep 2021 21:24:02 +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: John Kehayias Received: via spool by 50789-submit@debbugs.gnu.org id=B50789.163277782619319 (code B ref 50789); Mon, 27 Sep 2021 21:24:02 +0000 Received: (at 50789) by debbugs.gnu.org; 27 Sep 2021 21:23:46 +0000 Received: from localhost ([127.0.0.1]:42997 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mUy6E-00051W-2G for submit@debbugs.gnu.org; Mon, 27 Sep 2021 17:23:46 -0400 Received: from mail-wr1-f65.google.com ([209.85.221.65]:40821) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mUy6C-00051J-9F for 50789@debbugs.gnu.org; Mon, 27 Sep 2021 17:23:45 -0400 Received: by mail-wr1-f65.google.com with SMTP id s21so14247125wra.7 for <50789@debbugs.gnu.org>; Mon, 27 Sep 2021 14:23:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:subject:from:to:cc:date:in-reply-to:references :user-agent:mime-version:content-transfer-encoding; bh=ILC3MXK6y/kJRAng61K+nhF2Wzk5EKLSxAXWif4bwpw=; b=OiCiOM9JPkxBqKdS+IW0GUdxEzyZYDDCipo6z8F39R498tIerdsCOZyTp078O0KKZ4 2+1GflSJXg9h8ICd36svWzj3voc7KYX6PZj9A7VdD57yA3uwVgTcX2N9jMRWVtPZytvn h0xyGT20w+j+Yh41qkQGPXv3jkroTh1y62FFD5fXf2xIEpg5A2U9jzBs7YSuWPEdu8jC 3AZXiFx93HKaDryRHVUOp0mEoF2+lJJN4JH4Pzyi5I2pDn/QAGAqz1fGF908YoWq1wh6 jnFrjHxyA/3pa2oJmIyGQkRPodA80p29pc9EQqKNMtbZ5a7vasy5IGKCT5GM3p+7x7G3 KmlQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:subject:from:to:cc:date:in-reply-to :references:user-agent:mime-version:content-transfer-encoding; bh=ILC3MXK6y/kJRAng61K+nhF2Wzk5EKLSxAXWif4bwpw=; b=2q7JE6Na6MUJi3gXmCmCB+n/rizYEzwIPAI46YzUmCaR4aOJ7pVU0wQ/eyj3HRNw3X FHFFaTnyupNE/sK4zJObWv8ZTauX04l3JNqRN7rGVbB4zDMpONdKr5irSZUeI9GjzOSL Dz4TvZ6WcMLsjxdNCimL0PeluFzzVzMvDrUDKiXUfSkjkrjy1TUGZl76mjHSsOkbZn4V UbIVFd6CY3Z2lZl9Sq2CdK4VG2NORvGULe5bJJ4dinLQGPmIMEqmkkm/yMuDFrB9z1KF IJb/1FToauelPI8NQNOON4cCXY9WjjzThVlTHX9DanNfoBy8kQwALGU2CUdXRCJEHuzC 36PQ== X-Gm-Message-State: AOAM5335SKQvzBKu4cuzxMp5Ga/Q4q6T2amO6tjRXUBr//mB6+JlXTdH 40zk7jAgjE/G+5rEZIaXHOc= X-Google-Smtp-Source: ABdhPJx3b7qzj1Xb7AGks+cq0wADMZLnzT5q8JpR5LIIBWgrYqmsUXEFUmK9nrVH0ku8OltXVlCQ2w== X-Received: by 2002:adf:e491:: with SMTP id i17mr2259386wrm.415.1632777818489; Mon, 27 Sep 2021 14:23:38 -0700 (PDT) Received: from nijino.fritz.box (85-127-52-93.dsl.dynamic.surfer.at. [85.127.52.93]) by smtp.gmail.com with ESMTPSA id z5sm819979wmp.26.2021.09.27.14.23.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Sep 2021 14:23:37 -0700 (PDT) Message-ID: <0ae4d2bfcce16f79680321817ac9e55a380dd0bd.camel@gmail.com> From: Liliana Marie Prikler Date: Mon, 27 Sep 2021 23:23:36 +0200 In-Reply-To: <6tbnn-VZChCdcqVZHxISlaQa_4plEwmzKlx8VjXPAR1Eb9br1nNHHryw7o0dgx2o8fVGVVtvNGVeZDiGasd1gqt41dwD7RjULWnR2trcUCE=@protonmail.com> References: <33a689c52f5896213b480e01fc3498a26877b392.camel@gmail.com> <6tbnn-VZChCdcqVZHxISlaQa_4plEwmzKlx8VjXPAR1Eb9br1nNHHryw7o0dgx2o8fVGVVtvNGVeZDiGasd1gqt41dwD7RjULWnR2trcUCE=@protonmail.com> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.34.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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: , Cc: 50789@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1632777851; 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: 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=ILC3MXK6y/kJRAng61K+nhF2Wzk5EKLSxAXWif4bwpw=; b=m8Mx5aEEb2LcRjVQodtT05AxQOzaJZsVvL0ZXCcRWvXF54ln+HzNLwFcG7ddddhzPsqywo DLtBRXEWlxul5jlpQM48scir9e15QIxT8t9XQVLb6FOWpIvaBF9kq5UYLdMXXe56rKNGVs afe6gIFg1Z7xR7g0eUhc/ePM3M1rsFZCPeTPs1+MGRJGckcaZQ3yOYO3N1KAuDvlYaVTOu YZ+L8w0VSHgMu8X2ZVW0wL1OnnH3Dry54+WPsdYfmXP+x61tGEepH/x3q1YnO/woqkEDXZ 3c8GJ1+4kyNH/Myhhxe0czKcUZpX2aDoHW1jIITTVakjiE+p9kayU9mG4GUyZQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1632777851; a=rsa-sha256; cv=none; b=jtZ8OR/oz2lIeyyRkGBssfPVgTecFRtpX/aJNWIFZJaIzCKS+86GOs92k2IGSbUnTVACVT YFTwh2AVJ5pkGEnRdib1iQ+/aRg1vT8fTJ8U2NOenROXs7OE1g6Rf7xutMGZ6pRz5FboNe Oj3hx6qtecMyQ+b3TY9NsqF6StIx6WwEIbxQkEKUSegIEuAxkCmAjkWRRAua+4W6otlYL+ dxSQs/8+po71aRjHMOUCEx8YfjYiBfBcQevo3M6ppJIjMqp02ZpV9HUHf67lJIy11sb282 pnQAdmH4SbaXBkqDbRaa5Gva8pEeejW/3w1GUydj0c6AiNrkUPWUunKsCpaoMQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=OiCiOM9J; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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: -1.29 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=OiCiOM9J; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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: D3CDB2176B X-Spam-Score: -1.29 X-Migadu-Scanner: scn0.migadu.com X-TUID: CkaAjtGBgRk4 Hi, Am Montag, den 27.09.2021, 19:04 +0000 schrieb John Kehayias: > [...] > > But back to the matter at hand. Medium to long-term I support better > Guix services for autostart, but that doesn't address the problem of > having packages run as intended by upstream, at least with reasonable > expectations. I think this is expected and reasonable behavior, that > a program can create a proper .desktop file in Guix. Unless you are running a dedicated desktop file/autostart editor like alacarte or whatever gnome-tweaks has going for it, writing to .config/autostart is not reasonable behaviour. > Looking at another non-Guix system, the autostart files I have > in ~/.confg/autostart mostly (syncthing-gtk being the main > exception) use just > > Exec=program-name The "full path" desktop files used in Guix do have some advantages. Also, on other distros when using stuff like systemd in a similar manner to shepherd, you have full paths again. > 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 case patching syncthing-gtk to produce > Exec=syncthing-gtk. Perhaps upstream would consider it as well, > unless they have good reason for a full path here, as opposed to > other programs. (Upstream is a bit quiet in activity though.) > > What do we think? I think upstream as good reasons to use full paths, e.g. to prevent the wrong syncthing from being used when there are two in /usr and /usr/local. Were Guix to police upstream on this matter, the decision would clearly be to make this feature optional at the click of a button – and not one that annoyingly pops up if Icecat is not your default browser, if you understand what I'm trying to say. Regards