Questions tagged [xdg-base-directory]

Operability with the XDG Base Directory Specification

Filter by
Sorted by
Tagged with
16 votes
2 answers
11k views

Is $HOME/.local/share the default value for $XDG_DATA_HOME?

What's the default value for $XDG_DATA_HOME variable? I get an empty line with: echo $XDG_DATA_HOME According to the Free Desktop XDG Base Directory Environment variables specification, it might be ...
g0lem's user avatar
  • 467
7 votes
2 answers
5k views

How can I force all applications to use $XDG_CONFIG_HOME instead of ~/.APP?

As far as I understand, the XDG guidelines recommend that applications store their configuration in $XDG_CONFIG_HOME/APP (usually ~/.config/APP) rather than ~/.APP (I'm not sure if there are also ...
lofidevops's user avatar
  • 20.9k
6 votes
5 answers
13k views

How can I get the (XDG) Default User Directories from Python?

By example, In English the default user folders will be: $HOME/Desktop .... $HOME/Videos In Spanish the default user folders will be: $HOME/Escritorio .... $HOME/Vídeos The file ~/.config/user-...
Costales's user avatar
  • 2,278