On Wed, 2020-02-26 at 19:41 +0000, Simon McVittie wrote: > However, `systemd-tmpfiles --user` can be invoked as an > ordinary user, unprivileged, to look at various paths including > ~/.config/user-tmpfiles.d/*.conf (which is the highest-precedence) and > create/clean per-user directories. I think the suggestion is that desktop > environments like GNOME should periodically run `systemd-tmpfiles --user`, > or a compatible reimplementation, as a way to clean per-user cached files.
Yes. And if you have pam_systemd, then we already have this scheduled job running today. So this is already working out of the box, all we need is some fall-back mechanism for the non-systemd case. Even that fallback should be simple in principle. i.e. extract the systemd-tmpfiles code (or use the opentmpfiles script) and create a small scheduler that is started using an XDG desktop file in the autostart directory. Benjamin
signature.asc
Description: This is a digitally signed message part
_______________________________________________ xdg mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/xdg
