From bddb371e31da7d2a501927746fd69d6cdd1c57e2 Mon Sep 17 00:00:00 2001 From: Jonas Kvinge Date: Thu, 1 Apr 2021 18:31:19 +0200 Subject: [PATCH] Fix open in file browser when inode/directory mimetype is set to thunar Fixes #677 --- src/core/utilities.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/utilities.cpp b/src/core/utilities.cpp index f61ab827e..3f99adeb8 100644 --- a/src/core/utilities.cpp +++ b/src/core/utilities.cpp @@ -397,7 +397,7 @@ void OpenInFileManager(const QString path, const QUrl &url) { else if (command.startsWith("caja")) { proc.startDetached(command, QStringList() << command_params << "--no-desktop" << path); } - else if (command.startsWith("pcmanfm")) { + else if (command.startsWith("pcmanfm") || command.startsWith("thunar")) { proc.startDetached(command, QStringList() << command_params << path); } else {