~/.var/app contains empty folders from apps that are not opened

I’ve been using Kinoite for some time and noticed that my ~/.var/app/ directory gets consistenly filled up with app folders I don’t have installed, like google chrome, chrome dev, ungoogled chromium, chromium and librewolf. All flatpaks. I don’t know why this happens and all the folders are empty. These are the flatpaks I have installed:

flatpak list --app
Nome                          ID de aplicativo                    Versão             Ramo      Instalação
Easy Effects                  com.github.wwmm.easyeffects         7.2.5              stable    system
SyncThingy                    com.github.zocker_160.SyncThingy    0.8.1              stable    system
Google Chrome                 com.google.Chrome                   141.0.7390.54-1    stable    system
Heroic                        com.heroicgameslauncher.hgl         v2.18.1            stable    system
Space Station 14              com.spacestation14.Launcher         0.35.0             stable    system
Vesktop                       dev.vencord.Vesktop                 1.5.8              stable    system
mpv                           io.mpv.Mpv                          v0.40.0            stable    system
Obsidian                      md.obsidian.Obsidian                1.9.14             stable    system
Fedora Media Writer           org.fedoraproject.MediaWriter       5.2.8              stable    system
fooyin                        org.fooyin.fooyin                   0.9.2              stable    system
Gwenview                      org.kde.gwenview                    25.08.1            stable    system
Calculadora                   org.kde.kalk                        25.08.1            stable    system
KeePassXC                     org.keepassxc.KeePassXC             2.7.10             stable    system
ONLYOFFICE Desktop Editors    org.onlyoffice.desktopeditors       9.0.4              stable    system
qBittorrent                   org.qbittorrent.qBittorrent         5.1.2              stable    system
Signal Desktop                org.signal.Signal                   7.73.0             stable    system

Even though Chrome is installed, I never used it as it’s for another user. If chrome is not installed, ~/.var/app/ gets populated with the same empty folders above.

Looks like a bug in Discover or something else. Does this also happen in Silverblue? I got 2 Kinoite systems where this happens consistenly.

Screenshot of extra directories:

On my system, these folders also show up, though I don’t have Chrome or Chromium installed. But they aren’t empty on my system:

~ ❯ tree .var/app/com.google.Chrome
.var/app/com.google.Chrome
├── config
│   └── google-chrome
│       └── NativeMessagingHosts
│           └── org.kde.plasma.browser_integration.json
└── plasma-browser-integration-host

4 directories, 2 files

~ ❯ tree .var/app/io.gitlab.librewolf-community
.var/app/io.gitlab.librewolf-community
└── plasma-browser-integration-host

1 directory, 1 file

It appears that this has to do with the Plasma integration for these browsers.

That’s right. Relevant thread from the KDE forum:

4 Likes