postmarketos-hidden-desktop-entries: apply changes to existing installations
Right now, the package writes the launchers that should be hidden to /etc/skel. They will get copied to new user's home directories. But if the user is running an installation and upgrading the package, the entries in the home directory will not get updated. This is better than nothing, at least the hidden desktop entries are set properly in fresh installations (and match the apps installed by default).
However, it would be nicer if changes from this package were applied after upgrading.
TODO:
- make phosh respect additional paths in XDG_DATA_DIRS
-
don't place the hiding symlinks in
/etc/skel/.local/share/applications
, but in a new path, and add it to XDG_DATA_DIRS
Make sure that default applications like eog
for images are still working properly with this approach (they should because of mimeapps.list, but just in case).
Related: !1583 (closed)