unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Thorsten Wilms <t_w_@freenet.de>
To: help-guix@gnu.org
Subject: Re: Foreign distro Unity desktop broken after guix update
Date: Wed, 29 Dec 2021 09:59:34 +0100	[thread overview]
Message-ID: <20211229095934.98ab01fddf4a9c70dc15edbc@freenet.de> (raw)
In-Reply-To: <87sfucqu89.fsf@posteo.net>

On Tue, 28 Dec 2021 21:45:26 +0000
Fredrik Salomonsson <plattfot@posteo.net> wrote:

> > I added
> > ```
> > export GDK_PIXBUF_MODULE_FILE=/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders.cache:/home/thorwil/.guix-profile/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache
> > export LIBRARY_PATH=/usr/lib:/home/thorwil/.guix-profile/lib
> > ```
> > to .profile. Now I have all icons back! Guess there’s a better way?
> 
> Nice! I'm not sure there's a better way, other than having guix control
> the full GNOME stack (which is probably not feasible or desirable on a
> foreign distro).

I since learned that setting the paths like that makes the Ubuntu-side
work, but guix stuff will fail. Gnucash bails out, Inkscape segfaults
and GIMP runs without toolbox icons. Also, with a bit of thought,
GDK_PIXBUF_MODULE_FILE must point to one file; it can’t be a chain of
paths.

Thus at the very least GDK_PIXBUF_MODULE_FILE must be one thing for
Ubuntu and another for guix. Short of running all guix-installed stuff
from a terminal after setting the variable there, is there any solution?


I also found out that plain `gdk-pixbuf-query-loaders` resolves to the
guix version. The Ubuntu version resides at
/usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/gdk-pixbuf-query-loaders

My current theory is that this pixbuf-mixup has been going on for
longer, but only a recent guix update made stuff incompatible. In
addition, some caching might complicate matters.


Thank you for your thoughts, Fredrik!

-- 
Thorsten Wilms <t_w_@freenet.de>


  reply	other threads:[~2021-12-29  9:04 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-27 15:18 Foreign distro Unity desktop broken after guix update Thorsten Wilms
2021-12-27 19:37 ` Fredrik Salomonsson
2021-12-27 21:17   ` Thorsten Wilms
2021-12-28 10:16     ` Thorsten Wilms
2021-12-28 21:45       ` Fredrik Salomonsson
2021-12-29  8:59         ` Thorsten Wilms [this message]
2021-12-30  1:11           ` Fredrik Salomonsson

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=20211229095934.98ab01fddf4a9c70dc15edbc@freenet.de \
    --to=t_w_@freenet.de \
    --cc=help-guix@gnu.org \
    /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.
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).