aboutsummaryrefslogtreecommitdiffstats
path: root/mdns.c
diff options
context:
space:
mode:
Diffstat (limited to 'mdns.c')
-rw-r--r--mdns.c11
1 files changed, 10 insertions, 1 deletions
diff --git a/mdns.c b/mdns.c
index 7d32d0d..3891a73 100644
--- a/mdns.c
+++ b/mdns.c
@@ -57,12 +57,21 @@ struct actions {
static const struct actions default_actions[] = {
{
- /* let KDE decide how to handle it ... */
+ .desktop = DESKTOP_ANY,
+ .needurl = 1,
+ .tryapp = "xdg-open",
+ .cmdline = "xdg-open %u",
+ },{
.desktop = DESKTOP_KDE,
.needurl = 1,
.tryapp = "kfmclient",
.cmdline = "kfmclient exec %u",
},{
+ .desktop = DESKTOP_GNOME,
+ .needurl = 1,
+ .tryapp = "gnome-open",
+ .cmdline = "gnome-open %u",
+ },{
.desktop = DESKTOP_ANY,
.type = "_ssh._tcp",
.cmdline = "xterm -title \"%n\" -e ssh -p %p \"%h\"",