Re: [lazarus] Open URL in a browser

2008-02-08 Thread Luca Olivetti

En/na Antonio Sanguigni ha escrit:


Thanks all, guys. I'll have a look at your suggests.


Note that all suggestions are distro specific. As more and more distro 
move to freedesktop, maybe the best cross-distro solution is to use the 
freedesktop standards, e.g. xdg-open:


http://portland.freedesktop.org/wiki/XdgUtils

(but then you have to provide a fall-back if xdg is not available)

Bye
--
Luca Olivetti
Wetron Automatización S.A. http://www.wetron.es/
Tel. +34 93 5883004  Fax +34 93 5883007

_
To unsubscribe: mail [EMAIL PROTECTED] with
   unsubscribe as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] Open URL in a browser

2008-02-08 Thread micahel schneider
Am Freitag 08 Februar 2008 schrieb Luca Olivetti:
 En/na Antonio Sanguigni ha escrit:
  Thanks all, guys. I'll have a look at your suggests.

 Note that all suggestions are distro specific. As more and more distro
 move to freedesktop, maybe the best cross-distro solution is to use the
 freedesktop standards, e.g. xdg-open:

 http://portland.freedesktop.org/wiki/XdgUtils

 (but then you have to provide a fall-back if xdg is not available)

kfmclient exec for KDE (kfmclient exec http://kde.org )
gnome-open for Gnome (gnome-open http://gnome.org)
exo-open for XFCE

_
 To unsubscribe: mail [EMAIL PROTECTED] with
unsubscribe as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] Open URL in a browser

2008-02-07 Thread ik
Hi,

On Debian bases system (I don't know on others) there is an
alternative that known as x-www-browser that holds the default web
browser.

On Feb 7, 2008 12:18 PM, Antonio Sanguigni [EMAIL PROTECTED] wrote:
 Hi all,

 I'm trying to create an hyperlink component but I'm having some difficult to
 catch default browser under Linux. In Windows it has to be easier but I
 would like to find an elegant cross-platform way. I saw the Lazarus Ide has
 Help - OnLine help menu which I can get a look. Any suggest to better
 understand the code ?

 I saw there are THelpViewer class and THelpDatabase and their containers but
 I cannot be able to understand deeply how this code is working.

 Thanks
 Antonio

 --
 Antonio Sanguigni alias slapshot
  --
 GioveLUG (Linux User Group) - http://www.giovelug.org
 Edupup (Educational distro) - http://www.edupup.org


Ido
-- 
http://ik.homelinux.org/

_
 To unsubscribe: mail [EMAIL PROTECTED] with
unsubscribe as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] Open URL in a browser

2008-02-07 Thread wile64
See also environnement variable $BROWSER under linux

-- 
Laurent.

My Components: http://wiki.lazarus.freepascal.org/Wile64
French Forum : http://lazforum-fr.tuxfamily.org/index.php


Re: [lazarus] Open URL in a browser

2008-02-07 Thread Henry Vermaak
On 07/02/2008, wile64 [EMAIL PROTECTED] wrote:
 See also environnement variable $BROWSER under linux


there is also the sensible-browser script that makes things easy (at
least on debian).

henry

_
 To unsubscribe: mail [EMAIL PROTECTED] with
unsubscribe as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] Open URL in a browser

2008-02-07 Thread Graeme Geldenhuys
On 07/02/2008, wile64 [EMAIL PROTECTED] wrote:
 See also environnement variable $BROWSER under linux


Wow, I never knew about that.  It's available in Ubuntu 7.10 as well.
Is that a LSB standard?

I see the /etc/alternatives directory is full of such files... :-)
Nice one, it's about time Linux helped developers detect favoured
applications.


Regards,
  - Graeme -


___
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/

_
 To unsubscribe: mail [EMAIL PROTECTED] with
unsubscribe as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] Open URL in a browser

2008-02-07 Thread Graeme Geldenhuys
On 07/02/2008, ik [EMAIL PROTECTED] wrote:
 Hi,

 On Debian bases system (I don't know on others) there is an
 alternative that known as x-www-browser that holds the default web
 browser.



Wow, I never knew about that.  It's available in Ubuntu 7.10 as well.
Is that a LSB standard?

I see the /etc/alternatives directory is full of such files... :-)
Nice one, it's about time Linux helped developers detect favoured
applications.


Regards,
  - Graeme -


___
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/

_
 To unsubscribe: mail [EMAIL PROTECTED] with
unsubscribe as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] Open URL in a browser

2008-02-07 Thread Graeme Geldenhuys
Oops, I meant the reply to Ido's email


On 07/02/2008, Graeme Geldenhuys [EMAIL PROTECTED] wrote:
 On 07/02/2008, wile64 [EMAIL PROTECTED] wrote:
  See also environnement variable $BROWSER under linux
 

 Wow, I never knew about that.  It's available in Ubuntu 7.10 as well.
 Is that a LSB standard?

 I see the /etc/alternatives directory is full of such files... :-)
 Nice one, it's about time Linux helped developers detect favoured
 applications.


 Regards,
   - Graeme -


 ___
 fpGUI - a cross-platform Free Pascal GUI toolkit
 http://opensoft.homeip.net/fpgui/



-- 
Regards,
  - Graeme -


___
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/

_
 To unsubscribe: mail [EMAIL PROTECTED] with
unsubscribe as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] Open URL in a browser

2008-02-07 Thread Vincent Snijders

Antonio Sanguigni schreef:

Hi all,

I'm trying to create an hyperlink component but I'm having some 
difficult to catch default browser under Linux. In Windows it has to be 
easier but I would like to find an elegant cross-platform way. I saw the 
Lazarus Ide has Help - OnLine help menu which I can get a look. Any 
suggest to better understand the code ?


I saw there are THelpViewer class and THelpDatabase and their containers 
but I cannot be able to understand deeply how this code is working.




See also lazarus\examples\openbrowser

Vincent

_
To unsubscribe: mail [EMAIL PROTECTED] with
   unsubscribe as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] Open URL in a browser

2008-02-07 Thread ik
2008/2/7 wile64 [EMAIL PROTECTED]:
 See also environnement variable $BROWSER under linux

On my machine it is not set (Kubuntu 7.10 amd64)...


 --
 Laurent.

 My Components: http://wiki.lazarus.freepascal.org/Wile64
 French Forum : http://lazforum-fr.tuxfamily.org/index.php

Ido
-- 
http://ik.homelinux.org/

_
 To unsubscribe: mail [EMAIL PROTECTED] with
unsubscribe as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] Open URL in a browser

2008-02-07 Thread wile64
2008/2/7, Graeme Geldenhuys [EMAIL PROTECTED]:

 On 07/02/2008, wile64 [EMAIL PROTECTED] wrote:
  See also environnement variable $BROWSER under linux
 

 Wow, I never knew about that.  It's available in Ubuntu 7.10 as well.
 Is that a LSB standard?


This is Debian, I have on my Ubuntu 7.10 and others are also


I see the /etc/alternatives directory is full of such files... :-)
 Nice one, it's about time Linux helped developers detect favoured
 applications.


I Found it but I do not know where :)

Regards,
   - Graeme -


 ___
 fpGUI - a cross-platform Free Pascal GUI toolkit
 http://opensoft.homeip.net/fpgui/

 _
  To unsubscribe: mail [EMAIL PROTECTED] with
 unsubscribe as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives




-- 
Laurent.

My Components: http://wiki.lazarus.freepascal.org/Wile64
French Forum : http://lazforum-fr.tuxfamily.org/index.php


RE: [lazarus] Open URL in a browser

2008-02-07 Thread Hess, Philip J
Orpheus has a TOvcURL component for hyperlinks.

 

http://wiki.lazarus.freepascal.org/OrphPort

 

Thanks.

 

-Phil

 

 



From: Antonio Sanguigni [mailto:[EMAIL PROTECTED] 
Sent: Thursday, February 07, 2008 5:19 AM
To: lazarus@miraclec.com
Subject: [lazarus] Open URL in a browser

 

Hi all,

I'm trying to create an hyperlink component but I'm having some
difficult to catch default browser under Linux. In Windows it has to be
easier but I would like to find an elegant cross-platform way. I saw the
Lazarus Ide has Help - OnLine help menu which I can get a look. Any
suggest to better understand the code ? 

I saw there are THelpViewer class and THelpDatabase and their containers
but I cannot be able to understand deeply how this code is working.

Thanks
Antonio

-- 
Antonio Sanguigni alias slapshot
--
GioveLUG (Linux User Group) - http://www.giovelug.org
Edupup (Educational distro) - http://www.edupup.org 



Re: [lazarus] Open URL in a browser

2008-02-07 Thread Antonio Sanguigni

 Orpheus has a TOvcURL component for hyperlinks.



 http://wiki.lazarus.freepascal.org/OrphPort



Thanks all, guys. I'll have a look at your suggests.

Antonio


-- 
Antonio Sanguigni alias slapshot
--
GioveLUG (Linux User Group) - http://www.giovelug.org
Edupup (Educational distro) - http://www.edupup.org