Bug 427855 - Option to enable and disable system/distro-provided startup elements
Summary: Option to enable and disable system/distro-provided startup elements
Status: RESOLVED DUPLICATE of bug 274920
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_autostart (show other bugs)
Version: 5.20.0
Platform: Other Linux
: NOR wishlist
Target Milestone: ---
Assignee: Nicolas Fella
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-10-17 09:26 UTC by Nick Stefanov
Modified: 2023-07-25 15:59 UTC (History)
10 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nick Stefanov 2020-10-17 09:26:20 UTC
SUMMARY
There's no option to enable/disable startup elements at all. We can just remove them. In KDE Plasma 5.19 and previous versions there was a check to enable or disble a startup entry. In Plasma it's missing completely and it's very inconvenient. Now if I want to just try with some service disabled, I have to delete it and then add it again. There's no option for simple deactivating.

STEPS TO REPRODUCE
1. Start "Autostart"
2. Try to disable (not remove/delete) an entry.
3. 

OBSERVED RESULT
There's no option to enable/disable startup elements

EXPECTED RESULT
Checkmark for enable/disable chosen element.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
KDE Plasma Version: 5.20
KDE Frameworks Version: 5.75
Qt Version: 5.15
Comment 1 Nicolas Fella 2020-10-17 18:33:56 UTC
Removing the ability to deactivate entries was done intentionally since it seemed redundant to removing them and I'm not sure there is a strong use case for it.

As a workaround for quickly disabling an entry you can add "Hidden=true" to the .desktop file in .config/autostart
Comment 2 Nick Stefanov 2020-10-17 19:17:49 UTC
But I have a severeal scripts enabled and I want to toggle them ftom time to time. For me this decision is a downgrade. I don't know why they "fixed" something that's was working fine...
Comment 3 Antonio Rojas 2020-10-17 19:38:16 UTC
A very convenient use case for this is to override system autostarted applications per user. You could just add it to autostart and disable it to prevent autostarting.
Comment 4 Nick Stefanov 2020-10-17 19:50:18 UTC
I can't disable, just remove them and this is exactly the problem. For whom a single check box was a problem and why it have to be removed? I'll say it again - it's a pure form of downgrade. There was a great option and now it's gone without any purpose.
Comment 5 Rajeesh K V 2020-10-20 11:26:15 UTC
I would urge to add reinstate the ability to enable/disable autostart scripts. I have a few scripts implemented (over the years from KDE SC 4.0) and it is very convenient to enable/disable those. Even the remember the correct path and command line options to re-add a script after deleting it is a pain.
Comment 6 Nate Graham 2020-10-21 02:53:43 UTC
User feedback has spoken lol. IIRC even macOS has the ability to both disable and delete autostart entries. :)
Comment 7 Nick Stefanov 2020-10-21 07:36:43 UTC
And GNOME :D
Comment 8 Nick Stefanov 2020-12-02 20:52:16 UTC Comment hidden (spam)
Comment 9 Nicolas Fella 2020-12-18 06:09:53 UTC
*** Bug 430522 has been marked as a duplicate of this bug. ***
Comment 10 Colin Griffith 2020-12-22 02:16:51 UTC
There's another feature that is missing as a result of this feature missing: disabling a startup service on a per-user basis instead of on a system-wide basis.

In the past, I have always copied all the entries in /etc/xdg/autostart/ to ~/.config/autostart/, so that I could override whether they were enabled or disabled - as setting whether they were enabled/disabled in the file stored in the home directory overrode the file in /etc/. This let me enable/disable autostart entries without affecting global system files.

IF ANYTHING, I would have opted for this configuration page to detect system autostart entries, and disabling them would make a copy in the user's ~/.config/autostart directory with it disabled. This would be more ideal than having to copy the files myself.. And bringing back the previous functionality would AT LEAST make it easier than Editing The Files Myself.

I know that Nicolas Fella worked hard on this, and made the change intentionally. But when even GNOME and MacOS (supposedly, according to others in here) has a feature and you're removing it from KDE of all places, you need to rethink your objectives for a user interface. I would never expect this type of feature removal to happen in KDE.
Comment 11 Colin Griffith 2020-12-22 02:25:47 UTC
This might be considered another bug, but another issue with this redesign is that the 'remove' button only appears when you hover the mouse over it. So when you're removing a bunch of them at once, you can't keep your mouse still and keep clicking, as the 'hover' event doesn't seem to fire until you've clicked once or jitter the mouse a bit.

I don't see any reason for the buttons to hide themselves. It's not friendly for touch screens, as you don't know where to touch. It's not friendly for mice, as you don't know where to hover your mouse until you try to. When you do hover over an entry, it looks weird for only one of them to have a button and the rest not to.

The fact that they highlight when you hover, and then change color when you click, makes it seem like SOMEthing should happen when you click... But nothing does. Clicking an entry does not result in any action being performed. You can't even select them, as they're not selectable items.

--------------------

It might be my headache talking (not related to this; I've had this headache for a while), or I might just be resistant to change. I'm sorry if I sound overly harsh, I really don't mean to.

I just don't understand the purpose behind the redesign, and every time I look at any of it to see if there's a tiny bit of, "Oh, well at least that's nicer than before," I just find more things I disagree with (or perhaps am just not used to? Like I say, I maybe the headache is talking).
Comment 12 Nick Stefanov 2020-12-22 08:40:06 UTC
Totally agreed!
Comment 13 Nick Stefanov 2021-01-14 08:36:37 UTC
Now there's no need to hover for buttons are always there but there is no option to enable/disable a startup entry. Please readd it. Thank you :)
Comment 14 Nick Stefanov 2021-02-17 20:25:33 UTC Comment hidden (spam)
Comment 15 Nick Stefanov 2021-06-12 13:45:48 UTC Comment hidden (spam)
Comment 16 Nick Stefanov 2021-07-07 17:38:00 UTC Comment hidden (spam)
Comment 17 Nick Stefanov 2021-10-18 09:28:56 UTC Comment hidden (spam)
Comment 18 Nick Stefanov 2021-12-11 14:12:21 UTC Comment hidden (spam)
Comment 19 Colin Griffith 2021-12-16 03:10:12 UTC
(In reply to Nick Stefanov from comment #18)
> Plasma 5.21.3 - still no option to enable/disable startup entries. Why you broke it when it used to work fine? Now it's ugly and inconvenient. Is this the purpose? To make Plasma inconvenient? After this stupid change there's no other DE with such awkward start up settings at all. Kudos to the dead head dev who made it for the Golden Raspberry award.

I don't think it's a good idea to be hostile toward the developer responsible, especially since they're also the one assigned to fix this bug. Don't give them more reasons to want to avoid working on it or having anything to do with it.

That said, I know that the dev made this choice deliberately, and I'm not sure why they're also assigned to change it. That's a conflict of interest (albeit a relatively minor one) - they might just want the change to persist, even though everyone else doesn't want it to persist, so all they have to do to get their way is to literally do nothing.

Perhaps someone else should be assigned to fix this bug?

(In reply to Nate Graham from comment #6)
> User feedback has spoken lol. IIRC even macOS has the ability to both disable and delete autostart entries. :)

Since [Xuetian Weng's merge request][mr] would indirectly fix this, maybe have him assigned to this bug report.

[mr]: https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/253
Comment 20 Nate Graham 2021-12-16 15:32:07 UTC
The open merge request needs for the submitter to continue work on it. At this point is seems like there is a path forward, and the work just needs to be completed. I've pinged the submitter. Hopefully they can continue the work.
Comment 21 Nicolas Fella 2021-12-16 15:34:28 UTC
The MR is unrelated to this bug report. This report is about disabling entries as opposed to removing them, the MR is about controlling the system-wide autostart
Comment 22 Nicolas Fella 2021-12-16 15:38:17 UTC
The correct bug for that MR is https://bugs.kde.org/show_bug.cgi?id=428094
Comment 23 Colin Griffith 2022-01-06 18:17:34 UTC
(In reply to Nicolas Fella from comment #21)
> The MR is unrelated to this bug report. This report is about disabling
> entries as opposed to removing them, the MR is about controlling the
> system-wide autostart

I think you've misunderstood something fundamental about both bugs. The way that system-level autostarts are controlled, is by copying them into the user-specific autostart folder and then setting them to disabled.

In other words, for one to be implemented, you have to implement both. Or rather, if you fix *this* bug, both bugs become fixed automatically. That's why so many people were upset about this change, because it used to be possible to control system-level autostart entries with the GUI (once they're copied over to the user's home directory), but that is no longer possible because of your change.
Comment 24 Nick Stefanov 2022-02-09 21:23:41 UTC Comment hidden (spam)
Comment 25 Nick Stefanov 2022-02-21 09:46:42 UTC Comment hidden (spam)
Comment 26 Nick Stefanov 2022-02-26 09:19:01 UTC Comment hidden (spam)
Comment 27 Nick Stefanov 2022-03-09 11:23:56 UTC Comment hidden (spam)
Comment 28 Nick Stefanov 2022-05-07 12:26:15 UTC Comment hidden (spam)
Comment 29 Nick Stefanov 2022-06-14 17:59:02 UTC Comment hidden (spam)
Comment 30 Nick Stefanov 2022-06-29 08:24:31 UTC Comment hidden (spam)
Comment 31 David Edmundson 2022-06-29 08:35:41 UTC Comment hidden (spam)
Comment 32 Nick Stefanov 2022-06-29 08:49:03 UTC Comment hidden (spam)
Comment 33 Nate Graham 2022-06-29 13:16:41 UTC Comment hidden (spam)
Comment 34 Nick Stefanov 2022-06-29 15:20:04 UTC Comment hidden (spam)
Comment 35 Nick Stefanov 2022-10-14 09:14:31 UTC Comment hidden (spam)
Comment 36 Nick Stefanov 2022-11-06 14:34:07 UTC Comment hidden (spam)
Comment 37 Nick Stefanov 2022-12-13 21:17:22 UTC Comment hidden (spam)
Comment 38 Nate Graham 2022-12-13 21:20:32 UTC
Nick, do you think that these comments are making people more like to want to work on it?

In fact, they're more likely to make someone think "man, if I try to work on this, I'll have to come into contact with that Nick Stefanov jerk. I think I'll do something else."

If you actually care about this getting done, your nagging and pestering is making it LESS LIKELY, not MORE LIKELY. If you keep it up, my conclusion will be that you don't actually care about this feature working, and are instead simply looking for an outlet for your poorly-handled emotions.

So. Stop it. This is a formal warning.
Comment 39 Nick Stefanov 2022-12-13 21:56:05 UTC Comment hidden (spam)
Comment 40 Nate Graham 2022-12-13 21:58:11 UTC Comment hidden (spam)
Comment 41 Nick Stefanov 2022-12-13 22:05:54 UTC Comment hidden (spam)
Comment 42 Nate Graham 2022-12-13 22:12:00 UTC
Issue not fixed; re-opening. Please don't destroy things and make extra work for other people if you can't control your own emotions.
Comment 43 Nick Stefanov 2022-12-13 22:39:39 UTC Comment hidden (spam)
Comment 44 Nate Graham 2023-07-25 15:59:32 UTC

*** This bug has been marked as a duplicate of bug 274920 ***