This is OS-specific feature. It can be done in one way on mac, in one on windows, but for linux it needs several ways. So, we can use a "exec string", which can be added as option in the config file. Anyway, better to implement it as context menu button.
Anyway, better to implement it as context menu button.