Skip to content

Commit

Permalink
chore(var): DISPLAY=:2
Browse files Browse the repository at this point in the history
  • Loading branch information
2moe committed Mar 18, 2022
1 parent c5b9cc8 commit 7f008bd
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion share/old-version/share/container/chroot/startup
Original file line number Diff line number Diff line change
Expand Up @@ -436,7 +436,7 @@ cat >"${TMP_FILE}" <<-ENDOFTMOECHROOT
set -- "\${@}" "TMOE_CHROOT=true"
set -- "\${@}" "TMOE_PROOT=false"
set -- "\${@}" "TMPDIR=/tmp"
set -- "\${@}" "DISPLAY=127.0.0.1:0"
set -- "\${@}" "DISPLAY=:2"
set -- "\${@}" "PULSE_SERVER=tcp:127.0.0.1:4713"
# CHECK SHELL
[[ ! -s \${DEFAULT_SHELL_CONF} ]] || source \${DEFAULT_SHELL_CONF}
Expand Down
2 changes: 1 addition & 1 deletion share/old-version/share/container/nspawn/startup
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ set -- "\${@}" "--setenv" "USER=\${CHROOT_USER}"
# set -- "\${@}" "--setenv" "PULSE_SERVER=unix:/usr/lib/systemd/user/pulseaudio.socket"
# set -- "\${@} "--bind-ro" "/usr/lib/systemd/user/pulseaudio.socket"
set -- "\${@}" "--setenv" "PULSE_SERVER=tcp:127.0.0.1:4713"
set -- "\${@}" "--setenv" "DISPLAY=127.0.0.1:0"
set -- "\${@}" "--setenv" "DISPLAY=:2"
set -- "\${@}" "--setenv" "GTK_IM_MODULE=fcitx"
set -- "\${@}" "--setenv" "QT_IM_MODULE=fcitx"
set -- "\${@}" "--setenv" "XMODIFIERS=\@im=fcitx"
Expand Down
2 changes: 1 addition & 1 deletion share/old-version/share/container/proot/startup
Original file line number Diff line number Diff line change
Expand Up @@ -783,7 +783,7 @@ cat >"${TMOE_STARTUP_SCRIPT}" <<-ENDOFPROOT
set -- "\${@}" "TMOE_CHROOT=false"
set -- "\${@}" "TMOE_PROOT=true"
set -- "\${@}" "TMPDIR=/tmp"
set -- "\${@}" "DISPLAY=127.0.0.1:0"
set -- "\${@}" "DISPLAY=:2"
set -- "\${@}" "PULSE_SERVER=tcp:127.0.0.1:4713"
if [[ -r "\${TMOE_LOCALE_FILE}" ]]; then
set -- "\${@}" "LANG=\$(head -n 1 \${TMOE_LOCALE_FILE})"
Expand Down

0 comments on commit 7f008bd

Please sign in to comment.