New salix-update-notifier, please test (and translate)

User avatar
gapan
Salix Wizard
Posts: 6391
Joined: 6. Jun 2009, 17:40

New salix-update-notifier, please test (and translate)

Post by gapan »

Hi all!

So, I made some considerable improvements to salix-update-notifier. It now includes a separate tool, salix-update-manager, which is used to update all packages. Previously we used to run gslapt --upgrade for the same purpose, which would launch gslapt and you had to do all updates with that.

You can even run salix-update-manager separately (with sudo). Not sure if we should also provide a menu entry for it though.

While I think the new version is already more straightforward than that, the major improvement is that now, it also includes support for flatpak. So, if you have any flatpaks installed, it will also check and prompt to update those too! It will also clean up any unused flatpak runtimes after all updates are done.

Several other things have changed, the tray icon part is now written in C for example (because GTK3 python support has issues).

You can find packages for both i586 and x86_64 here:
https://people.salixos.org/gapan/salix-update-notifier/

Of course flatpak is not available in i586, so flatpak support does not matter there. But it should work OK otherwise, the flatpak part is used only if flatpak is installed.

NOTE: If you install these, you will need to add salix-update-notifer to the EXCLUDE line in /etc/slapt-get/slapt-getrc, otherwise it will update itself back to the version that is currently in the repos.

You will also need to at least log out/log back in for the new version to run and take effect.

Since there is a lot of new functionality, there are several new strings to be translated. You can go to the salix-update-notifier resource at transifex to add missing translations:
https://app.transifex.com/gapan/salix/s ... -notifier/

Thanks everyone in advance for any reports and translations!
Image
Image
User avatar
laprjns
Salix Warrior
Posts: 1127
Joined: 28. Aug 2009, 01:30
Location: Connecticut USA

Re: New salix-update-notifier, please test (and translate)

Post by laprjns »

gapan wrote: 13. Oct 2025, 17:42 ...the major improvement is that now, it also includes support for flatpak. So, if you have any flatpaks installed, it will also check and prompt to update those too! It will also clean up any unused flatpak runtimes after all updates are done.
Yes!. I figured that it would be just a matter of time before you incorporated a flatpack updater.

Image Image


Thanks.
“The past was erased, the erasure was forgotten, the lie became the truth.”
― George Orwell, 1984
User avatar
gapan
Salix Wizard
Posts: 6391
Joined: 6. Jun 2009, 17:40

Re: New salix-update-notifier, please test (and translate)

Post by gapan »

Uh, so the list was empty, but you still had 14 updates? That's weird! Maybe it was only runtimes and no apps? I'll have to look into that.
Image
Image
User avatar
laprjns
Salix Warrior
Posts: 1127
Joined: 28. Aug 2009, 01:30
Location: Connecticut USA

Re: New salix-update-notifier, please test (and translate)

Post by laprjns »

Yeah, all the updates were runtimes, I checked with flatpak update prior to running the new salix-update notifier.

Code: Select all

        ID                                    Branch      Op Remote  Download
 1.     org.gnome.Platform.Locale             47          u  flathub < 394.4 MB
 2.     org.gnome.Platform                    47          u  flathub < 400.6 MB
 3.     org.gnome.Platform.Locale             48          u  flathub < 394.5 MB
 4.     org.gnome.Platform                    48          u  flathub < 404.8 MB
 5.     org.kde.Platform.Locale               6.9         u  flathub < 409.6 MB
 6.     org.kde.Platform                      6.9         u  flathub < 392.0 MB
 7.     org.freedesktop.Platform.Compat.i386  23.08       r
 8.     org.freedesktop.Platform.GL32.default 23.08       r
 9.     org.freedesktop.Platform.GL32.default 23.08-extra r
10.     org.freedesktop.Platform.Locale       23.08       r
11.     org.freedesktop.Platform.ffmpeg-full  23.08       r
12.     org.freedesktop.Platform              23.08       r

Proceed with these changes to the system installation? [Y/n]: n
“The past was erased, the erasure was forgotten, the lie became the truth.”
― George Orwell, 1984
User avatar
ibka
Posts: 161
Joined: 12. Sep 2010, 13:14
Location: Sweden
Contact:

Re: New salix-update-notifier, please test (and translate)

Post by ibka »

Hi gapan

I have just updated the Swedish translation.

I have tested the "Salix Update Manager"

This is what "flatpak update" shows

Code: Select all

        ID                                                     Gren                   Åtg             Fjärrförråd             Hämta
 1.     com.xnview.XnConvert.Locale                            stable                 u               flathub                 < 135,3 kB
 2.     com.xnview.XnRetro.Locale                              stable                 u               flathub                 < 709,5 kB
 3.     com.xnview.XnSketch.Locale                             stable                 u               flathub                 < 135,3 kB
 4.     com.xnview.XnViewMP.Locale                             stable                 u               flathub                 < 135,3 kB
 5.     io.qt.QtCreator.Locale                                 stable                 u               flathub                  < 92,5 MB
 6.     io.qt.qtdesignstudio.Locale                            stable                 u               flathub                  < 92,4 MB
 7.     org.darktable.Darktable.Locale                         stable                 u               flathub                   < 8,9 MB
 8.     org.freedesktop.Platform.Compat.i386                   24.08                  u               flathub                 < 144,4 MB
 9.     org.freedesktop.Platform.GL.default                    24.08                  u               flathub                 < 145,4 MB
10.     org.freedesktop.Platform.GL.default                    24.08extra             u               flathub                 < 145,4 MB
11.     org.freedesktop.Platform.GL32.default                  24.08                  u               flathub                 < 154,7 MB
12.     org.freedesktop.Platform.Locale                        24.08                  u               flathub                 < 387,9 MB
13.     io.freetubeapp.FreeTube                                stable                 u               flathub                 < 114,3 MB
14.     com.xnview.XnViewMP                                    stable                 u               flathub                  < 72,5 MB
15.     org.freedesktop.Platform.ffmpeg-full                   24.08                  u               flathub                  < 12,3 MB
16.     org.freedesktop.Platform.ffmpeg_full.i386              24.08                  u               flathub                  < 12,5 MB
17.     org.freedesktop.Platform                               24.08                  u               flathub                 < 267,4 MB
18.     com.xnview.XnSketch                                    stable                 u               flathub                  < 43,5 MB
19.     com.xnview.XnRetro                                     stable                 u               flathub                  < 47,4 MB
20.     com.xnview.XnConvert                                   stable                 u               flathub                  < 52,7 MB
21.     org.freedesktop.Sdk.Locale                             24.08                  u               flathub                 < 393,2 MB
22.     org.freedesktop.Sdk                                    24.08                  u               flathub                 < 630,5 MB
23.     org.thonny.Thonny                                      stable                 u               flathub                  < 26,7 MB
24.     org.gimp.GIMP.Plugin.GMic                              3                      u               flathub                  < 19,2 MB
25.     org.darktable.Darktable                                stable                 u               flathub                  < 70,0 MB
26.     com.bambulab.BambuStudio                               stable                 u               flathub                 < 307,4 MB
27.     org.kde.Platform.Locale                                6.9                    u               flathub                 < 409,6 MB
28.     org.kde.Platform                                       6.9                    u               flathub                 < 392,0 MB
29.     org.torproject.torbrowser-launcher                     stable                 u               flathub                  < 63,5 MB
30.     org.kde.Sdk.Locale                                     6.9                    u               flathub                 < 415,0 MB
31.     org.kde.Sdk                                            6.9                    u               flathub                   < 1,2 GB
32.     io.qt.qtdesignstudio                                   stable                 u               flathub                 < 256,9 MB
33.     io.qt.QtCreator                                        stable                 u               flathub                 < 321,8 MB
This is what "Salix Update Manager" shows
Image

Thanks
Image
User avatar
gapan
Salix Wizard
Posts: 6391
Joined: 6. Jun 2009, 17:40

Re: New salix-update-notifier, please test (and translate)

Post by gapan »

Thank you!

My original idea was to only list flatpak apps in the list. But then I counted all flatpaks, including runtimes, for the summary text below that. I'm refactoring that to properly display all flatpaks right now, will post new packages soon.

Oh, also, the 33 vs 35 discrepancy you see is because of flatpak itself. I bet that if you run:

Code: Select all

sudo flatpak update
you will also see 35 there.

I will also have to provide a generic flatpak icon I guess.
Image
Image
User avatar
laprjns
Salix Warrior
Posts: 1127
Joined: 28. Aug 2009, 01:30
Location: Connecticut USA

Re: New salix-update-notifier, please test (and translate)

Post by laprjns »

Got an update notification this morning. One flatpak app update and four runtime updates.
Image
“The past was erased, the erasure was forgotten, the lie became the truth.”
― George Orwell, 1984
User avatar
gapan
Salix Wizard
Posts: 6391
Joined: 6. Jun 2009, 17:40

Re: New salix-update-notifier, please test (and translate)

Post by gapan »

OK, new packages are up at the same link. The flatpak list should be complete now. There should also be a separate message at the bottom for new flatpak runtimes installed as dependencies.

I also added a menu entry, so you can launch salix-update-manager from the menu too now.

I haven't gotten to adding an icon yet, so the icon will only show if you use the Qogir theme (or some other iconpack that provides the flatpak-software icon).

Oh, and I also added a couple of new strings that need to be translated.
Image
Image
User avatar
laprjns
Salix Warrior
Posts: 1127
Joined: 28. Aug 2009, 01:30
Location: Connecticut USA

Re: New salix-update-notifier, please test (and translate)

Post by laprjns »

Running the new salix-upgrade-manager when there are no updates available results in the following.

Image

Clicking on the Proceed button results in the following.

Image
“The past was erased, the erasure was forgotten, the lie became the truth.”
― George Orwell, 1984
User avatar
gapan
Salix Wizard
Posts: 6391
Joined: 6. Jun 2009, 17:40

Re: New salix-update-notifier, please test (and translate)

Post by gapan »

This is weird. I can't reproduce that. I get a message that "No updates are available", as it should be.

Can you run

Code: Select all

sudo flatpak update
and tell me what the output is? Don't press y to continue if there is something.
Image
Image
Post Reply