You are not logged in.
Pages: 1
Hello:
XDG_DATA_HOME is not set for my system.
○ → env | grep XDG
XDG_CONFIG_DIRS=/etc/xdg/xdg-xubuntu:/etc/xdg:/etc/xdg
XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0
XDG_MENU_PREFIX=xfce-
XDG_SEAT=seat0
XDG_SESSION_DESKTOP=xubuntu
XDG_SESSION_TYPE=x11
XDG_GREETER_DATA_DIR=/var/lib/lightdm-data/damufo
XDG_CURRENT_DESKTOP=XFCE
XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0
XDG_SESSION_CLASS=user
XDG_VTNR=7
XDG_SESSION_ID=c2
XDG_RUNTIME_DIR=/run/user/1000
XDG_DATA_DIRS=/usr/share/xubuntu:/usr/share/xfce4:/usr/local/share/:/usr/share/:/usr/share
Where I add this path?
~./config/user-dirs.dirs
I try
xdg-user-dirs-update --set DATA_HOME ~/.local/share
But result is that add:
XDG_DATA_HOME_DIR="$HOME/.local/share"
Very thanks.
Offline
You gave it an explicit path so now that's what it is.
Here is mine for comparison.
env | grep XDG
XDG_CONFIG_DIRS=/etc/xdg
XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0
XDG_MENU_PREFIX=xfce-
XDG_CONFIG_HOME=/home/dan/.config
XDG_SEAT=seat0
XDG_SESSION_DESKTOP=xfce
XDG_SESSION_TYPE=x11
XDG_GREETER_DATA_DIR=/var/lib/lightdm/data/dan
XDG_CURRENT_DESKTOP=XFCE
XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0
XDG_CACHE_HOME=/home/dan/.cache
XDG_SESSION_CLASS=user
XDG_VTNR=7
XDG_SESSION_ID=2
XDG_RUNTIME_DIR=/run/user/1000
XDG_DATA_DIRS=/usr/share/xfce4:/usr/local/share/:/usr/share/:/usr/share
Siduction
Debian Sid
Xfce 4.18
Offline
https://specifications.freedesktop.org/ … #variables
$XDG_DATA_HOME defines the base directory relative to which user-specific data files should be stored. If $XDG_DATA_HOME is either not set or empty, a default equal to $HOME/.local/share should be used.
Does anyone know how to set this variable persistently in the system.
I need this variable for gspell.
Very thanks.
Offline
https://specifications.freedesktop.org/ … #variables
$XDG_DATA_HOME defines the base directory relative to which user-specific data files should be stored. If $XDG_DATA_HOME is either not set or empty, a default equal to $HOME/.local/share should be used.
Does anyone know how to set this variable persistently in the system.
I need this variable for gspell.
Very thanks.
Greetings to you! You might want to take a look at one of my earlier posts re. this topic, @ https://forum.xfce.org/viewtopic.php?pid=71808#p71808 , and how I solved my similar path-related problem with a permanent tweak. Still works fine to this day...
Cheers, m4a
Linux Mint 21.3 -- xfce 4.18 ... Apple iMAC -- Lenovo, Dell, HP Desktops and Laptops -- Family & Community Support
Offline
Pages: 1
[ Generated in 0.012 seconds, 10 queries executed - Memory usage: 534.69 KiB (Peak: 535.53 KiB) ]