unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Liliana Marie Prikler <liliana.prikler@gmail.com>
To: John Kehayias <john.kehayias@protonmail.com>
Cc: 50789@debbugs.gnu.org
Subject: bug#50789: syncthing-gtk creates autostart file with wrong bin
Date: Fri, 01 Oct 2021 09:44:00 +0200	[thread overview]
Message-ID: <121bd5a47b78af306a887b5af05e17ebc9efea1d.camel@gmail.com> (raw)
In-Reply-To: <17bI1MfgO4sTMxxomP-QgHLKp0qztdZkexN8PYWs-md9elisnhlMWS8ObCnD3Uw1HFhbBgwbqf_SlO8YUB0oX5KEULytAdtf_3su5KstMyE=@protonmail.com>

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





  reply	other threads:[~2021-10-01  7:45 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-24 21:33 bug#50789: syncthing-gtk creates autostart file with wrong bin John Kehayias via Bug reports for GNU Guix
2021-09-24 22:55 ` Liliana Marie Prikler
2021-09-24 23:15   ` Leo Famulari
2021-09-25  0:45     ` John Kehayias via Bug reports for GNU Guix
2021-09-25  7:02       ` Liliana Marie Prikler
2021-09-27 19:04         ` John Kehayias via Bug reports for GNU Guix
2021-09-27 21:23           ` Liliana Marie Prikler
2021-09-30 19:29             ` John Kehayias via Bug reports for GNU Guix
2021-09-30 20:00               ` Liliana Marie Prikler
2021-09-30 20:13                 ` John Kehayias via Bug reports for GNU Guix
2021-10-01  7:44                   ` Liliana Marie Prikler [this message]
2022-01-05 19:31                     ` John Kehayias via Bug reports for GNU Guix
2022-01-05 21:13 ` Leo Famulari

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=121bd5a47b78af306a887b5af05e17ebc9efea1d.camel@gmail.com \
    --to=liliana.prikler@gmail.com \
    --cc=50789@debbugs.gnu.org \
    --cc=john.kehayias@protonmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).