Skip to content

Persistent application state and user configuration stored in XDG_CACHE_HOME #2606

@Aron-dxd

Description

@Aron-dxd

Description

Noctalia is storing application state within $XDG_CACHE_HOME (typically ~/.cache/noctalia).

Since .cache is usually supposed to be for stuff that's safe to delete at any time, this seems like an odd spot for it. In my case(nixos + impermanence), I am forced to persist the directory to stop getting "Welcome to noctalia" popups everytime I boot.

Steps to Reproduce

  1. Clear the cache: rm -rf ~/.cache/noctalia
  2. Open Noctalia or reboot.
  3. The "Welcome" popups reappears.

Expected Behavior

I think it would be more standard to keep them in $XDG_STATE_HOME or $XDG_DATA_HOME.

Environment

  • Distro: NixOS
  • Compositor: Hyprland
  • Noctalia-shell Version: 4.7.7
  • Noctalia QS Version: 0.0.12
  • Monitor resolution: 1920x1080

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions