Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] Make Update Indicator compatible with Flatpaks, Snaps etc. #182

Open
kuba3351 opened this issue Feb 20, 2023 · 5 comments

Comments

@kuba3351
Copy link

Is your feature request related to a problem? Please describe.
It is common practice to install apps via Flatpaks or Snaps instead of using an Package Manager. It is good because the whole application is packaged with all dependencies, and user does not have to wait for packages to package a new version of the app and does not require distro upgrade to install new version of the apps. It also provider a per-app permission control.

Describe the solution you'd like
Nwg-shell update indicator should check also for Flatpaks and Snaps updates if installed. This feature is Distribution agnostic because it will not rely on distro package manager. Also, Nwg-shell tries to provide a DE-like user experience and every popular DE does that.

@nwg-piotr
Copy link
Owner

LOL, I (personally) neither use nor support flatpaks & snaps. 🤣 This could be done with your help only: if you let me know how to check & update from these sources. Sorry, but I'm still working on something else, so I'd like to put a part of the job on you.

@kuba3351
Copy link
Author

LOL, I (personally) neither use nor support flatpaks & snaps. rofl

That's because you are an Arch User. But if you install Ubuntu, you will have installed a lot of Snaps (like Firefox for example) or if you install Fedora Silverblue you will have basic GNOME Apps as Flatpaks.

I can try to help with implement it, but my skills in Python are poor so, It can take much time :)

@nwg-piotr
Copy link
Owner

my skills in Python are poor so, It can take much time :)

Just tell me what to do in simple bash. I'll take care of python.

@kuba3351
Copy link
Author

So, for flatpak the bash command is: flatpak update | grep -P '\tu\t' | wc -l

It will show the number of updates available. To install updates just execute flatpak update -y.

I don't know how to do it for snaps as I am using Fedora that is flatpak friendly out of the box.

@nwg-piotr
Copy link
Owner

OK, let it wait some time. I need to think about how to do it right.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants