Without Ubuntu Software Center in Lubuntu I was unable to edit opening apt links in any program in Firefox (see this question). After installing Ubuntu Software Center, that problem is solved, but could I use another program instead of Ubuntu Software Center for the same purpose? I find it too heavy, and to install I prefer the Terminal, gdebi, Lubuntu Software Center or the Synaptic.
(Now that I have the apt option in Firefox/Preferences/Applications, I try to change Ubuntu Software Center to Lubuntu Software Center but this does not change the option.)
Best Answer
But a very simple graphical
apt-get
-type installer called AptURL does.sudo apt-get install apturl
The other option is to use a custom script such as green7's answer
But to be browser-independent, what you really need is:
.desktop
file for your script/application, indicating that it handles thex-scheme-handler/apt
protocol (seeMimeType=
lines in aptURL.desktop, ubuntu-software-center.desktop)defaults.list
file in/usr/share/applications/