Questions tagged [xdg-base-directory]
Operability with the XDG Base Directory Specification
11
questions
0
votes
0
answers
27
views
How does the expression `echo echo ${XDG_DATA_HOME:-$HOME/} ` work to give me my home directory? [duplicate]
echo ${XDG_DATA_HOME:-$HOME/} gives me the same result as echo $HOME.
Yet $XDG_DATA_HOME:-$HOME and XDG_DATA_HOME are not in my environment. I haven't been able to find any documentation on how these ...
4
votes
0
answers
153
views
Where is the setting that tells the desktop to look in ~/.local/share?
I had some issues and tried to reset my Ubuntu desktop back to defaults, but the results were poor. After comparing all the settings side by side with a fresh Ubuntu install, I got it back to about ...
0
votes
2
answers
377
views
What is the Minimum Setup Needed for Setting-up XDG Directories ($XDG_RUNTIME_DIR etc.)?
I'm in a setup (20.04) that is basically headless (a solaris zone, but we could probably consider it analogous to any server sort of setup), and as such, I don't have any graphical environment ...
1
vote
0
answers
53
views
How can I make a subfolder that looks and behaves like Documents/Music/etc? [duplicate]
The home folder starts with default folders (mostly XDG base directories) like ~/Documents and ~/Music. These are decorated as follows:
custom folder icon (not an emblem)
custom icon matches the ...
1
vote
1
answer
677
views
What creates $HOME/.local/share/keyrings?
According to the XDG Base Directory Spec,
$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 ...
2
votes
2
answers
3k
views
What is the meaning of "/.cache/" in a path or directory?
I was looking for a file "file.odt" so I used the find command:
sudo find / -name "file.odt"
While my computer came up with several paths to a number of copies of the same file, it also came up 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 ...
6
votes
5
answers
12k
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-...
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 ...
7
votes
2
answers
159
views
Is .config called other things for different system languages?
I'm making an application that reads/writes to files in the ~/.config folder; however, I want to make sure it works under all systems. Is .config called other things for different system languages? Is ...
6
votes
2
answers
614
views
What are the default hidden folders under ~?
I was wondering what the default
hidden folders under ~?
What are their purposes? For
example, what are the purposes of
~/.local/ and ~/.local/share/ ?
Which of these hidden folders also
exist in ...