From b76c9b756dc391aa9b9faf114dc065fa87f0f918 Mon Sep 17 00:00:00 2001 From: "chunmao.guo" Date: Thu, 8 Jun 2023 19:23:29 +0800 Subject: [PATCH] FIX: [STUDIO-3158] use nautilus to select file in linux Change-Id: I37fc5f26c9b38ce749adf3ff7662f982a6f9f452 --- src/slic3r/GUI/GUI.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/slic3r/GUI/GUI.cpp b/src/slic3r/GUI/GUI.cpp index 5bb276497..ff852f9b9 100644 --- a/src/slic3r/GUI/GUI.cpp +++ b/src/slic3r/GUI/GUI.cpp @@ -553,7 +553,7 @@ void desktop_open_any_folder( const std::string path ) #elif __APPLE__ openFolderForFile(from_u8(path)); #else - const char *argv[] = {"xdg-open", path.data(), nullptr}; + const char *argv[] = {"nautilus", path.data(), nullptr}; // Check if we're running in an AppImage container, if so, we need to remove AppImage's env vars, // because they may mess up the environment expected by the file manager.