From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id EDlgLre8VmHe1gAAgWs5BA (envelope-from ) for ; Fri, 01 Oct 2021 09:45:59 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id 8HEjKre8VmH0AQAA1q6Kng (envelope-from ) for ; Fri, 01 Oct 2021 07:45:59 +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 430FD3D123 for ; Fri, 1 Oct 2021 09:45:59 +0200 (CEST) Received: from localhost ([::1]:59910 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mWDF0-0002Sz-7T for larch@yhetil.org; Fri, 01 Oct 2021 03:45:58 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42344) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mWDE7-0002Sf-4V for bug-guix@gnu.org; Fri, 01 Oct 2021 03:45:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:43056) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mWDE6-0006p5-T0 for bug-guix@gnu.org; Fri, 01 Oct 2021 03:45:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mWDE6-0005Bg-R3 for bug-guix@gnu.org; Fri, 01 Oct 2021 03:45: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: Fri, 01 Oct 2021 07:45: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.163307425019850 (code B ref 50789); Fri, 01 Oct 2021 07:45:02 +0000 Received: (at 50789) by debbugs.gnu.org; 1 Oct 2021 07:44:10 +0000 Received: from localhost ([127.0.0.1]:54600 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mWDDG-0005A5-JK for submit@debbugs.gnu.org; Fri, 01 Oct 2021 03:44:10 -0400 Received: from mail-wr1-f66.google.com ([209.85.221.66]:34640) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mWDDE-00059r-BW for 50789@debbugs.gnu.org; Fri, 01 Oct 2021 03:44:09 -0400 Received: by mail-wr1-f66.google.com with SMTP id t8so14047696wri.1 for <50789@debbugs.gnu.org>; Fri, 01 Oct 2021 00:44:08 -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=r0XdKYYMizB85vMJRQAaD72AnrZjgzheCbgyGIsxxyg=; b=Y3R5yDB97VWpCAMCMadKeDD5pQTGMnLZSiwSsoDHdTrWhYRYHlpv7i3p9ZADD+Tf/e UaBpoILGhDl406rEFx3fg8qEJkEBzmxh+pSK/V32tNkRbhiNI8l+z/KO+n2jAXYiR5Kq DP3CFjN3hgE76a+Og2xEUZ60AJ+7JXOMEKDbCkUkl6oX/dV07O6ue/HLDV4YDjdcfUXc 5HjsWsgg1z6hd0vdkIPNj/HKs5mIdIk6Kt8s+Cl8M15lUjz9hntqhLmflF9mtMSI8e9C WCDOtvi0dOakJAURw24o3rh7GT349ZUumpyaNsPYLgQY55P7jm77+Xg20fqJU0iCdgBb c6HQ== 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=r0XdKYYMizB85vMJRQAaD72AnrZjgzheCbgyGIsxxyg=; b=nOEEec7ceakQUocO3h+8qWtk41gzkM3JMvPSk9KqL9aDIqUJZh58Cu5L4jpQT8Uf30 wAp67iU0MPvPLTOJ92QyrE+Ttdbp5TZnkNeQwnh7p+rvjBD3wHDtjq3h2yQI7OhyagIH 86z/lTT95Pj1AuZKuV2ugx0VghjOjbKeT82z1K7qZkAnUrfx8dxxEjp4I2S+9Dj2hatM QK9vAm2g9pawQfFzbnSUtZGqivAvA1VCoORUcfO1OgVtkvS6OfjKrPw1MuSsPFVIdrdI U9QI8wfi9T6xutjoXAL/HOqv+7Gn5jvUS7h1gYA5Ye5byCRADIGmgi6whOxXJq6S626U xDqw== X-Gm-Message-State: AOAM533+4TVVrp81bV7qxR89cOUE3/E/pXgquv9h2DaUrD2+9rjxiVXz FV2GcrjJTm3/YjOSvpCz4H0= X-Google-Smtp-Source: ABdhPJw4IiD4lQy16AJtPkuEidDVw0V/idCUpwDrf5bhwvC8YeWJHU7YFUpUeMgi8AP93Rx37yiASw== X-Received: by 2002:adf:9bd3:: with SMTP id e19mr4755874wrc.136.1633074242355; Fri, 01 Oct 2021 00:44:02 -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 o7sm5996514wro.45.2021.10.01.00.44.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Oct 2021 00:44:01 -0700 (PDT) Message-ID: <121bd5a47b78af306a887b5af05e17ebc9efea1d.camel@gmail.com> From: Liliana Marie Prikler Date: Fri, 01 Oct 2021 09:44:00 +0200 In-Reply-To: <17bI1MfgO4sTMxxomP-QgHLKp0qztdZkexN8PYWs-md9elisnhlMWS8ObCnD3Uw1HFhbBgwbqf_SlO8YUB0oX5KEULytAdtf_3su5KstMyE=@protonmail.com> References: <33a689c52f5896213b480e01fc3498a26877b392.camel@gmail.com> <6tbnn-VZChCdcqVZHxISlaQa_4plEwmzKlx8VjXPAR1Eb9br1nNHHryw7o0dgx2o8fVGVVtvNGVeZDiGasd1gqt41dwD7RjULWnR2trcUCE=@protonmail.com> <0ae4d2bfcce16f79680321817ac9e55a380dd0bd.camel@gmail.com> <17bI1MfgO4sTMxxomP-QgHLKp0qztdZkexN8PYWs-md9elisnhlMWS8ObCnD3Uw1HFhbBgwbqf_SlO8YUB0oX5KEULytAdtf_3su5KstMyE=@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=1633074359; 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=r0XdKYYMizB85vMJRQAaD72AnrZjgzheCbgyGIsxxyg=; b=sWC9K4JbNcaTQ4iuWu/mey1namjHMLj/lhO65MQ554SM2lO0MquNuP2VVPQmUvgaEYM2jC qK43wPRapJUCiHdDvIbUD0TWKDW9oJ6vtm4t0/D+Rsv5OiMePDJUs23WZ6tmeZze1MZe96 O7Dvgp99bTnNyvYroDHwzLJ+EFiQwq0o2eMnpHiuyhyinMKpKWBiBfM4UCl6GZGg2oCcmy 18NUtMc3Gwz7oQDUYO3DsBcwNSBzfTYjeqx8UG10xg11hdXyaiZ9oPSwI394Cm1GOjWXpI r17S0gqG5e0JTRtbvgbnUNVUzvThFZh1Pj3JNaKN/IK/M+HmeryX9z60Zo+dZg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1633074359; a=rsa-sha256; cv=none; b=hUSLIi9zfflugfQkZ1cup/HZAfZb3tsJKLMhbzE8DyQfE6VaKl2KBjIcWC4PFLbJMkxRym Y6iKWFgzqcJnrWDw2gaSy82GesFAij/92lSjpiCIYYmPDjs0MOlc37vAooH6bfTpIOT21l H0dpMxvQRCsyOhaNW0Upr4wO9Aac5L1XYdTbk/7Ko71ymZqg0efAgL0ZAqvpTJoMWkos/f 5THMAzIfbCUZfbrhXzu1jxwBBBG30eeEs9zHpkIydHu/UTHDPBd0HbsdfvA1kLaJL1U+ep 28xOroPdf9o5S2rd7M6ZsBGk+WZPjYBvOMZsp2CVO5y1G0+2kYhaePY+Oay+Gg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=Y3R5yDB9; 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: -0.20 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=Y3R5yDB9; 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: 430FD3D123 X-Spam-Score: -0.20 X-Migadu-Scanner: scn1.migadu.com X-TUID: BDN3belec+uX Hi, Am Donnerstag, den 30.09.2021, 20:13 +0000 schrieb John Kehayias: > ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐ > > On Thursday, September 30th, 2021 at 4:00 PM, Liliana Marie Prikler > wrote: > > > As I stated initially you could hardcode the store path to > > syncthing-gtk in its stead but it's still a store path in the end. > > It must go stale by design. The only reasonable thing is to not > > install the file and instead give users the tools to do so on their > > own. > > > > For a medium to long-term solution, what would you advocate for? A > note in a package's description that they should see the manual or > cookbook for how to autostart this program if they want (since it > will show up in the preferences menu)? Of course, we'll need that > documentation first :) Maybe an example piece of code for using > Shepherd to start, or guix home (I still need to look at that)? > Perhaps this should be raised more generally in the devel list to be > consistent in Guix, since this won't be the only one. Long-term I'd advocate having an autostart service for putting .desktop files into the autostart folder, documented in the home-services section with the concrete example of syncthing-gtk perhaps there or in the Cookbook. We shouldn't change the package description, we don't do that for packages we need at the system level (within or without a service). > In the meantime, I'll try to find if getting the profile to bin path > is not too tricky, if not at least make it so the path it does use > points to syncthing-gtk and not .syncthing-gtk-real, since that is > incorrect in every way. The string you need to replace is "get_executable\\(\\)" in syncthing_gtk/uisettingsdialog.py Happy hacking