I'm trying to make a link to open a browser window using a .desktop
file, opening to a webserver on the same box.
I'm currently doing this through:
Exec=browse http://localhost
This seems to work great, except I want to use the box's own hostname; a-la my-box.local
, so the url that is shown is applicable to access from other boxes on the same network via mDNS.
I have tried the following, but unsuprigingly just opens http://$(hostname).local
:
Exec=browse http://$(hostname).local
Any ideas?