Skip to content

Commit

Permalink
Mint does not set XDG_RUNTIME_DIR, so set it if unset. Thx @bcnx
Browse files Browse the repository at this point in the history
  • Loading branch information
fat-tire committed Mar 9, 2022
1 parent 10114ad commit 9e020b1
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions resolve.sh
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,12 @@ if ! [ -z ${RESOLVE_ENABLE_HOST_SYSTEM_FONTS} ]; then
export MOUNT_SYSTEM_FONTS="--mount type=bind,source=/usr/share/fonts,target=/home/resolve/.local/share/fonts"
fi

# mint does not set XDG_RUNTIME_DIR, so set it if unset.

if [ -z ${XDG_RUNTIME_DIR+x} ]; then
export XDG_RUNTIME_DIR=/run/user/`id -u`
fi

# quick sanity check.

if [ -z "${XAUTHORITY}" ]; then
Expand Down

0 comments on commit 9e020b1

Please sign in to comment.