Prevent Autostart of Discover? [Solved]
Prevent Autostart of Discover? [Solved]
Hi,
On test bench #7 I have KDE installed alongside Enlightenment in AV Linux 23.2. I installed KDE through MXPI Popular Apps and everything is working well so far... a huge sombrero off to the MX KDE developers! I'm completely new to Plasma after swearing I would never look at KDE again after an experiment with early KDE4 hosed my system and wasted an entire (wife and kid-free) weekend many years ago... I've noticed KDE gives some duplicate Apps (ie KWrite and Kate) and I also have Discover and MXPI both handling updates in the systray and I really only want/need MXPI to use on both the KDE and Enlightenment sides but I don't see in the "Background Services" settings any way to disable Discover from autostart.. I haven't tried uninstalling Discover but I'd guess it's going to want to rip out the plasma-desktop-standard metapackage if I do...
Can Discover be disabled from startup or is it baked into the cake?
On test bench #7 I have KDE installed alongside Enlightenment in AV Linux 23.2. I installed KDE through MXPI Popular Apps and everything is working well so far... a huge sombrero off to the MX KDE developers! I'm completely new to Plasma after swearing I would never look at KDE again after an experiment with early KDE4 hosed my system and wasted an entire (wife and kid-free) weekend many years ago... I've noticed KDE gives some duplicate Apps (ie KWrite and Kate) and I also have Discover and MXPI both handling updates in the systray and I really only want/need MXPI to use on both the KDE and Enlightenment sides but I don't see in the "Background Services" settings any way to disable Discover from autostart.. I haven't tried uninstalling Discover but I'd guess it's going to want to rip out the plasma-desktop-standard metapackage if I do...
Can Discover be disabled from startup or is it baked into the cake?
Re: Prevent Autostart of Discover?
Maybe of help:AVLinux wrote: Mon Aug 12, 2024 1:34 pm Hi,
On test bench #7 I have KDE installed alongside Enlightenment in AV Linux 23.2. I installed KDE through MXPI Popular Apps and everything is working well so far... a huge sombrero off to the MX KDE developers! I'm completely new to Plasma after swearing I would never look at KDE again after an experiment with early KDE4 hosed my system and wasted an entire (wife and kid-free) weekend many years ago... I've noticed KDE gives some duplicate Apps (ie KWrite and Kate) and I also have Discover and MXPI both handling updates in the systray and I really only want/need MXPI to use on both the KDE and Enlightenment sides but I don't see in the "Background Services" settings any way to disable Discover from autostart.. I haven't tried uninstalling Discover but I'd guess it's going to want to rip out the plasma-desktop-standard metapackage if I do...
Can Discover be disabled from startup or is it baked into the cake?
Code: Select all
sed '$aHidden=true' /etc/xdg/autostart/org.kde.discover.notifier.desktop | tee ~/.config/autostart/org.kde.discover.notifier.desktop
Re: Prevent Autostart of Discover?
Thanks @fehlix
I did run the command and the launcher was edited and copied to my User autostart folder. On the next cold boot Discover still starts in the system tray. What have I missed?
I did run the command and the launcher was edited and copied to my User autostart folder. On the next cold boot Discover still starts in the system tray. What have I missed?
Re: Prevent Autostart of Discover?
Maybe reduce to this snipplet, but keep the desktop file nameAVLinux wrote: Mon Aug 12, 2024 4:52 pm Thanks @fehlix
I did run the command and the launcher was edited and copied to my User autostart folder. On the next cold boot Discover still starts in the system tray. What have I missed?
cat ~/.config/autostart/org.kde.discover.notifier.desktop
Code: Select all
[Desktop Entry]
Name=Discover
Exec=/usr/lib/x86_64-linux-gnu/libexec/DiscoverNotifier
Icon=system-software-update
Type=Application
NoDisplay=true
OnlyShowIn=KDE
Hidden=true
Re: Prevent Autostart of Discover?
Actually this is one of the lines in the original launcher:
I don't know much about KDE Plasma but this looks like it would override other settings. It appears that disabling Discover is not really what Plasma 'wants' you to do in any standard graphical way. I'm not sure if I want to achieve this with brute force, I was assuming I had just missed some obvious setting since I'm so new to Plasma..
*EDIT - The original solution seems to be working now...? For some reason I had to cold boot twice, I've noticed this with other settings that KDE Plasma often takes a few restarts to fully reflect changes, must be a quirk of this version?
Code: Select all
X-KDE-autostart-phase=1
*EDIT - The original solution seems to be working now...? For some reason I had to cold boot twice, I've noticed this with other settings that KDE Plasma often takes a few restarts to fully reflect changes, must be a quirk of this version?
Last edited by AVLinux on Mon Aug 12, 2024 5:57 pm, edited 1 time in total.
- dolphin_oracle
- Developer
- Posts: 22671
- Joined: Sun Dec 16, 2007 12:17 pm
Re: Prevent Autostart of Discover?
Hidden=true did it for me.
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.
Live system help document: https://mxlinux.org/wiki/help-antix-live-usb-system/
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.
Live system help document: https://mxlinux.org/wiki/help-antix-live-usb-system/
Re: Prevent Autostart of Discover?
You spotted rightly, there is no obviuos way to disable discover autostart.AVLinux wrote: Mon Aug 12, 2024 5:44 pm Actually this is one of the lines in the original launcher:
I don't know much about KDE Plasma but this looks like it would override other settings. It appears that disabling Discover is not really what Plasma 'wants' you to do in any standard graphical way. I'm not sure if I want to achieve this with brute force, I was assuming I had just missed some obvious setting since I'm so new to Plasma..Code: Select all
X-KDE-autostart-phase=1
If they would have NoDisplay line removed or set to false, you would
find an entry within autostart. But you can only remove the entry, and with removed entry
it will no longer show to allow to enabled again. So they may have missed
to implement to toggle on/off an autostart entry.
And the system wide setting takes over to autostart.
Now you can either do the skel-way or commandline way,
or enhance Kde-Plasma by writing an autostart-toggle GUI for discover.
How sounds that?
Re: Prevent Autostart of Discover?
This may not be exactly what you want but as I indicated in another topic:
viewtopic.php?p=786619#p786619
You May still get a notification but the Discover icon will not show in System tray. MXPI will show an update is available and can be used to install it (them).
This way I can just ignore Discover.
viewtopic.php?p=786619#p786619
You May still get a notification but the Discover icon will not show in System tray. MXPI will show an update is available and can be used to install it (them).
This way I can just ignore Discover.
Forum Rules
Guide - How to Ask for Help
richb Administrator
System: MX 23 KDE
AMD A8 7600 FM2+ CPU R7 Graphics, 16 GIG Mem. Three Samsung EVO SSD's 250 GB
Guide - How to Ask for Help
richb Administrator
System: MX 23 KDE
AMD A8 7600 FM2+ CPU R7 Graphics, 16 GIG Mem. Three Samsung EVO SSD's 250 GB
Re: Prevent Autostart of Discover?
richb wrote: Mon Aug 12, 2024 6:33 pm This may not be exactly what you want but as I indicated in another topic:
viewtopic.php?p=786619#p786619
You May still get a notification but the Discover icon will not show in System tray. MXPI will show an update is available and can be used to install it (them).
This way I can just ignore Discover.
Link gives me an error. "You are not authorised to read this forum."
This is my Fluxbox . There are many others like it, but this one is mine. My Fluxbox is my best friend. It is my life.
I must master it as I must master my life. Without me, my Fluxbox is useless. Without my Fluxbox, I am useless.
I must master it as I must master my life. Without me, my Fluxbox is useless. Without my Fluxbox, I am useless.
Re: Prevent Autostart of Discover?
@richb
Yes, I got the same error as @siamhie
Another wrinkle, in further Google adventures I also discovered that Plasma allows you to edit the Systray Entries, I'm not sure if this is an effective solution or not but it is another method of controlling what appears in the Systray:
Yes, I got the same error as @siamhie
Another wrinkle, in further Google adventures I also discovered that Plasma allows you to edit the Systray Entries, I'm not sure if this is an effective solution or not but it is another method of controlling what appears in the Systray:
You do not have the required permissions to view the files attached to this post.
Last edited by AVLinux on Mon Aug 12, 2024 7:15 pm, edited 1 time in total.