|
Bugzilla – Full Text Bug Listing |
| Summary: | Move /etc/xdg/autostart to /usr/etc/xdg/autostart ? | ||
|---|---|---|---|
| Product: | [openSUSE] openSUSE Tumbleweed | Reporter: | Stefan Dirsch <sndirsch> |
| Component: | Other | Assignee: | Ludwig Nussel <lnussel> |
| Status: | RESOLVED FIXED | QA Contact: | E-mail List <qa-bugs> |
| Severity: | Normal | ||
| Priority: | P5 - None | CC: | chcao, dleuenberger, kukuk, lnussel, ro, werner |
| Version: | Current | ||
| Target Milestone: | --- | ||
| Hardware: | Other | ||
| OS: | Other | ||
| Whiteboard: | |||
| Found By: | --- | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
| Bug Depends on: | |||
| Bug Blocks: | 1173048 | ||
|
Description
Stefan Dirsch
2020-06-24 14:13:26 UTC
according to https://specifications.freedesktop.org/autostart-spec/0.5/ar01s02.html and https://specifications.freedesktop.org/basedir-spec/latest/ar01s03.html they did not anticipate that. We seem to export XDG_CONFIG_DIRS=/etc/xdg. I'd assume that similar to /usr/share/applications the OS provided autostart directory would be located there as well. Information by Dominique: If all consumers implement this correctly, we just need to add "/usr/etc/xdg" to $XDG_CONFIG_DIRS. This variable is set by /etc/profiles.d/xdg-environment.[c]sh (package aaa_base), soon to be moved to /usr/etc (aaa_base). omg, we should probably kill that script in favor of a file in /usr/lib/environment.d/ while we are at it (In reply to Stefan Dirsch from comment #3) > Information by Dominique: > If all consumers implement this correctly, we just need to add > "/usr/etc/xdg" to $XDG_CONFIG_DIRS. This variable is set by > /etc/profiles.d/xdg-environment.[c]sh (package aaa_base), soon to be moved > to /usr/etc (aaa_base). Makes sense. Should even work with consumers still using /etc/xdg, when just adding /usr/etc/xdg to the end of the list. (In reply to Ludwig Nussel from comment #4) > omg, we should probably kill that script in favor of a file in > /usr/lib/environment.d/ while we are at it Not sure how to implement this. (In reply to Stefan Dirsch from comment #5) > (In reply to Stefan Dirsch from comment #3) > > Information by Dominique: > > If all consumers implement this correctly, we just need to add > > "/usr/etc/xdg" to $XDG_CONFIG_DIRS. This variable is set by > > /etc/profiles.d/xdg-environment.[c]sh (package aaa_base), soon to be moved > > to /usr/etc (aaa_base). > > Makes sense. Should even work with consumers still using /etc/xdg, when just > adding /usr/etc/xdg to the end of the list. Just implemented and openend submit request on github. https://github.com/openSUSE/aaa_base/pull/80 Well, I'm not the maintainer ... # osc maintainer aaa_base Defined in package: Base:System/aaa_base bugowner of aaa_base : lnussel, oertel maintainer of aaa_base : lnussel, oertel, WernerFink, kukuk https://build.opensuse.org/request/show/833187 Thanks for accepting and pushing to factory, Ludwig! :-) Already accepted. So let's close this as fixed. |