I am on Ubuntu 19.10. My
~/.config/user-dirs.dirs looks like this:
# This file is written by xdg-user-dirs-update # If you want to change or add directories, just edit the line you're # interested in. All local changes will be retained on the next run. # Format is XDG_xxx_DIR="$HOME/yyy", where yyy is a shell-escaped # homedir-relative path, or XDG_xxx_DIR="/yyy", where /yyy is an # absolute path. No other format is supported. # XDG_DESKTOP_DIR="$HOME/OneDrive/Desktop" XDG_DOWNLOAD_DIR="$HOME/OneDrive/Downloads" XDG_TEMPLATES_DIR="$HOME/Templates" XDG_PUBLICSHARE_DIR="$HOME/Public" XDG_DOCUMENTS_DIR="$HOME/OneDrive/Documents" #XDG_MUSIC_DIR="$HOME/Music" #XDG_PICTURES_DIR="$HOME/Pictures" #XDG_VIDEOS_DIR="$HOME/Videos"
/etc/xdg/user-dirs.conf looks like this:
# This controls the behaviour of xdg-user-dirs-update which is run on user login # You can also have per-user config in ~/.config/user-dirs.conf, or specify # the XDG_CONFIG_HOME and/or XDG_CONFIG_DIRS to override this # enabled=False # This sets the filename encoding to use. You can specify an explicit # encoding, or "locale" which means the encoding of the users locale # will be used filename_encoding=UTF-8
/etc/xdg/user-dirs.defaults looks like this:
# 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=Desktop DOWNLOAD=Downloads TEMPLATES=Templates PUBLICSHARE=Public DOCUMENTS=Documents MUSIC=Music PICTURES=Pictures VIDEOS=Videos # Another alternative is: #MUSIC=Documents/Music #PICTURES=Documents/Pictures #VIDEOS=Documents/Videos
I don't understand why the sidebar only has Documents and Downloads. It doesn't have Music or Pictures or Videos, which is what I want. But if I understand this correctly it should also show Desktop, Templates, and Public. FWIW the sidebar short cut to Documents and Downloads does work correctly, in the sense that it navigates to
~/OneDrive/Documents or Downloads. Any idea what I'm missing?