Score:0

Resolve variables in .desktop

gr flag

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?

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.