Bug 1933312 - switch away from autostart
Summary: switch away from autostart
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: xdg-user-dirs
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Matthias Clasen
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 1932447
TreeView+ depends on / blocked
 
Reported: 2021-02-26 16:48 UTC by Rex Dieter
Modified: 2021-02-26 20:27 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Rex Dieter 2021-02-26 16:48:23 UTC
See backstory in bug #1932447 (Plasma is shipping a workaround, but I'd rather not have to do that long-term).

Turns out systemd-managed user sessions currently ignore autostart/xdg-user-dirs.desktop due to
https://github.com/systemd/systemd/issues/18791

One possible way forward is to swtich to a one-shot user systemd unit, like arch:
https://github.com/archlinux/svntogit-packages/blob/packages/xdg-user-dirs/trunk/xdg-user-dirs-update.service

Comment 1 Kevin Kofler 2021-02-26 20:27:58 UTC
> One possible way forward is to swtich to a one-shot user systemd unit

That would break things for everyone not using systemd user sessions, either by disabling it in their desktop's settings (e.g., startkderc for Plasma) or because their desktop environment does not support it to begin with. Unless both the autostart service and the systemd unit are shipped.


Note You need to log in before you can comment on or make changes to this bug.