[Pkg-bitcoin-devel] Bug#696508: bitcoin-qt: GUI client should register bitcoin: protocol with Iceweasel
Petter Reinholdtsen
pere at hungry.com
Mon Feb 15 21:02:29 UTC 2016
I am not quite sure, but suspect something like this can be used by
individual users to enable the bitcoin: protocol in iceweasel:
#!/bin/sh
# This shell script can be used to configure the "bitcoin://" URL handler
# for Gnome/Iceweasel
case "$1" in
enable|'')
gconftool-2 -t string -s /desktop/gnome/url-handlers/bitcoin/command "bitcoin-qt \"%s\""
gconftool-2 -t bool -s /desktop/gnome/url-handlers/bitcoin/enabled true
gconftool-2 -t bool -s /desktop/gnome/url-handlers/bitcoin/needs_terminal false
;;
disable)
gconftool-2 -u /desktop/gnome/url-handlers/bitcoin --recursive-unset
;;
esac
It seem to work when I tested it. The 'disable' part did not seem to
work, so I am a bit unsure if I was testing the right thing. Anyway, I
do not know gconf, iceweasel and gnome enough to know how to set this
globally for all users. Anyone know?
--
Happy hacking
Petter Reinholdtsen
More information about the Pkg-bitcoin-devel
mailing list