[Starkit] Tcl/Tk Browser detection
Larry W. Virden
lvirden at cas.org
Mon Jan 10 12:46:43 CET 2005
From: Gaston Verhulst <gaston.verhulst at pandora.be>
> Can I detect my Browser automatically, so that
> the Browser Name comes in a Variable?
Linux and Unix isn't as regimented as Windows, so there are not
single approaches to doing things. So no, there is no guaranteed
method of detecting the browser which one has selected.
Now certain desktop environments might have methods to detect such
things, but each desktop does things differently.
You _could_, however, just require the Unix/Linux user set an environment
variable, and if that variable isn't set, default to mozilla.
> Or has Tcl/Tk an other command available to open an URL?
Tcl - The glue of a new generation. <URL: http://wiki.tcl.tk/ >
Larry W. Virden <mailto:lvirden at cas.org> <URL: http://www.purl.org/NET/lvirden/>
Even if explicitly stated to the contrary, nothing in this posting should
be construed as representing my employer's opinions.
More information about the Starkit