That's an interesting area. For example, XFCE has generalizations like web browser, email client facilitated by their own reinvented wheel inside exo-open AFAIK. I found a way to do some without any special treatment: I have a bind in Openbox to open browser and mail client set up like 'xdg-open http://'. But it does not work well for mailto: and there is no scheme for calculators. Another related function: backlight. How to generalize between xbacklight or brightnessctl depending on hardware support.

To sum it up, this is another class of tasks, not to open something in something, but to execute something. Intents? x-intent/email-client, x-intent/reduce-backlight? Generalize xdg-terminal-exec into xdg-intent-exec? X-ExecArg into X-ArgPrefix? What do you think?

On 2018-08-29 09:50, Ian Huang wrote:
For example, many keyboards have a calculator function button that I believe is hard coded to use GNOME's calculator for me at the moment. Similar apps that don't necessarily handle a single type of file but reasonably call for a default choice could maybe share the same spec?

_______________________________________________
xdg mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/xdg

Reply via email to