StandardPath

Locations that can be passed to writablePath and standardPaths functions.

Values

ValueMeaning
Data

Location of persisted application data.

Config

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

Cache

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

Desktop

User's desktop directory

Documents

User's documents

Pictures

User's pictures

Music

User's music

Videos

User's videos (movies)

Download

Directory for user's downloaded files. Note: currently always return null on Windows.

Templates

Location of templates.

PublicShare

Public share folder. Note: available only on systems with xdg-user-dirs (Linux, FreeBSD)

Fonts

Location of fonts files. Note: don't relie on this on freedesktop. Better consider using fontconfig library

Applications

User's applications.

See Also

writablePath, standardPaths

Meta