Bug 432439

Summary: Isn't possible to disable Discover in System Tray
Product: [Plasma] plasmashell Reporter: Piotr Mierzwinski <piotr.mierzwinski>
Component: System TrayAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal CC: arojas, kde, materka, piotr.mierzwinski
Priority: NOR    
Version: 5.20.5   
Target Milestone: 1.0   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:

Description Piotr Mierzwinski 2021-02-02 23:22:59 UTC
SUMMARY
I'm not sure if this is issue my distribution or function built in KDE/Plasma.

In System Tray Settings isn't available option "disable" for entry "Updates" (under this name hides Discover), so every time of Plasma starts this application also starts. In my Arch based distribution I don't use it only pamac, so I don't want to have duplicated application to update system.

Anyway I have this application set in System Tray as "Always hidden", so I don't see its icon in System Tray in case of update, but I think application still starts if updates with Plasma when updates are available.

STEPS TO REPRODUCE
1. Start Plasma with installed Discover and package manger your distribution
2. Set "Updates" entry in System Tray in "Always hidden"
3. 

OBSERVED RESULT
If updates are available then will be shown unwanted notification coming from Discover

EXPECTED RESULT
Possibility to disable "Discover" in System Tray

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: YES
(available in About System)
KDE Plasma Version: 5.20.5
KDE Frameworks Version: 5.78.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION
In reddit appeared related thread:
https://www.reddit.com/r/kde/comments/lavors/getting_rid_of_discover_keeps_popping_back_up/
Comment 1 David Edmundson 2021-02-02 23:43:42 UTC
I have a recollection that we had this when SNIs didn't have a consistent unique identifier between boots.

I'm not sure hiding the icon is really the best solution here, as we would still have it running
Comment 2 Piotr Mierzwinski 2021-02-02 23:54:57 UTC
(In reply to David Edmundson from comment #1)
> I have a recollection that we had this when SNIs didn't have a consistent
> unique identifier between boots.
> 
> I'm not sure hiding the icon is really the best solution here, as we would
> still have it running

Yes. That's I just removed file /etc/xdg/autostart/x org.kde.discover.notifier.desktop just after update of Plasma, if I remembered. Nevertheless this solution doesn't help fully, because file appears after next update of Plasma., so also update it doesn't bring long effect.
In pointed reddit thread there are couple suggestions how to get rid off Discover from System Tray. And the best (for Arch based distributions) is removing file and forcing by package manager to don't extract it  file from proper package in moment of update KDE/Plasma.

This is only work around.
Comment 3 Antonio Rojas 2021-02-03 08:09:47 UTC

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