Most Guix system setup with desktop evironment will install GDK_PIXBUF_MODULE_FILE environment variable in the system profile, and it'll be leaked into the sandbox environment of flatpak, so the applications in sandbox may fail to find correct GdkPixbuf loaders. This patch unset the GDK_PIXBUF_MODULE_FILE environment variable before running the sandboxed applications, prevents it to load GdkPixbuf loaders from the path of host system. --- a/common/flatpak-run.c +++ b/common/flatpak-run.c @@ -1900,6 +1900,7 @@ static const ExportData default_exports[] = { {"XKB_CONFIG_ROOT", NULL}, {"GIO_EXTRA_MODULES", NULL}, {"GDK_BACKEND", NULL}, + {"GDK_PIXBUF_MODULE_FILE", NULL}, {"VK_ADD_DRIVER_FILES", NULL}, {"VK_ADD_LAYER_PATH", NULL}, {"VK_DRIVER_FILES", NULL}, ipts'>koszko-scripts Wojtek's customized Guix
aboutsummaryrefslogtreecommitdiff
path: root/gnu/services/audio.scm
AgeCommit message (Expand)Author
2020-12-06services: mpd: Make /var/run/mpd/USER user-owned....Fixes <https://bugs.gnu.org/44820>. Reported by Simon <lists@netpanic.org>. This is a followup to bb124f6e9c0af0a23736f233c2ea2c9c9b4a40a6. * gnu/services/audio.scm (mpd-service-activation): Chown the parent of DIRECTORY as well. Ludovic Courtès
2020-11-06services: mpd: Fix daemon startup....Until now it would wait for a PID file that'd never come. * gnu/services/audio.scm (mpd-shepherd-service): Add 'requirement'. Remove #:pid-file from 'start'. (mpd-service-activation): Create the ".mpd" directory since that's what the daemon expects. Ludovic Courtès
2020-11-06services: mpd: Always create the "mpd" user account....* gnu/services/audio.scm (%mpd-accounts): New variable. (mpd-service-type)[extensions]: Add ACCOUNT-SERVICE-TYPE extension. Ludovic Courtès
2020-11-06services: mpd: Do not eagerly look for a user....Running 'guix system search mpd' would throw a backtrace because the mpd-shepherd-service service start Gexp contained an unquoted call to 'getpwnam', which would look for a missing 'mpd' user and fail. * gnu/services/audio.scm (mpd-shepherd-service): gexp-unquote only the relevant variable rather than the whole expression. Maxim Cournoyer
2020-05-13services: Add missing import....* gnu/services/audio.scm: Import (ice-9 format). Ludovic Courtès
2019-11-08services: mpd: Connect to the user's PulseAudio socket....* gnu/services/audio.scm (mpd-shepherd-service): Set the XDG_RUNTIME_DIR environment variable. Signed-off-by: Tobias Geerinckx-Rice <me@tobias.gr> Robert Smith
2019-10-29gnu: mpd-service-type: Support configuration of outputs....* gnu/services/audio.scm (<mpd-output>): New record type. (<mpd-configuration>)[outputs]: New field. (mpd-output, mpd-output?, mpd-output->string): New procedures. (mpd-config->file): Use mpd-output->string. * doc/guix.texi (Audio Services): Document mpd-output fields. Ricardo Wurmus