Bug 1956022 - KDE doesn't run scripts in $HOME/.config/autostart-scripts
Summary: KDE doesn't run scripts in $HOME/.config/autostart-scripts
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: systemd
Version: 34
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: systemd-maint
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-05-02 07:23 UTC by Matthew Cline
Modified: 2021-05-04 16:07 UTC (History)
17 users (show)

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


Attachments (Terms of Use)

Description Matthew Cline 2021-05-02 07:23:02 UTC
After upgrading from Fedora 33 to Fedora 44,  KDE no longer runs the scripts in  $HOME/.config/autostart-scripts on login. System Settings > Startup and Shutdown > Autostart shows lists all of my startup scripts, so the problem isn't KDE being unable to find them.  However, $HOME/.config/plasma-workspace/env scripts are still sourced at login and $HOME/.config/plasma-workspace/shutdown scripts still run at logout.

I'm running KDE under X11 instead of Wayland, if that makes a difference.

Comment 1 Rex Dieter 2021-05-03 15:32:53 UTC
F34 plasma is configured to use systemd user sessions, this is likely a systemd-xdg-autostart-generator issue.

Comment 2 dominique 2021-05-04 14:46:28 UTC
I have the same problem, What do you mean by "systemd-xdg-autostart-generator issue" ?

Comment 3 Rex Dieter 2021-05-04 15:56:39 UTC
It's a systemd bug, not a plasma one, references include:
https://github.com/systemd/systemd/issues/16805
https://github.com/systemd/systemd/pull/18782

Comment 4 Rex Dieter 2021-05-04 16:07:20 UTC
Systemd maintainers, the aforementioned issue (and subsquent) PR, is that something that could be included in fedora's systemd packaging?

It's affecting user-configured autostart items in plasma.


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