Felix Palmen :freebsd: :c64: on Nostr: #programing question: I want to open some URL in whatever is the "default" ...
#programing question:
I want to open some URL in whatever is the "default" application of the current desktop. I know there's the `xdg-open` script. But is this the way to go (with fork/exec) from a native application? 🤔
#Linux #Unix #BSD #desktop #XDG #freedesktop_org
Published at
2024-08-13 06:00:46Event JSON
{
"id": "8223d37216756fb0ed930e13deb9fe41180d107b955a87395b595ebf9d5e2ae8",
"pubkey": "f256835736550a85428b988fdeb80b491534fe74fc6e7eea1701fc79e6642176",
"created_at": 1723528846,
"kind": 1,
"tags": [
[
"t",
"programing"
],
[
"t",
"linux"
],
[
"t",
"unix"
],
[
"t",
"bsd"
],
[
"t",
"desktop"
],
[
"t",
"xdg"
],
[
"t",
"freedesktop_org"
],
[
"proxy",
"https://mastodon.bsd.cafe/users/zirias/statuses/112953186492591924",
"activitypub"
]
],
"content": "#programing question:\n\nI want to open some URL in whatever is the \"default\" application of the current desktop. I know there's the `xdg-open` script. But is this the way to go (with fork/exec) from a native application? 🤔\n\n#Linux #Unix #BSD #desktop #XDG #freedesktop_org",
"sig": "567bce2b781a2d51b40e52d29c66e82c271e976f1a44f0940a6f7b6c0e92994699ca803a3b872b908bbc077dc36856a153509b75935af4fc384f3ee6c2735a55"
}