Readme update

This commit is contained in:
2026-04-15 13:01:00 -05:00
parent 647517e264
commit 3db53ab4e1

View File

@@ -6,46 +6,32 @@ There is no place like $HOME. Home directory setup and bootstrapping guide.
## Table of Contents
* [XDG](#xdg)
* [Directories](#directories)
* [Todos](#todos)
* [Dotfiles](#dotfiles)
* [Usage](#usage)
* [Acknowledgments](#acknowledgments)
* [License](#license)
## Directories
## XDG
xdg-user-dirs is a tool to help manage "well known" user directories like the
desktop folder and the music folder. It also handles localization
(i.e. translation) of the filenames.
xdg-user-dirs-update is ran early in the login phase. It reads a configuration
file `/etc/xdg/xdg-user-dirs.defaults`. You should replace this file as root
before logging in or opening the file manager. Here is the updated file after
truncating names.
before logging in or opening the file manager. I usually truncate the original
names, and add a few more directories.
```text
# Default settings for user directories
#
# The values are relative pathnames from the home directory and
# will be translated on a per-path-element basis into the users locale
DESKTOP=gui
DOWNLOAD=dl
TEMPLATES=eg
PUBLICSHARE=pub
DOCUMENTS=docs
MEDIA=media
MUSIC=media/music
PICTURES=media/pics
VIDEOS=media/vids
# Another alternative is:
#MUSIC=Documents/Music
#PICTURES=Documents/Pictures
#VIDEOS=Documents/Videos
```
These are not all the directories, just the ones with XDG functionality. Some
of the may need to be downloaded.
You can find the original `/etc/xdg/xdg-user-dirs.defaults`[Here]()<- TODO
You can find the custom `/etc/xdg/xdg-user-dirs.defaults`[Here]()<- TODO
## Todos
TODO add script to grab eg file and replace.
## Directories
## Dotfiles
## Usage