--=-BhlAacdoJpnMT2CskNrb
Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature";
boundary="=-gSxCo0hhDUjaOXdOACVa"
--=-gSxCo0hhDUjaOXdOACVa
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
Am Sonntag, den 12.08.2007, 19:41 +0900 schrieb Olivier Renaud:
Le dimanche 12 ao=C3=BBt 2007 11:53, Sebastian Hungerecker a =C3=A9crit= :
Trans wrote:
On Aug 11, 11:51 pm, Jeremy Hinegardner wrote:
launchy version 0.1.2 has been released.
Launchy is helper class for launching cross-platform applications= in a
fire and forget manner.
* How does it deal with a systems that have more than one browser
installed? Which browser does it choose?
According to the documentation on the homepage:
APP_LIST =3D { :windows =3D> %w[ firefox iexplore ], :darwin =3D> %w[= open ],
:nix =3D> %w[ firefox ], :unknown =3D> [], }
So on OSX it uses the default browser and on any other system firefox= , if
installed, or IE or nothing. I have to say, I find that somewhat
suboptimal. Certainly it's possible to detect the default browser on
Windows, KDE and GNOME, too, right? (Although, of course, it's still
possible that someone has neither KDE or GNOME installed or that he h= as
both and is running neither, which would make it hard to choose which
default browser to use on *nix).
=20
So, it won't work on my computer, since I run linux without firefox ins= talled.=20
Under Windows, there is a default browser that can be set by the user, = it=20
would be great to use this one, though I don't know how to get it. Mayb= e from=20
the registry ?
Under *nix, there is a BROWSER environement variable (but it is not oft= en=20
correctly set, unfortunately).
Also, there should be Mozilla in the executable list, as the default af= ter=20
firefox.
But the best for me would be that konqueror is used as the browser, wit= h your=20
lib, since I run KDE. You can detect this from the env variable=20
DESKTOP_SESSION which is set to "kde".
=20
=20
Under GNOME the gconf key /desktop/gnome/url-handlers/http/command
contains the default browser.
Calling gnome-open with the URL accomplishes the goal more easily.
Cheers,
Daniel Schierbeck
--=-gSxCo0hhDUjaOXdOACVa
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part
Content-Transfer-Encoding: quoted-printable
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQBGvvfLE8pU4Gwf6g8RAgU9AKCRdhK14nasmSZDJG56vFhBOETvAgCgpxxT
lojdIUnhQbEzkGehvAT9keo=3D
=3D6xva
-----END PGP SIGNATURE-----
--=-gSxCo0hhDUjaOXdOACVa--
--=-BhlAacdoJpnMT2CskNrb
Content-Type: application/x-pkcs7-signature; name=smime.p7s
Content-Disposition: attachment; filename=smime.p7s
Content-Transfer-Encoding: base64
MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIILGjCCBYkw
ggRxoAMCAQICBEOI1E4wDQYJKoZIhvcNAQEFBQAwMTELMAkGA1UEBhMCREsxDDAKBgNVBAoTA1RE
QzEUMBIGA1UEAxMLVERDIE9DRVMgQ0EwHhcNMDYxMDAzMTQyNjUwWhcNMDgxMDAzMTQ1NjUwWjCB
hzELMAkGA1UEBhMCREsxKTAnBgNVBAoTIEluZ2VuIG9yZ2FuaXNhdG9yaXNrIHRpbGtueXRuaW5n
MU0wIwYDVQQFExxQSUQ6OTIwOC0yMDAyLTItMjE0NjU1NjY3OTQ5MCYGA1UEAxMfRGFuaWVsIExp
bGllbmZlbGR0IEcgU2NoaWVyYmVjazCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAn/eGl8Nz
YQLFD44FwNI1HY67xBChpjiVN9UMv4N2C5Te2EIHxDKW8zb/RXk70vHnVrCqm5PDyZWVFPBNKFXG
jZwYKmHK8Yi8mzK6HMmYCWfEih+uYyvO40OewsywEmuq1pPNP4vB2f+fpS/Am64vjo0M9U2ieeSj
taQwSTnTAJkCAwEAAaOCAtQwggLQMA4GA1UdDwEB/wQEAwID+DArBgNVHRAEJDAigA8yMDA2MTAw
MzE0MjY1MFqBDzIwMDgxMDAzMTQ1NjUwWjCCATcGA1UdIASCAS4wggEqMIIBJgYKKoFQgSkBAQEB
AzCCARYwLwYIKwYBBQUHAgEWI2h0dHA6Ly93d3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