summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoranonym <anonym@riseup.net>2017-03-31 13:41:02 +0200
committeranonym <anonym@riseup.net>2017-03-31 13:43:36 +0200
commitfe453a97e94a6aedf0b20dbd0e3f714bc483f8d6 (patch)
treee7583941294713256d22d15444ea270a23a558bd
parentc21f978869fe3362c9b97f3a6ba23f2e52ca07f6 (diff)
gnome.sh: Export more variables via export_gnome_env().feature/9051-tor-launcher-accessibility
Hopefully they will help orca making applications accessible. Refs: #9051
-rw-r--r--config/chroot_local-includes/usr/local/lib/tails-shell-library/gnome.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/chroot_local-includes/usr/local/lib/tails-shell-library/gnome.sh b/config/chroot_local-includes/usr/local/lib/tails-shell-library/gnome.sh
index e996b2a..b092160 100644
--- a/config/chroot_local-includes/usr/local/lib/tails-shell-library/gnome.sh
+++ b/config/chroot_local-includes/usr/local/lib/tails-shell-library/gnome.sh
@@ -3,7 +3,7 @@ export_gnome_env() {
. /etc/live/config.d/username.conf
local gnome_shell_pid="$(pgrep --newest --euid ${LIVE_USERNAME} gnome-shell)"
local tmp_env_file="$(tempfile)"
- local vars="(DBUS_SESSION_BUS_ADDRESS|DISPLAY|XAUTHORITY)"
+ local vars="(DBUS_SESSION_BUS_ADDRESS|DISPLAY|XAUTHORITY|DESKTOP_SESSION|XMODIFIERS|QT_IM_MODULE|SESSION_MANAGER|(GNOME|GDM|XDG)[^=]*)"
tr '\0' '\n' < "/proc/${gnome_shell_pid}/environ" | \
grep -E "^${vars}=" > "${tmp_env_file}"
while read line; do export "${line}"; done < "${tmp_env_file}"