Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [xdg-base-directory]

Operability with the XDG Base Directory Specification

0
votes
0answers
27 views

Change location of Download and Pictures directories

I have a drive with 2 partitions. Partition #1 is Ubuntu 18.10. Partition #2 is to be used as a data drive with Downloads and Pictures. I created 2 directories in Partition 2, Downloads and Pictures ...
1
vote
0answers
42 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
1answer
329 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 ...
0
votes
2answers
593 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 ...
6
votes
2answers
4k views

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

What's the default value for $XDG_DATA_HOME in Ubuntu 14.04? I get an empty line with: echo $XDG_DATA_HOME According to the Free Desktop Specifications, it might be equals to $HOME/.local/share
5
votes
2answers
5k 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-...
3
votes
2answers
1k 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
2answers
145 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 ...
5
votes
2answers
490 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 ...