StandardPath

Locations that can be passed to writablePath and standardPaths functions.

Values

ValueMeaning
data

General location of persisted application data. Every application should have its own subdirectory here. Note: on Windows it's the same as config path.

config

General location of configuration files. Every application should have its own subdirectory here. Note: on Windows it's the same as data path. To distinguish config directory one may use roamingPath.

cache

Location of cached data. Note: Windows does not provide specical directory for cache data. On Windows data/cache is used as cache folder.

desktop

User's desktop directory.

documents

User's documents.

pictures

User's pictures.

music

User's music.

videos

User's videos (movies).

downloads

Directory for user's downloaded files.

templates

Location of file templates (e.g. office suite document templates). Note: Not available on OS X.

publicShare

Public share folder. Note: Not available on Windows.

fonts

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

applications

User's applications.

See Also

writablePath, standardPaths

Meta