[kde-freebsd] linking to kde uri handlers from general script
Jose M Rodriguez
josemi at freebsd.jazztel.es
Wed Nov 17 09:21:48 PST 2004
El Miércoles, 17 de Noviembre de 2004 17:55, Michael Nottebrock
escribió:
> On Wednesday, 17. November 2004 13:50, Jose M Rodriguez wrote:
> > Hi again,
> >
> > Working on mozilla apps general integration with FreeBSD and need
> > to solve two basic questions.
> >
> > An env detect method to HiFi detect that a sh app is running from
> > startkde. (An env var set only when stratkde is running).
> >
> > A sh exec method to open a generic uri in the default handler set
> > by the control-center ( prefered apps / mime types ).
>
> Perhaps you should ask those kind of questions on a KDE list like
> kde-devel / kde-core-devel instead, since they're not specific to the
> FreeBSD ports.
I have now a first very basic candidate (attached) that you can use to
route mailto: and similar from firefox to kde/gnome
to activate this, you must go to about:config in firefox and add a new
string key (by right click on any entry).
Key: network.protocol-handler.app.mailto
string: /usr/X11R6/bin/nethandler-helper
This may be repeated for news, snews, nntp
And tried for more exotic like: afp, data, disk, disks, hcp, help,
javascript, ms-help, shell, vbscript, vnd.ms.radio
--
josemi
More information about the freebsd-gnome
mailing list