From mboxrd@z Thu Jan 1 00:00:00 1970 From: Danny Milosavljevic Subject: Re: XDG standard desktop entries - desktop-file-utils and gtk, and KDE: mechanism of desktop database generation in profiles Date: Sun, 28 May 2017 09:20:20 +0200 Message-ID: <20170528092020.63c83c8a@scratchpost.org> References: <6ee2d43f.afeb.15b9f245988.Coremail.tumashu@163.com> <20170424094807.grk3vhgismvb3aku@abyayala> <877f2af6ar.fsf@163.com> <20170424122202.zt4fmodm6ue3g3xf@abyayala> <87y3uqdl8w.fsf@163.com> <87a86wd57h.fsf@openmailbox.org> <87r30723n1.fsf@gmail.com> <20170502114523.13fe0d36@scratchpost.org> <8760hc6v8d.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48087) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dEsV6-0004rM-PT for guix-devel@gnu.org; Sun, 28 May 2017 03:20:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dEsV3-0007k2-Kq for guix-devel@gnu.org; Sun, 28 May 2017 03:20:32 -0400 Received: from dd1012.kasserver.com ([85.13.128.8]:42122) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dEsV3-0007jq-EQ for guix-devel@gnu.org; Sun, 28 May 2017 03:20:29 -0400 In-Reply-To: <8760hc6v8d.fsf@gmail.com> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Chris Marusich Cc: guix-devel@gnu.org Hi, On Sun, 07 May 2017 17:35:46 -0700 Chris Marusich wrote: > Is this supposed to work "out of the box" on foreign distros? If you set the environment variables as documented yes - although some distros do weird things in their startup scripts if the environment variable is already set when they start up. > I've noticed that when I install an application (e.g., > "cool-retro-term"), the application shows up via the "Search" feature of > the "Application Overview" in GNOME3 on GuixSD [1], but not in Ubuntu > via the Dash's search results [2]. In Ubuntu, I tried adding > $HOME/.guix-profile/share to the XDG_DATA_DIRS, but even after > rebooting, the Dash search still failed to find the application. Strange. I'd inspect /proc//environ whether it actually got the environment variable, and then attach via strace -p to find out what desktop files it's reading... > In Ubuntu, the application only showed up in the Dash search results > after I manually copied the desktop entry for the application out of the > store and put it into a well-known location, such as > ~/.local/share/applications. That should not be the case - sounds like a bug. The question is where...