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.

cache

Location of cached data. Note: Not available on Windows.

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. This has different meaning across platforms. On Windows it's directory where links to programs for Start menu are stored. On OS X it's folder where applications are typically put. On Freedesktop it's directory where .desktop files are put.

startup

Automatically started applications.

See Also

writablePath, standardPaths

Meta