diff options
Diffstat (limited to 'abs/core-testing/libx11/xorg.sh')
-rw-r--r-- | abs/core-testing/libx11/xorg.sh | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/abs/core-testing/libx11/xorg.sh b/abs/core-testing/libx11/xorg.sh new file mode 100644 index 0000000..d3ade91 --- /dev/null +++ b/abs/core-testing/libx11/xorg.sh @@ -0,0 +1,19 @@ +export XDG_DATA_HOME=$HOME/.local/share +export XDG_CONFIG_HOME=$HOME/.config +export XDG_CACHE_HOME=$HOME/.cache + +if [ -z $XDG_DATA_DIRS ]; then + export XDG_DATA_DIRS=/usr/share:/usr/local/share +else + export XDG_DATA_DIRS=/usr/share:/usr/local/share:$XDG_DATA_DIRS +fi + +if [ -z $XDG_CONFIG_DIRS ]; then + export XDG_CONFIG_DIRS=/etc/xdg +else + export XDG_CONFIG_DIRS=/etc/xdg:$XDG_CONFIG_DIRS +fi + +# temporarily loosen restrictions in libxcb to get java +# application involving X to work. +export LIBXCB_ALLOW_SLOPPY_LOCK=true |