This is quite annoying, especially for non-pro users who are unable to install software downloaded from the internet. I don’t remember this being the case with 19.04.
Is there a way to change this via a bash script, the default app to open certain extensions?
For .deb it should be Software… for .txt, .conf, .sh etc I want it to be Pluma.
Looking for a way to do it via bash script so I can do it for all devices easily.
User’s side, it’s stored in ~/.config/mimeapps.list
I also thought by default .deb packages were supposed to launch « software » but you are right, it’s archive-manager on UBudgie 20.04
You may restore that association by right-clicking on a .deb file, properties, « open with » tab.
There « software installer » is proposed as recommended.
Well we could argue about that : non-pro users should never install software downloaded from internet while using a Linux distribution. That’s what official repositories from such distributions are for.
Non pro-users in need of new software should use :
⋅ first, any dedicated app-store provided by their distribution ( software, discover… )
⋅ or, package manager such as synaptic, gnome-package-kit, muon…
Then when they become geek, they might look for :
⋅ ppa ( for Ubuntu and its derivatives )
⋅ things downloaded here and there over internet at their own risks.
I wouldn’t advice snap, flatpak, or AppImage for non-pro users, as they still require too much manual attentions for viable and comfortable settings.
( I use all of them and they don’t ease life - only advantage is version freshness ).
Well the first question remains open : why clicking on a .deb does not launch an installer by default ? Or a package manager, if installed ? Or the current app-store-thing ?
Is this intended to prevent people from manually installing .deb packages ?
Well… half a bug : a .deb is an archive so it may be opened with fileroller. The bug is why fileroller first, and installer only recommended as a secondary option.
well, following along the note from @Coeur-Noir adding the type manually totally does the trick, worked right away- just do a: echo "application/x-debian-package=gnome-software-local-file.desktop;" >> ~/.config/mimeapps.list