linking to gnome uri handlers from general script

Jose M Rodriguez josemi at freebsd.jazztel.es
Wed Nov 17 06:26:15 PST 2004


El Miércoles, 17 de Noviembre de 2004 13:44, Jose M Rodriguez escribió:
> 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
> gnome-session. (An env var set only when gnome-session is running).
>
 candidates:
  GNOME_DESKTOP_SESION_ID default (any)
  DESKTOP_SESSION  gnome

> A sh exec method to open a generic uri in the default handler set by
> the control-center ( prefered apps / mime types ).
>

candidates:
  exec gnome-open <uri>

Note:
I detect problems with entries used by gnome-control-center to this.
In special, try exec mozilla-firebird instead of firefox.

> thanks in advance,
> --
>   josemi
>
> _______________________________________________
> freebsd-gnome at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-gnome
> To unsubscribe, send any mail to
> "freebsd-gnome-unsubscribe at freebsd.org"



More information about the freebsd-gnome mailing list