Skip to content

Instantly share code, notes, and snippets.

@tianon
Last active August 29, 2015 14:02
Show Gist options
  • Select an option

  • Save tianon/baf2ab1b67510a72db7c to your computer and use it in GitHub Desktop.

Select an option

Save tianon/baf2ab1b67510a72db7c to your computer and use it in GitHub Desktop.
fix stupid user-dirs.defaults
sudo sed -ri 's/=.*/\L&/g; s/public$/public-share/; s/documents/docs/g; s/pictures/pics/g' /etc/xdg/user-dirs.defaults
xdg-user-dirs-update --force
#
# The values are relative pathnames from the home directory and
# will be translated on a per-path-element basis into the users locale
DESKTOP=desktop
DOWNLOAD=downloads
TEMPLATES=templates
PUBLICSHARE=public-share
DOCUMENTS=docs
MUSIC=music
PICTURES=pics
VIDEOS=videos
# Another alternative is:
#MUSIC=docs/music
#PICTURES=docs/pics
#VIDEOS=docs/videos
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment