Skip to content

[Feature/Bug] On Linux follow XDG Base Directory Specification #2013

@Ddystopia

Description

@Ddystopia

Motivation

On linux MQTTX stores cache inside ~/.config (or $XDG_CONFIG_HOME). This is bad because users can't rely on configs being "light", they are polluted with caches and can't be just copied around. There is an existing solution that has been around for many years, XDG Base Directory Specification.

The specification: https://specifications.freedesktop.org/basedir/latest/

Detailed design

Convention is to store cache in $XDG_CACHE_HOME or at least ~/.cache. The same goes for data - XDG_DATA_HOME or at least ~.local/share.

Metadata

Metadata

Assignees

Labels

LinuxdesktopMQTTX DesktopdiscussionThis issues and pr are worth discussinghelp wantedExtra attention is needed

Type

Projects

Status

Backlog

Relationships

None yet

Development

No branches or pull requests

Issue actions