Forum > Editor

How to make a simple Link ?

<< < (3/3)

Hansaplast:
Thanks :)

dje:

--- Quote from: Hansaplast on June 17, 2007, 02:17:55 am ---Is there a universal way on to how to make a click able link suitable for all platforms?
Using Windows specific units comes with complications for Linux etc?? (or not?)

--- End quote ---

I use OpenURL and OpenDocument from the unit LCLIntf. The only problem I found on the Raspberry Pi, is when xdg-open is not setup with a valid default browser.

The following will show your current default browser

--- Code: ---xdg-settings get default-web-browser
--- End code ---

I believe I had to use something like this to make it work with firefox. (I guess it depends on the linux distro)

--- Code: ---xdg-settings set default-web-browser firefox-esr.desktop
--- End code ---

MarkMLl:
You're commenting to a thread that's 15 years old, and most if not all of the participants have moved on.


--- Quote from: derek.john.evans on June 30, 2022, 07:30:18 am ---I use OpenURL and OpenDocument from the unit LCLIntf. The only problem I found on the Raspberry Pi, is when xdg-open is not setup with a valid default browser.

--- End quote ---

That is of course an interesting point, and you deserve a point for investigating xdg-open. However you've got a definite distro bug there, and you need to make sure it's reported as a bug to the RPi maintainers.

MarkMLl

Navigation

[0] Message Index

[*] Previous page

Go to full version