Package: obsession Version: 20140608-2 I have an XDG config hierarchy with the following directories:
/etc/xdg/autostart/ /etc/xdg/xdg-openbox/autostart/ The Xsession startup scripts correctly set XDG_CONFIG_DIRS=/etc/xdg/xdg-openbox:/etc/xdg I have placed a number of *.desktop files under xdg-openbox/autostart/ which effectively disable those under xdg/autostart/, by adding the Hidden=true directive to files of the same name. The intent is for Openbox sessions to not run any of the normal XDG autostart programs, in order to keep the session lightweight. As an example... # /etc/xdg/autostart/xiccd.desktop [Desktop Entry] Name=xiccd GenericName=X color management daemon Comment=Applies color management profiles to your session Exec=xiccd Terminal=false Type=Application NotShowIn=GNOME;KDE; # /etc/xdg/xdg-openbox/autostart/xiccd.desktop [Desktop Entry] Hidden=true Unfortunately, xdg-autostart executes files in xdg/autostart/. In ~/.xsession-errors, I see this: ** Message: 23:00:46.576: xdg-autostart.vala:39: Processing /etc/xdg/autostart/xiccd.desktop file. ** Message: 23:00:46.584: xdg-autostart.vala:94: Launching: xiccd (xiccd.desktop) This behavior disregards the following section of the "Desktop Application Autostart Specification": Hidden Key When the .desktop file has the Hidden key set to true, the .desktop file MUST be ignored. When multiple .desktop files with the same name exists in multiple directories then only the Hidden key in the most important .desktop file must be considered: If it is set to true all .desktop files with the same name in the other directories MUST be ignored as well. (https://specifications.freedesktop.org/autostart-spec/autostart-spec-latest.html) Upstream appears to have abandoned the xdg-autostart implementation used in Debian. I would suggest removing it from the obsession package, and have openbox rely on its own openbox-xdg-autostart program, which uses PyXDG and handles the startup process in a more conformant manner. (The openbox package would then probably need to gain a dependency on python3-xdg, as currently it has none.) --Daniel -- Daniel Richard G. || sk...@iskunk.org My ASCII-art .sig got a bad case of Times New Roman.