The CachyOS update icon in the system tray cannot be removed

On my system it’s not selected but as I mentioned I didn’t see that option until after I uninstalled the package.

That’s exactly what happened to me. During installation, I accidentally forgot to deselect cachy update, and it couldn’t really be disabled in the Hello UI. Clearly a bug (Arch Updater is probably involved too). In the end, I uninstalled it anyway. There was no other solution, at least not permanently.

Hi there!

I can confirm that this is a bit annoying to see this update reminder poping each time we reboot… but I think I found how to “disable” it. Thanks to all of you here, and ChatGPT too :grin::

(in fact, I checked the System Monitor app to get the command which is launching this systray icon, and I could see this: /bin/bash /usr/bin/arch-update --tray so that’s why I got help from ChatGPT as I’m not totally a Linux User for now :sweat_smile: )

  • In your home directory there’s a folder named .config/autostart
  • In this folder, you may find a file named arch-update-tray.desktop

What I did is:

  • create a backup folder: mkdir ~/.config/autostart.bak
  • moved the file: mv ~/.config/autostart/arch-update-tray.desktop ~/.config/autostart.bak

I rebooted to check, and the icon has disappeared.

At last, if it reappears again after a pacman -Syu, I may recreate a file nano ~/.config/autostart/arch-update-tray.desktop and put this inside:

[Desktop Entry]
Type=Application
Name=Arch Update Tray
Exec=false
Hidden=true

This will disable the icon, and it may not be rewritten after an update. I’m not 100% sure about this fact, so I will keep an eye on it!

Hope this will help

Best Regards,

V.

Why not uninstall it if you do not want it?

(Though you may need to remove extraneous autostart or desktop files from home in that case as well.)

PS.

I must have missed some older responses.

systemctl disable arch-update.timer --now
systemctl disable arch-update-tray.service --now

And if really needed

systemctl mask arch-update-tray.service

Hi!

Because I’m using a standard user without sudo rights, and I still want to see this icon when I connect occasionaly to my admin account, so I don’t want to uninstall this package.

And note that these 2 commands did not work for me, as the icon was still appearing after each reboot:

  • systemctl disable arch-update.timer --now
  • systemctl disable arch-update.service --now

And I was not aware of the 3rd command you give: systemctl mask arch-update.service

So my solution was the best… for me btw! :slight_smile:

(I think I will install an app like bookstack somewhere, to keep all the tips from here and there! :laughing: )

Thanks for your reply :+1:

Best Regards,

V.

sudo rm /etc/systemd/user/graphical-session.target.wants/arch-update-tray.service

i just try this, and it works!