From 05f3f8b382b27e5fc90773251ee6eff1cf35ddb7 Mon Sep 17 00:00:00 2001 From: Selivanov Pavel Date: Wed, 9 Jan 2019 00:18:34 +0300 Subject: [PATCH] treebrowser: use xdg-open for external open command Using generic xdg-open that will open associated file manager is better than hard-coded nautilus that works only for Gnome/Unity. --- treebrowser/src/treebrowser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/treebrowser/src/treebrowser.c b/treebrowser/src/treebrowser.c index c23203327..b46cb8a60 100644 --- a/treebrowser/src/treebrowser.c +++ b/treebrowser/src/treebrowser.c @@ -55,7 +55,7 @@ static gboolean flag_on_expand_refresh = FALSE; * ------------------ */ #ifndef G_OS_WIN32 -# define CONFIG_OPEN_EXTERNAL_CMD_DEFAULT "nautilus '%d'" +# define CONFIG_OPEN_EXTERNAL_CMD_DEFAULT "xdg-open '%d'" # define CONFIG_OPEN_TERMINAL_DEFAULT "xterm" #else # define CONFIG_OPEN_EXTERNAL_CMD_DEFAULT "explorer '%d'"