StandardPath

Locations that can be passed to writablePath and standardPaths functions.

Values

ValueMeaning
data

Location of persisted application data.

DataStandardPath.data
config

Location of configuration files. Note: on Windows it's the same as Data path.

ConfigStandardPath.config
cache

Location of cached data. Note: on Windows it's the same as Data/cache.

CacheStandardPath.cache
desktop

User's desktop directory

DesktopStandardPath.desktop
documents

User's documents

DocumentsStandardPath.documents
pictures

User's pictures

PicturesStandardPath.pictures
music

User's music

MusicStandardPath.music
videos

User's videos (movies)

VideosStandardPath.videos
downloads

Directory for user's downloaded files.

DownloadStandardPath.downloads
templates

Location of templates.

Templatestemplates
publicShare

Public share folder.

PublicShareStandardPath.publicShare
fonts

Location of fonts files. Note: don't rely on this on freedesktop, since it uses hardcoded paths there. Better consider using fontconfig library

FontsStandardPath.fonts
applications

User's applications.

ApplicationsStandardPath.applications

See Also

writablePath, standardPaths

Meta