Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
flatpak: clear GDK_PIXBUF_MODULE_FILE
GDK_PIXBUF_MODULE_FILE is often set to a nix store path not available in a app sandbox. This can cause some apps to fail launching, simply reset this env var when running applications. fixes #53441 (cherry picked from commit 752e176)
- Loading branch information
1 parent
caacbe9
commit be89fd6
Showing
2 changed files
with
11 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
--- a/common/flatpak-run.c | ||
+++ b/common/flatpak-run.c | ||
@@ -1192,6 +1192,7 @@ static const ExportData default_exports[] = { | ||
{"PERLLIB", NULL}, | ||
{"PERL5LIB", NULL}, | ||
{"XCURSOR_PATH", NULL}, | ||
+ {"GDK_PIXBUF_MODULE_FILE", NULL}, | ||
}; | ||
|
||
static const ExportData no_ld_so_cache_exports[] = { |