diff --git a/src/core/utilities.cpp b/src/core/utilities.cpp index 2c12be4f9..b66e7a4f0 100644 --- a/src/core/utilities.cpp +++ b/src/core/utilities.cpp @@ -367,6 +367,10 @@ void OpenInFileManager(const QString &path) { command_params.removeAt(command_params.indexOf("%U")); } + if (command.startsWith("/usr/bin/")) { + command = command.split("/").last(); + } + if (command.isEmpty() || command == "exo-open") { QFileInfo info(path); if (!info.exists()) return;