Need Help Determining a Browser's Network Protocol Support
I'm working on adding apturl support to Linux App Finder so programs in a deb repository can be installed just by clicking a link. Since not every system will have apturl installed, I'd like to be able to detect whether or not the browser can handle an apt: link and use the information to display appropriate instructions. Does anyone know how to do that?
Right now I plan to have two potential links. The primary one will say Install Now and have an apt:packagename formatted link. The other will link to instructions on how to setup apturl and install apps directly from your browser.
The checks I currently have planned are:
- Determine that Linux is the OS
- Determine whether there is a handler for the apt: protocol.
apturl currently only supports Firefox and is in the Ubuntu Gutsy Gibbon repositories. Synaptic is required as well, although it doesn't appear to be listed as a dependancy. Hopefully the apturl team can remove their dependancy on Synaptic in the future because it adds unnecessary overhead to the installation.