[gnome-builder] terminal: dont copy RUNTIME or DATA XDG dir environment
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] terminal: dont copy RUNTIME or DATA XDG dir environment
- Date: Thu, 22 Apr 2021 16:21:23 +0000 (UTC)
commit d5fe3c6edf79ccb94a3281006b13df20656bf82f
Author: Christian Hergert <chergert redhat com>
Date: Thu Apr 22 09:15:54 2021 -0700
terminal: dont copy RUNTIME or DATA XDG dir environment
We can't copy these or terminals launched with Flatpak SDKs would have
broken access to things like settings schemas.
Fixes #1442
src/libide/terminal/ide-terminal-launcher.c | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/src/libide/terminal/ide-terminal-launcher.c b/src/libide/terminal/ide-terminal-launcher.c
index 534b4200c..b91c96bc7 100644
--- a/src/libide/terminal/ide-terminal-launcher.c
+++ b/src/libide/terminal/ide-terminal-launcher.c
@@ -116,9 +116,12 @@ copy_envvars (gpointer instance)
"WAYLAND_DISPLAY",
"XAUTHORITY",
"XDG_CURRENT_DESKTOP",
+#if 0
+ /* Can't copy these as they could mess up Flatpak */
"XDG_DATA_DIRS",
- "XDG_MENU_PREFIX",
"XDG_RUNTIME_DIR",
+#endif
+ "XDG_MENU_PREFIX",
"XDG_SEAT",
"XDG_SESSION_DESKTOP",
"XDG_SESSION_ID",
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]