Bug 428094

Summary: Provide ability in gui to disable autostart for programs in /etc/xdg/autostart/
Product: [Applications] systemsettings Reporter: soredake <katyaberezyaka>
Component: kcm_autostartAssignee: Nicolas Fella <nicolas.fella>
Status: RESOLVED DUPLICATE    
Severity: wishlist CC: bugseforuns, justin.zobel, katyaberezyaka, Makuru_DD, nate, plasma-bugs, putr4.s, sthenujan2002
Priority: NOR    
Version: 5.18.5   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description soredake 2020-10-22 09:20:42 UTC
SUMMARY
Right now, there is no way to disable autostart from programs from /etc/xdg/autostart in autostart kde settings.

Right now i use this two commands to disable startup of two programs:
sed -e '$aHidden=True' /etc/xdg/autostart/org.kde.discover.notifier.desktop > "$HOME/.config/autostart/org.kde.discover.notifier.desktop"
sed -e '$aHidden=True' /etc/xdg/autostart/gcdemu.desktop > "$HOME/.config/autostart/gcdemu.desktop"

STEPS TO REPRODUCE
1. Install kubuntu or any distro with kde.
2. Go to autostart settings.
3. No discover or any other program from /etc/xdg/autostart is present.

OBSERVED RESULT
No discover or any other program from /etc/xdg/autostart is present in autostart settings.

EXPECTED RESULT
Having /etc/xdg/autostart programs in autostart gui.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: Kubuntu 20.04
(available in About System)
KDE Plasma Version: 5.18.5
KDE Frameworks Version: 5.68.0
Qt Version: 5.12.8

ADDITIONAL INFORMATION
Related https://bugs.kde.org/show_bug.cgi?id=413053#c7
Comment 1 Justin Zobel 2020-10-23 03:55:39 UTC
Likely best to split it into two tabs under Autostart

User Startup (current layout)
Global Startup (all users) (from /etc/xdg/autostart)
Comment 2 Nate Graham 2020-10-26 15:51:15 UTC
Makes sense IMO.
Comment 3 Bug Janitor Service 2020-12-03 00:05:00 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/253
Comment 4 Bug Janitor Service 2021-12-18 05:03:20 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/1286
Comment 5 Nate Graham 2023-02-06 23:17:20 UTC
*** Bug 465271 has been marked as a duplicate of this bug. ***
Comment 6 thenujan 2023-07-21 05:19:52 UTC
(In reply to Justin Zobel from comment #1)
> Likely best to split it into two tabs under Autostart
> 
> User Startup (current layout)
> Global Startup (all users) (from /etc/xdg/autostart)

I think another kcm  for system autostart is better as the user autostart doesn't need apply buttons or enable/disable buttons but the system autostart does need them
Comment 7 Nate Graham 2023-09-18 18:18:06 UTC

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