Commit d956c0ed authored by Alexandru Băluț's avatar Alexandru Băluț

flatpak: Pass GDK_ env vars when running a command in the sandbox

parent 88e6d5e5
Pipeline #26678 passed with stages
in 69 minutes and 41 seconds
...@@ -605,7 +605,7 @@ class PitiviFlatpak: # pylint: disable=too-many-instance-attributes ...@@ -605,7 +605,7 @@ class PitiviFlatpak: # pylint: disable=too-many-instance-attributes
# The forwarded environment variables. # The forwarded environment variables.
forwarded = {} forwarded = {}
for envvar, value in os.environ.items(): for envvar, value in os.environ.items():
if envvar.split("_")[0] in ("GST", "GTK", "PITIVI", "LC") or \ if envvar.split("_")[0] in ("GDK", "GST", "GTK", "PITIVI", "LC", "G") or \
envvar in ["DISPLAY", "LANG"]: envvar in ["DISPLAY", "LANG"]:
forwarded[envvar] = value forwarded[envvar] = value
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment