Registered Member
|
After upgrading from KDE 5.20 to 5.21 the scripts in $HOME/.config/autostart-scripts are no longer running at login time, even though System Settings still lists them. Poking around in the plasma-workspace code it seems that they're supposed to have been automatically converted into .desktop files (function migrateUserScriptsAutostart() in startkde/startplasma.cpp), but this hasn't happened.
I'm using Fedora, and the KDE upgrade happened when I upgraded from Fedora 33 to Fedora 34. |
Registered Member
|
I've got the same problem here too (after the upgrade vom FC33 to FC34). On FC33 everything was fine.
Where did you find the newly created ".desktop" files? Did you file a bug report? Could you fix the issue somehow? |
Registered Member
|
It's not the upgrade to 5.21 that broke it, it's the Fedora 33->34 upgrade. Fedora chose to enable the systemd startup integration (which is still off by default upstream) which improves all kinds of things but has known limitations, like autostart scripts not working. The conversion to desktop files will fix this, but it is not part of Plasma 5.21 but will be in 5.22
|
Registered Member
|
I don't understand the implications of this. Is there a way to enable the start/login scripts in KDE with Fedora 34 and Plasma 5.21? |
Registered Member
|
Might be a different root cause, but my auto start scripts aren't running either, and I'm not on Fedora.
Another bug I guess. I've already filed half a dozen of them and none of them have been fixed, half of them don't even have a reply. It sounds like people are overworked, and I can't help but wonder if it wouldn't be wise to focus on quality over pushing out new features at this point. |
Manager
|
You mean the bugs you file a few days ago? Did you ever try filing a bug to Microsoft? I got a notification about a bug I filed in the 1990 against Word which was fixed about 17 years later... how about a little patience?
Running Kubuntu 22.10 with Plasma 5.26.3, Frameworks 5.100.0, Qt 5.15.6, kernel 5.19.0-23 on Ryzen 5 4600H, AMD Renoir, X11
FWIW: it's always useful to state the exact Plasma version (+ distribution) when asking questions, makes it easier to help ... |
Registered Member
|
Can someone point me to the filed bug report? Are we talking about Bug 436439 - plasma-workspace 93f9ef030 broke my autostart scripts -- repeating the conversion?
|
Registered Member
|
There's quite a few bugs on the topic, this one may be helpful to you: https://bugs.kde.org/show_bug.cgi?id=427340
-- I do everything I can not to use Microsoft, although I do have a small secondary drive with Windows installed which is named "Dumpster Fire". I'm more concerned about the underlying trend in software development, which I see in KDE, as well as many other things, to not show users meaningful errors, and to avoid fixing things when it can be blamed on someone else. Sorry if that's not easy to hear, but I only mention it in hopes that things will improve. I value quality over newness, which is part of why I prefer Linux. |
Manager
|
My comment was mainly done because you only just reported the bugs a few days ago, not giving the developers even a bit of time to fix this. Remember they are not all paid for this work?
Running Kubuntu 22.10 with Plasma 5.26.3, Frameworks 5.100.0, Qt 5.15.6, kernel 5.19.0-23 on Ryzen 5 4600H, AMD Renoir, X11
FWIW: it's always useful to state the exact Plasma version (+ distribution) when asking questions, makes it easier to help ... |
Registered Member
|
I understand your point. However, I have numerous bugs filed, and most of them are older than a few days. In fact, I got a 15 day notification that one was waiting on me for info. I certainly should have done better about that! Yes, we're all here on our own time, and it is greatly appreciated.
It's just so frustrating to have so many features that don't work correctly, especially when some of them pretty basic, and it's hard to remain positive when I'm spending so much time finding and implementing workarounds, instead of being productive in my own work. But, with every workaround I implement, I'm able to spend more time being productive, so that's good. |
Registered Member
|
I share your view and appreciate the civility of your reply. OTOH, you get what you pay for. I gave up on filing bug reports for the same reason. This is one of the unfortunate flaws in open source software with volunteer support. viewtopic.php?f=223&t=165788 It is kind of a thankless effort. I certainly do not want to go back to windows though.
Migrated from Linux Mint 17.3/18.3 KDE to KDE neon User Edition.
|
Registered Member
|
The workaround I'm using is to manually create a .desktop file for each login script within folder ~/.config/autostart/. One way to do this is with Dolphin. Open Dolphin and navigate to folder ~/.config/autostart/. In Dolphin's file view pane (on the right side), right-click on any open area. On the pop-up context menu select the options Create New > Link to Application.... When the PROPERTIES dialog appears,
|
Registered Member
|
Thank you for the verbose explanation. I think the problem lies elsewhere. I've got three files in ~/.config/autostart:
The first one is a working X11 program. And it's starting and running fine. The second program is a test script, that logs it's start, so I can see, everything is fine. But now the third program: There is a article that describes a problem with xbindkeys and systemd: xbindkeys won't run in ExecStart script but runs in regular script So, maybe I'm barking at the wrong tree and my systemd scripts are working fine and xbindkeys is the problem here. I will further investigate. Stay tuned. PS: Here are some log from journalctl:
|
Registered Member
|
Were you able to figure it out? I'm having the same issue with xbindkeys and plasma 5.22.5 |
Registered Member
|
So this is the work around I had to settle for :sigh: I made use of the plasmashell Notifications settings to run a script along with a notification for "Connection activated" since I'm on wifi and I always get that notification when I first login. For some reason putting the same script on the "Login" notifications (Under Notifications>plasmashell workspace) did not work, even when I configured that notification to play a sound it just didn't work so this workaround will do for now.
Script:
|
Registered users: Bing [Bot], Google [Bot], Sogou [Bot]