Can someone from the Manjaro team please look into this small pamac related bug?

Someone else in the bug report (link is at the beginning of this thread) commented with the same suggestion I had made here:

obsgamecapture

For me pressing refresh in Pamac updates section makes it so that with the Flatpak addon it makes the update icon show correctly so that there is no updates. Maybe there should be automatic refresh after installing the packages to resolve this issue or something. It seems that without the refresh it still thinks that there is updates for Flatpaks.

On another system that only has repo packages it works no problem. The icon gets out of red after updates are done.

1 Like

Kindly requesting if there’s any chance for reconsidering this solution? (since it won’t harm anyone and if it will “solve the bug” that people are facing)

Ok… final suggestion (I promise :crossed_fingers:t2:):

Can we at least have it as an option in the settings? :gear:

  • Automatically refresh updates after new software is installed :white_check_mark:

^ Something like this? What do you think?

  1. This would solve the issues several people have reported in https://github.com/manjaro/pamac/issues/512
  2. It wouldn’t delete :prohibited: the earth :globe_showing_americas: as Aragorn had suggested :person_shrugging:t2:
  3. Carl Sagan would be happy! :cowboy_hat_face: (hypothetically speaking)
  4. No one would be harmed by this change but many people would benefit from it :dove:

Any feedback would highly be appreciated. :folded_hands:t2: (Asking for your kind consideration or alternative suggestions)

As I mentioned above - the plasma tray icon is a separate application.

I suggest you create an issue the developer of the application.

My personal opinion - is that update nagging is a plague - and I always disable it.

sudo pacman -Rns pamac-tray-icon-plasma

If you really must know when the stable branch is updated - a much better notifier is matray which provides configurable notifications when the forum announcements is made.

Reading the forum announcement before any update is done will allow you to properly prepare yourself and your system for the update.

Perhaps @LordTermor will chime in on the possibility of changing the tray icon app to reflect when the system has executed an update.

2 Likes

Going out on a limb here because I don’t use the pamac GUI or notifier — I use octopi, which comes with its own octopi-notifier included — but if the pamac tray icon has a settings page where one can tweak the intervals between update checks, then one could in theory set the intervals to a shorter value, and then it shouldn’t take long after an update through pamac for the notifier to refresh its state and return to the green “there are no updates” icon.

It’s just an idea, mind you. But given that the pamac GUI and the update notifier are indeed two separate applications, having the update notifier immediately switch to green after updating would require an extensive modification to the code. The pamac GUI would have to communicate with the update notifier via dbus.

Maybe, in some future version of the pamac GUI, who knows? :man_shrugging:

3 Likes

Only for Manjaro KDE. Other DEs use /usr/bin/pamac-tray provided by pamac-gtk or pamac-gtk3

pamac-tray-icon-plasma has 2 files only

$ pamac list -f pamac-tray-icon-plasma
/etc/xdg/autostart/pamac-tray-plasma.desktop
/usr/bin/pamac-tray-plasma

It might be possible to quit and reload pamac-tray-plasma to force it to check updates, similar to reloading the built-in pamac-tray

pamac-tray & exit

Or kill the application and reload it if there is no GUI option to quit:

killall pamac-tray-plasma; pamac-tray-plasma & exit
1 Like

What I meant was that they are separate processes. Many people seem to think that it’s all one and the same process. :wink:

With the Octopi Notifier, you can right-click it and then you get a popup menu with options. :backhand_index_pointing_down:

2 Likes

Thanks for the reply and for the suggestion, much appreciated!

Just out of curiosity can Pamac not have it’s own in-built tray icon?

For some reason I didn’t think that you could safely use package managers other than Pamac and Pacman with Manjaro. But to be fair I do like the simplicity of Pamac and the images/description it provides a bit more than the interface of Octopi (which looks like it’s meant more for power users?)

Wait wut? I am le confused now. Is it a different process or a different application all together? Why does the KDE version only have a separate application for the tray icon? can’t it just use the /usr/bin/pamac-tray thingy as well?

At any rate I will submit a bug report using the link aarhus had suggested and hope that the developer takes notice…

octopi is a graphical front-end to pacman and to an AUR helper — you’l have to install one first, and then you can tell octopi to use that. The recommended one — and the only one in the repo right now — is yay.

Mind you, unlike pamac, octopi does not support FlatPaks or Snaps.

octopi is similar to Debian’s Synaptic, but — in my humble opinion — easier to use.

They are separate components, offered as part of the same package. One is the package manager GUI and the other is the notifier. It is the same for octopi.

The pamac GUI and its notifier are gtk-based. Plasma is qt-based. :wink:

2 Likes

Does anyone even use snaps? :person_shrugging:t2:

I think Flatpaks are awesome though :+1:t2: (yes, I am aware they have a “few” flaws/limitations as well but the general concept sounds good to me)

Why… why yes ofc… I completely forgot about that for a minute totally knew that… :innocent:

Thank you to everyone™ for explaining things. Friendly community as always. :heart_hands:t2:

And for those who are interested I created a bug report here as recommended by aarhus san: Pamac system tray icon incorrectly indicates that there are available updates even after updating everything (#10) · Issues · LordTermor / Pamac tray icon for plasma · GitLab

:backhand_index_pointing_up:t2: For the betterment of Manjaro kind… May you all live long and Linux! :vulcan_salute:t2:

2 Likes

3 Likes

For Manjaro KDE, the update notifier process /usr/bin/pamac-tray-plasma is provided by package pamac-tray-icon-plasma

Other Desktop Envirnments use /usr/bin/pamac-tray provided by pamac-gtk or pamac-gtk3

1 Like

I gave the following bash script to my partner, and added it to her task manager panel.

#!/bin/bash

killall -9 pamac-tray-plasma

sleep 2

pamac-tray-plasma &

If she launches this the pamac-tray-plasma icon refreshes.

3 Likes

Thank you for your help and for your suggestion tracy, I appreciate it. :blush:

But the issue here is that this should happen automatically, i.e. Pamac and Pamac-tray-plasma should be in sync with each other with respect to whether updates are available or not. It’s a small thing I know, but open source programs improve with tiny changes as well sometimes. Especially since newer users won’t understand why this discrepancy is happening (they might think there are available updates that they can’t see for example)

The simplest manual solution is to just click on the “refresh” button inside the Pamac window when there are no more updates but the tray icon still has a blue dot, after about 6-7 seconds the blue dot will disappear using this method.

But i’ll definitely save that bash script you shared in case the above method stops working in the future… :raising_hands:t2:

2 Likes

It seems like the Pamac tray icon for plasma project was abandoned, the last commit was from 1st September 2024 for the project. :frowning:

…and I went through all the trouble of filing the bug report twice. :pensive_face:

I guess this bug won’t be fixed sadly.

Thank you to everyone here for their advice and support. I appreciate it.

(sorry for replying again, this will be my last post on this topic, peace :dove:)

Or it’s stable, and doesn’t need much maintenance.

EDIT:
That which is being referred to as a bug is not a bug. pamac-tray-icon functions as designed. So arguably does (I would argue that it does) pamac-manager.

The issue is actually that no one thought it might cause angst, if users did not see the pamac-tray-icon change from Red (updates available) to White, (no updates) immediately or soon after the user has completed an update.

There is a fix for this, but it requires that pamac-tray-icon receive a message from pamac-manager, and possibly from pamac-cli. Whether this is really considered necessary, in the grand scheme of things, is up to the Manjaro devs.

I suspect there are more important fish to fry.

However this does not preclude the fact that pamac-tray-manager will not be informed in such a manner by pacman.

3 Likes

Hopefully they find the time (or even consider) frying this small fish :fish: since it would be a simple but nice QOL improvement for people who use KDE and keep the pamac-tray-icon visible all the time (This would make at least 5 people very happy - I counted :innocent:)

In any case I did my part and filed the bug (or “not a bug” as you called it) The rest is up to the devs and whether they consider it necessary “in the grand scheme of things” as you pointed out.

Cheers.

1 Like

As anecdotal as it may be, I’m finding no such issue with the tray icon when using pamac-cli.

That is all. Do with this little nugget whatever you may wish. :wink:

2 Likes

Is it a bird? :bird:?
Is it a plane? :small_airplane:??
No, it’s the sound of… THUNNNDERRR~!!! :high_voltage::smiling_face_with_sunglasses::love_you_gesture:t2:

Hmm… I wonder why that’s the case but it’s still an interesting tidbit of information… Thank you for sharing this kind sir. *Takes off imaginary hat and bows respectfully*

1 Like

Another interesting tidbit:

If one looks closely at my avatar, it’s from a photograph taken on the Moon – there’s no thunder on the Moon, you know; it’s almost like being in Space;

and we all know that...


or hear thunderous noises. :alien:

3 Likes