aboutsummaryrefslogtreecommitdiffstats
path: root/mdns.c
diff options
context:
space:
mode:
authorkraxel <kraxel>2007-02-07 15:44:40 +0000
committerkraxel <kraxel>2007-02-07 15:44:40 +0000
commit7d906990781d561e9b196138356300460b2c0da2 (patch)
tree10e7cd650335b807c4580a305b349aa75c4b6c3e /mdns.c
parent3afcd6538aeba46332c5ed8a2b020750a5f06d8a (diff)
downloadxenwatch-7d906990781d561e9b196138356300460b2c0da2.tar.gz
misc
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\"",