From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id aPtaGe6k5F9/QQAA0tVLHw (envelope-from ) for ; Thu, 24 Dec 2020 14:25:50 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id OA4JFe6k5F+GaAAAbx9fmQ (envelope-from ) for ; Thu, 24 Dec 2020 14:25:50 +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 E7579940418 for ; Thu, 24 Dec 2020 14:25:49 +0000 (UTC) Received: from localhost ([::1]:46296 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ksRYq-0001lC-JL for larch@yhetil.org; Thu, 24 Dec 2020 09:25:48 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:43086) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ksRYi-0001l3-Kq for help-guix@gnu.org; Thu, 24 Dec 2020 09:25:40 -0500 Received: from mail-out.m-online.net ([212.18.0.9]:57742) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ksRYg-00032e-J1 for help-guix@gnu.org; Thu, 24 Dec 2020 09:25:40 -0500 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 4D1smt3D2mz1qrfr; Thu, 24 Dec 2020 15:25:34 +0100 (CET) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 4D1smt2zY0z1tYW2; Thu, 24 Dec 2020 15:25:34 +0100 (CET) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id 57eoQ_rNWTvY; Thu, 24 Dec 2020 15:25:33 +0100 (CET) Received: from hermia.goebel-consult.de (ppp-188-174-61-101.dynamic.mnet-online.de [188.174.61.101]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPS; Thu, 24 Dec 2020 15:25:33 +0100 (CET) Received: from lenashee.goebel-consult.de (lenashee.goebel-consult.de [192.168.110.2]) by hermia.goebel-consult.de (Postfix) with ESMTP id 9D44C60186; Thu, 24 Dec 2020 15:27:36 +0100 (CET) Subject: Re: Integrate Guix GUI programs into foreign distro's desktop? To: "Bonface M. K." References: <86r1o2tt0y.fsf@gmail.com> <15cb443f-bf8a-ef03-29b1-36c7ee5b2425@crazy-compilers.com> <86v9ddetrm.fsf@gmail.com> From: Hartmut Goebel Organization: crazy-compilers.com Message-ID: <0dea9b3e-91ca-2456-b4e3-2540e7844e73@crazy-compilers.com> Date: Thu, 24 Dec 2020 15:25:31 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.6.0 MIME-Version: 1.0 In-Reply-To: <86v9ddetrm.fsf@gmail.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US Received-SPF: none client-ip=212.18.0.9; envelope-from=h.goebel@crazy-compilers.com; helo=mail-out.m-online.net X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, NICE_REPLY_A=-1.825, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: help-guix Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: 0.18 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Queue-Id: E7579940418 X-Spam-Score: 0.18 X-Migadu-Scanner: scn1.migadu.com X-TUID: /j+SC8BK4DLx Am 07.12.20 um 12:32 schrieb Bonface M. K.: > In that case, you'd just modify the path to point > to your profile's bin. Another way would be to > source the /etc/profile which > basically set's all these paths for you. This is what I would expect, but this is not the case. E.g. when installing "dino", a GTK application providing .desktop file, XDG_DATA_DIRS is not defined in $GUIX_ENVIRONMENT/etc/profile (same for a profile) $ guix environment --ad-hoc dino # Proof dino "somehow" has a search-path definition $ grep -E 'XDG|GTK' $(which dino) export XDG_DATA_DIRS=… export GTK_PATH=… # Proof environment has a "share" directory and there are .desktop files $ ls -F $GUIX_ENVIRONMENT bin@  etc/  include@  lib/  manifest  share/ $ ls -F $GUIX_ENVIRONMENT/share/applications/ im.dino.Dino.desktop@  mimeinfo.cache@ # Proof XDG_DATA_DIR is not set for the environment $ grep -E 'XDG|GTK' $GUIX_ENVIRONMENT/etc/profile $  # no results > Wrt QT, I'm not exactly sure how to help with > that. I barely use applications that use QT(most > of the things I run use GTK). As shown above, this does not always hold even for GTK applications. > The variables defined in the > /etc/profile set the correct paths wrt > your actual profile... Have you installed gtk+ in your profile? This package is the one defining search-path GUIX_GTK3_PATH. (When installing gtk+ in my environment/profile, I also get GUIX_GTK3_PATH defined. gtk+ propagates atk, which propagates glib, which defines search-path XDG_DATA_DIR - which is why XDG_DATA_DIR is also defined in the etc/profile.) -- Regards Hartmut Goebel | Hartmut Goebel | h.goebel@crazy-compilers.com | | www.crazy-compilers.com | compilers which you thought are impossible |