/etc/xdg/autostart/lxpolkit.desktop ignored by systemd-xdg-autostart-generator
Description:
/etc/xdg/autostart/lxpolkit.desktop
erroneously contains Hidden=true
(equivalent to deleting the desktop file) so is not started, rather than the intended NoDisplay=true
(to hide it from launcher menus).
Additional info:
- package version(s): 0.5.5.
- config and/or log files: N/A
- link to upstream bug report, if any: Fixed upstream in https://github.com/lxde/lxsession/commit/003a1dcf536a06c873c3c7400f161532c8a9c85d
From https://specifications.freedesktop.org/desktop-entry-spec/desktop-entry-spec-latest.html#recognized-keys, Hidden
:
Hidden should have been called Deleted. It means the user deleted (at their level) something that was present (at an upper level, e.g. in the system dirs). It's strictly equivalent to the .desktop file not existing at all, as far as that user is concerned. This can also be used to "uninstall" existing files (e.g. due to a renaming) - by letting make install install a file with Hidden=true in it.
vs. NoDisplay
:
NoDisplay means "this application exists, but don't display it in the menus". This can be useful to e.g. associate this application with MIME types, so that it gets launched from a file manager (or other apps), without having a menu entry for it (there are tons of good reasons for this, including e.g. the netscape -remote, or kfmclient openURL kind of stuff).
Steps to reproduce:
- Install
lxsession-gtk3
and enablesystemd-xdg-autostart-generator
- Log in
- Observe no
app-lxpolkit@autostart.service
is generated