bug#50789: syncthing-gtk creates autostart file with wrong bin

2022-01-05 Thread Leo Famulari
On Fri, Sep 24, 2021 at 09:33:56PM +, John Kehayias via Bug reports for GNU Guix wrote: > Hello, > > syncthing-gtk has an option to enable autostart, which it does by creating > the .desktop file in ~/.config/autostart However, this has the wrong exec > line, getting the -real script

bug#50789: syncthing-gtk creates autostart file with wrong bin

2022-01-05 Thread John Kehayias via Bug reports for GNU Guix
Hello again, I should have sent this here directly, but I just submitted a patch for this issue. I opted to just use a plain exec line of "syncthing-gtk". Please see https://debbugs.gnu.org/cgi/bugreport.cgi?bug=53036 As we had discussed, it is not perfect, but it will work and won't break on

bug#50789: syncthing-gtk creates autostart file with wrong bin

2021-10-01 Thread Liliana Marie Prikler
Hi, Am Donnerstag, den 30.09.2021, 20:13 + 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

bug#50789: syncthing-gtk creates autostart file with wrong bin

2021-09-30 Thread John Kehayias via Bug reports for GNU Guix
‐‐‐ 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

bug#50789: syncthing-gtk creates autostart file with wrong bin

2021-09-30 Thread Liliana Marie Prikler
Hi, Am Donnerstag, den 30.09.2021, 19:29 + schrieb John Kehayias: > Hello, > > ‐‐‐ Original Message ‐‐‐ > > On Monday, September 27th, 2021 at 5:23 PM, Liliana Marie Prikler > wrote: > > > Hi, > > > > Am Montag, den 27.09.2021, 19:04 + schrieb John Kehayias: > > > > > [...] >

bug#50789: syncthing-gtk creates autostart file with wrong bin

2021-09-30 Thread John Kehayias via Bug reports for GNU Guix
Hello, ‐‐‐ Original Message ‐‐‐ On Monday, September 27th, 2021 at 5:23 PM, Liliana Marie Prikler wrote: > Hi, > > Am Montag, den 27.09.2021, 19:04 + schrieb John Kehayias: > > > [...] > > > > But back to the matter at hand. Medium to long-term I support better > > Guix services for

bug#50789: syncthing-gtk creates autostart file with wrong bin

2021-09-27 Thread Liliana Marie Prikler
Hi, Am Montag, den 27.09.2021, 19:04 + 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 >

bug#50789: syncthing-gtk creates autostart file with wrong bin

2021-09-27 Thread John Kehayias via Bug reports for GNU Guix
Hi everyone, ‐‐‐ Original Message ‐‐‐ 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

bug#50789: syncthing-gtk creates autostart file with wrong bin

2021-09-25 Thread Liliana Marie Prikler
Hi John, Am Samstag, den 25.09.2021, 00:45 + schrieb John Kehayias: > [...] > > 3. Remove the ability for these types of files to be created, as > Liliana suggested. I think this is drastic though, changing the > expected behavior in programs and difficult to enforce evenly. The > point

bug#50789: syncthing-gtk creates autostart file with wrong bin

2021-09-24 Thread John Kehayias via Bug reports for GNU Guix
Hi Leo, Liliana, et al, ‐‐‐ Original Message ‐‐‐ On Friday, September 24th, 2021 at 7:15 PM, Leo Famulari wrote: > Maybe we could make the desktop file execute a path like > > "$HOME/.guix-profile/bin/syncthing-gtk"? Hmm...these are both good points. And I think I may have run into

bug#50789: syncthing-gtk creates autostart file with wrong bin

2021-09-24 Thread Leo Famulari
On Sat, Sep 25, 2021 at 12:55:56AM +0200, Liliana Marie Prikler wrote: > We should patch syncthing to not write a desktop file at all. Note how > even if the binary name itself was correct, syncthing would link > directly into the store, potentially producing a stale desktop file > that breaks

bug#50789: syncthing-gtk creates autostart file with wrong bin

2021-09-24 Thread Liliana Marie Prikler
Hi, Am Freitag, den 24.09.2021, 21:33 + schrieb John Kehayias: > Hello, > > syncthing-gtk has an option to enable autostart, which it does by > creating the .desktop file in ~/.config/autostart However, this has > the wrong exec line, getting the -real script instead of syncthing- > gtk.

bug#50789: syncthing-gtk creates autostart file with wrong bin

2021-09-24 Thread John Kehayias via Bug reports for GNU Guix
Hello, syncthing-gtk has an option to enable autostart, which it does by creating the .desktop file in ~/.config/autostart However, this has the wrong exec line, getting the -real script instead of syncthing-gtk. This won't work as it needs to be run as syncthing-gtk. Namely, it produces: