XDG Utils

about | blog | config | notes | github

XDG Utils is a set of utilities for managing XDG MIME Applications. The provide an interface to open files with a specific default application and also configure various directories.

1. Tips and Tricks

Not much here yet

2. Useful Resources

3. Configuration

3.1. Setup Base Directories

Don't use a traditional desktop environment so there is not need for a seperate desktop directory. I let this be my home directory.

XDG_DESKTOP_DIR="$HOME/"

I don't really have a documents diretory really so I just store everything in here. Most of my real documents are all org files, so they only exist in git repos anyway.

XDG_DOCUMENTS_DIR="$HOME/usr"

I actually save all downloads to a local folder named tmp. All of its contents are deleted on poweroff so it forces me to organize files that I download right away.

XDG_DOWNLOAD_DIR="$HOME/tmp"

I don't really download music at the moment so I just set this generic location for now.

XDG_MUSIC_DIR="$HOME/usr"

The same goes with pictures…

XDG_PICTURES_DIR="$HOME/usr"

And videos as well…

XDG_VIDEOS_DIR="$HOME/usr"

I'm public share directory is a directory that has read access for all users on the system. However, since I'm the only user on the system, I don't really use this.

XDG_PUBLICSHARE_DIR="$HOME/tmp"

I don't really manage templates of any kind. Maybe I should…

XDG_TEMPLATES_DIR="$HOME/tmp"

Created: 2021-11-13

Emacs 26.1 (Org mode 9.5)