Page MenuHomePureOS Tracker

XDG dirs not visible
Updated 2,663 Days AgoPublic

Main PageTroubleshootingXDG dirs not visible

Apps don't see my folders for music, videos, etc.


You can experience that some of your apps can't "see" your media directories. For example, you can't choose picture from Pictures folder when setting background:

background select 1

This usually happens if the xdg rules are missing. You can fix this by creating a file inisde .config/user-dirs.dirs, with the following content:

XDG_DESKTOP_DIR="$HOME/Desktop"
XDG_DOCUMENTS_DIR="$HOME/Documents"
XDG_DOWNLOAD_DIR="$HOME/Downloads"
XDG_MUSIC_DIR="$HOME/Music"
XDG_PICTURES_DIR="$HOME/Pictures"
XDG_PUBLICSHARE_DIR="$HOME/Public"
XDG_TEMPLATES_DIR="$HOME/Templates"
XDG_VIDEOS_DIR="$HOME/Videos"

Log out and then log back in, and GNOME software will know where do you place your media files:

background select 2

Last Author
mladen
Last Edited
Jun 20 2017, 10:53

Event Timeline

mladen created this document.Jun 20 2017, 10:53
mladen edited the content of this document. (Show Details)
mladen changed the edit policy from "All Users" to "Restricted Project (Project)".May 10 2018, 07:47