From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Subject: bug#30228: desktop files embedding full path Date: Wed, 24 Jan 2018 15:58:51 +0100 Message-ID: <87o9ljxpzo.fsf@gnu.org> References: <20180123110012.GB16202@macbook41> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:33338) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eeMW3-0007lD-FH for bug-guix@gnu.org; Wed, 24 Jan 2018 09:59:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eeMVy-0007Lq-Mm for bug-guix@gnu.org; Wed, 24 Jan 2018 09:59:07 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:33293) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eeMVy-0007LQ-J3 for bug-guix@gnu.org; Wed, 24 Jan 2018 09:59:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eeMVy-00077T-3x for bug-guix@gnu.org; Wed, 24 Jan 2018 09:59:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <20180123110012.GB16202@macbook41> (Efraim Flashner's message of "Tue, 23 Jan 2018 13:00:12 +0200") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Efraim Flashner Cc: 30228@debbugs.gnu.org Hi, Efraim Flashner skribis: > the owncloud-client package includes an option to add a .desktop entry > to $HOME/.configure/autostart/, which allows it to autostart when you > log in to your desktop environment. Because the full path of the binary > is in the .desktop file, it will always start THAT copy of > owncloud-client, even if it is garbage collected. I think you shouldn=E2=80=99t copy manually the .desktop file to ~/.configure/autostart, precisely because of that. Instead this should be done via in indirect GC root (as in =E2=80=9Cguix bu= ild -r the-root owncloud-client=E2=80=9D) or, ideally, by having it GuixSD-mana= ged. Thoughts? Ludo=E2=80=99.