SourceDock – I built an open-source Linux package manager with GTK 3

Hi everyone!

I’ve been working on SourceDock, an open-source desktop application for managing Linux software.

I started developing it on Zorin OS because I wanted a single place to manage installed applications, updates, and packages from APT, Flatpak, Snap and local .deb files.

It’s built with Python and GTK 3, and I’ve been focusing on keeping the interface responsive, even when different package sources take longer to load.

I’ve released Debian packages and set up automated tests on Ubuntu 22.04 and 24.04. I’m still looking for feedback on usability, bugs and compatibility with other distributions.

The source code, screenshots and installation instructions are available here:

It’s licensed under GPL-3.0, and contributions are welcome.

Thanks for taking a look!

6 Likes

Welcome to the community @aliafacan, thanks for sharing! :handshake:

2 Likes

Thank you! Happy to be here :blush: Looking forward to sharing more about SourceDock and getting feedback from the community!

3 Likes

Sounds quite interesting! Welcome to our forum!

3 Likes

Thanks, Brian! Really appreciate the warm welcome! :blush:

I’m still working on improving SourceDock, so any feedback or suggestions are always welcome.

4 Likes

@aliafacan Welcome to our humble little group. I looked over your project and it looks fantastic. It will be of great value to those that use Snap and FlatPacks. I only use APT so I wouldn’t need it, but I do like the idea a lot.
I do have a couple of questions though, does your GNOME plug in work with MATE desktop also? And you show Debian 12 still needs testing, what about Debian 13 and Debian 14?
I would be willing to spin up VMs for those builds and test if you’d like.

2 Likes

Hi @tmick,

Thank you for the warm welcome and for taking the time to look through SourceDock! I really appreciate your feedback and your offer to help with testing.

First, I’d like to clarify something I probably didn’t explain well enough in my original post. SourceDock isn’t just for Snap and Flatpak. APT is actually its primary native package management backend.

Even if you exclusively use APT, you can use SourceDock to search repositories, install and remove packages, manage system updates, and browse installed applications and system packages. Flatpak and Snap are completely optional, so neither needs to be installed.

Regarding your questions:

  1. MATE desktop compatibility

The main SourceDock application is built with Python and GTK 3, so I expect it to work on MATE as well. However, I haven’t had the opportunity to test it on MATE yet.

The GNOME Shell extension is a separate, optional component that adds SourceDock actions to application context menus. It currently relies on GNOME Shell APIs, so that particular integration won’t work on MATE.

I’d certainly be interested in exploring MATE-specific integration in the future, though!

  1. Debian 12, 13, and 14

Debian 12 is currently marked as compatible based on its dependencies, but I haven’t verified it through actual installation and package management tests on Debian itself.

Debian 13 (Trixie) and Debian 14 (Forky/testing) haven’t been tested yet either. I don’t want to officially claim compatibility without proper verification.

  1. Your testing offer

I’d genuinely appreciate it if you could spin up VMs for Debian 13 and 14, especially with MATE!

Testing whether SourceDock installs correctly, launches without issues, and handles basic APT operations would already be incredibly helpful. If you’re comfortable testing package installation, updates, and removal inside a disposable VM, that would be even better.

Feel free to share any findings here or open an issue on GitHub. Even small compatibility problems or suggestions would be valuable.

I’m developing SourceDock primarily on Zorin OS, so getting feedback from people using different Debian versions and desktop environments is exactly what I need to make the project more reliable.

Thanks again for offering to help. I really appreciate it!

2 Likes

I opened a bug, IT didn’t like my attempt to install an app.

2 Likes

Hi Tim,

Thanks a lot for taking the time to test SourceDock and report the issue!

I went through your bug report and managed to reproduce the GTK recursion problem. I also found some areas where APT/sudo authentication handling needed improvement, especially for Debian setups.

I’ve just released SourceDock v1.4.7 with fixes for these issues and additional regression tests.

You can find it here:

If you get a chance, I’d really appreciate it if you could try the new version on your Debian 13/MATE VM and let me know how it goes.

This is exactly the kind of feedback I was hoping to get by sharing SourceDock with the community. I’m developing it on Zorin OS, so testing on other distributions and desktop environments is incredibly valuable.

Thanks again for your help, Tim. I really appreciate it!

3 Likes

You’ve fixed it for Debian Trixie :partying_face: The only thing is the search doesn’t work, I was unable to type in the textbox (I tried searching for Notepadqq) I also filed a feature request for the option to use root as a login instead of sudo, some of us doesn’t use sudo :nerd_face:
EDIT:
I tested it on Debian Forky and it’s fixed there also. Same issue with search and I noticed when installing a large program, like ERIC the progress bar gets stuck at 1% even after the installation completes. On the plus side, the program installed correctly :smiling_face_with_three_hearts:

4 Likes

Hey @tmick!

Thanks again for all your testing and feedback! Your reports from Debian Trixie and Forky have been really helpful.

I’ve just released SourceDock v1.4.8, which includes fixes for the search field and the installation progress bar you mentioned. I’ve also improved password handling, added better scroll position preservation when refreshing the installed applications list, and made some improvements to safe operation cancellation.

Regarding your root authentication suggestion, I’m still looking into a secure way to support systems that don’t use sudo. I haven’t added root-password login yet, since I want to avoid running the entire GUI with root privileges.

Here’s the new release:

If you get a chance to try it on Trixie or Forky with MATE, I’d love to know whether searching for Notepadqq works now and whether the progress bar behaves better when installing something like ERIC.

Really appreciate your help with making SourceDock better!

4 Likes

Hey @aliafacan, welcome! This is a really cool project, and honestly the way you’ve been turning around Tim’s bug reports in a day or two is awesome to see.

One thought on the root login request, since you said you don’t want to run the whole GUI as root (which I think is the right call). Have you looked at going through polkit with pkexec instead of sudo? Keep the GUI running as the normal user and move the actual apt work into a small helper script with its own polkit action. When something needs admin rights, the GUI calls the helper through pkexec, and polkit handles the password prompt. On a system where nobody is in the sudo group, polkit’s admin login is root by default, so it asks for the root password. That gives Tim the root login he asked for, without running the whole app as root and without SourceDock ever touching a password itself. It’s pretty much how GNOME Software and Synaptic handle it.

4 Likes

Hey @Itachixkurosaki, thanks for the warm welcome and the thoughtful suggestion!

I completely agree that Polkit is a better long-term approach than running the entire GUI as root.

I’ve actually been exploring this already. SourceDock currently has a small Polkit proof of concept in the repository, including a custom policy, a restricted helper for package operations, and some security tests.

I haven’t included it in the released package yet because I want to properly review the authorization boundaries and test it across different Debian configurations before enabling it.

Your point about supporting systems without sudo is exactly why I’m interested in this approach. I’ll also need to verify how Polkit selects the administrator account on those systems, particularly when root-password authentication is preferred.

I’ll keep working on this for a future release. Really appreciate you taking the time to share the suggestion and the encouragement!

If you’re interested, the current prototype is under packaging/polkit/ in the repository.

4 Likes

So search still needs refinement(?), it wouldn’t find notepadqq but it did find other programs I didn’t have installed (Eric, Evolution). Also checking for updates fails, on my Debian Trixie the updates section showed no updates but there was six that showed via apt update. I didn’t think to check the updates function when I was on my Forky VM, but the source.list configuration is the same. My sources.list looks like:

# Modernized from /etc/apt/sources.list
Types: deb deb-src
URIs: http://deb.debian.org/debian/
Suites: forky
Components: main contrib non-free non-free-firmware
Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg

# Modernized from /etc/apt/sources.list
Types: deb deb-src
URIs: http://security.debian.org/debian-security/
Suites: forky-security
Components: main contrib non-free non-free-firmware
Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg

# Modernized from /etc/apt/sources.list
Types: deb deb-src
URIs: http://deb.debian.org/debian/
Suites: forky-updates
Components: main contrib non-free non-free-firmware
Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg

I also have WineHQ, VPN and STEAM in my sources.list.d folder, maybe that’s the difference?

3 Likes

Hey Tim! I think you’re officially SourceDock’s unofficial Debian QA engineer at this point! :grinning_face_with_smiling_eyes:

Seriously though, thank you for all the testing and detailed feedback. You’ve been helping me catch issues I wouldn’t have noticed on my own system.

I’ve just released SourceDock v1.4.9, with fixes specifically addressing the issues you reported.

  • Missing updates: Reworked APT update detection to include system packages, libraries, and packages from third-party repositories. Failed update checks should no longer appear as “no updates available”.

  • Notepadqq search: Added an exact package lookup so applications aren’t missed when the regular APT search doesn’t return them.

  • Installation dates: Fixed cases where updating an application could incorrectly change its original installation date.

Here’s the new release:

If you get a chance to test it again on Trixie or Forky, I’d especially love to know whether Notepadqq appears in search and whether SourceDock now detects those six updates correctly.

I’m also keeping your GitHub feature request open because secure root authentication without sudo is still on the roadmap. I’m working toward a Polkit-based solution for that.

Thanks again, Tim! At this rate, I might have to add you to the credits! :grinning_face_with_smiling_eyes:

5 Likes

I don’t know if this is of any help, but Virtual Machine Manager prompts for root privileges (even if sudo is allowed for the user) when you launch it. It then allows the normal user to run the application. Maybe it’s source would be of help?

3 Likes

Okay, I just finished testing the new release on both Trixie & Forky. The updates are fixed, both show the correct amount of updates, but when I tried to install the 5 updates on Forky the sudo command kept timing out :face_with_spiral_eyes: I had to do them one at a time, okay if there’s a few updates but if there’s more than 10 I’d use apt.
I also have a question, is there a way to make the details screen display by default when installing a program? I know you can in Synaptic.
The search feature works but not fully, I can search for wireshark and it finds it but not wireshark-doc, it actually didn’t find any of the documentation programs I searched for.

4 Likes

Hey Tim! :grinning_face_with_smiling_eyes:

At this point, I think you’ve officially earned the title of SourceDock’s honorary Debian QA engineer!

I’ve just released SourceDock v1.4.10, and this one comes with quite a few improvements!

First, I’ve addressed the issues you reported:

  • Bulk updates: Selected APT packages are now grouped into a single transaction instead of being updated individually. This should help with the repeated sudo authentication and timeout problems you encountered on Forky.

  • Technical package search: Packages like wireshark-doc can now be found by their exact names. I’ve also added an option to show technical packages in general search results.

  • Installation details: You can now enable “Show operation details by default” in Settings, so the installation log opens automatically.

I’ve also added some bigger features, including switching an application between APT, Flatpak and Snap sources, safer portable application replacement, faster startup, and better handling of background package operations.

Release: Release SourceDock v1.4.10 · aliafacan/SourceDock · GitHub

One thing I’d really appreciate your help testing is the new bulk-update workflow on Forky, especially with five or more updates selected. The automated tests are passing, but I’d still like to verify the behavior on real Debian installations.

And thanks again for your Virtual Machine Manager suggestion! I’m continuing to explore Polkit-based authentication for systems without sudo. That part isn’t ready for release yet.

Really appreciate all the time you’ve spent testing SourceDock. Your feedback has genuinely helped shape the project!

Thanks again, Tim!

4 Likes

“At this point, I think you’ve officially earned the title of SourceDock’s honorary Debian QA engineer!”

YAY ME!! :partying_face:

I installed 1.4.10 and it does have most of the fixes, but the update when starting doesn’t work.

I have to run apt update and then go into the app and the correct amount shows. This is on Debian testing, I can’t vouch for stable (Trixie) scince there wasn’t any updates for it yet. :face_with_spiral_eyes:

1 Like

Cheers to this!

That makes sense.

2 Likes