unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Fredrik Salomonsson <plattfot@posteo.net>
To: Thorsten Wilms <t_w_@freenet.de>, help-guix@gnu.org
Subject: Re: Foreign distro Unity desktop broken after guix update
Date: Thu, 30 Dec 2021 01:11:29 +0000	[thread overview]
Message-ID: <878rw2vqv2.fsf@posteo.net> (raw)
In-Reply-To: <20211229095934.98ab01fddf4a9c70dc15edbc@freenet.de>

Thorsten Wilms <t_w_@freenet.de> writes:

> 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?

Perhaps create a local copy of the .desktop file for each guix
controlled application and modify it to set the correct environment
variables?

I've done that for certain applications where I needed to add custom
arguments to the command for it to scale properly with my monitors. I
placed mine in $HOME/.local/share/applications aka
$XDG_DATA_HOME/applications

> 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.

That sounds very likely. I had a similar issue with python, where my
foreign distro updated to python-3.10 but guix is still on 3.9. Things
started breaking as I had missed to move everything to guix.

> Thank you for your thoughts, Fredrik!

No problem, I hope you can sort it out.

-- 
s/Fred[re]+i[ck]+/Fredrik/g


      reply	other threads:[~2021-12-30  1:11 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
2021-12-30  1:11           ` Fredrik Salomonsson [this message]

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=878rw2vqv2.fsf@posteo.net \
    --to=plattfot@posteo.net \
    --cc=help-guix@gnu.org \
    --cc=t_w_@freenet.de \
    /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).