Menu

Problem open volume after mount in Linux Debian 7 LXDE "No such file or directory: nautilus"

Anonymous
2015-02-07
2015-09-13
  • Anonymous

    Anonymous - 2015-02-07

    Problem open volume after mount in Linux Debian 7 LXDE "No such file or directory: nautilus"???What to do . Thanks

     
  • Mounir IDRASSI

    Mounir IDRASSI - 2015-02-07

    VeraCrypt tries to open the mounted volume when the corresponding option is checked and for that it calls "Nautilus" which is the default file manager of Gnome.

    If Nautilus is not present (which is the case of LXDE and other non-gnome desktop environment), then an error will be displayed.

    In the future, we'll add an option to specify manually your desktop environment file manager (on LXDE it's pcmafm).

    For now, don't check the option to open volume after mount (by default, this option is unchecked).

     
  • Anonymous

    Anonymous - 2015-02-08

    Since my use of TrueCrypt and now VeraCrypt, I've been using the attached patch to workaround this issue by using xdg-open.

     
  • Mounir IDRASSI

    Mounir IDRASSI - 2015-02-09

    Thank you for the xdg-open idea.
    I have modified the code so that for Gnome/KDE we keep the current handling but for other desktop environment I use the xdg-open utility. Tests show that this ensure maximum compatibility (for example, on CentOS, xdg-open is not available by default but nautilus is always there since they use Gnome).
    Here is the commit: https://sourceforge.net/p/veracrypt/code/ci/a15b408b9c7b2ee27f477e923b26c4b397497ab1/

     
  • Anonymous

    Anonymous - 2015-02-09

    Great! Thought you might change it, and I'm glad you've committed it.

    Thank you.

     
  • Anonymous

    Anonymous - 2015-02-09

    And how to use this xdg-open utility.
    I see this sourcecode but what to do whit him.
    "--- a/src/Main/UserInterface.cpp
    +++ b/src/Main/UserInterface.cpp
    @@ -832,7 +832,7 @@
    // MIME handler for directory seems to be unavailable through wxWidgets
    wxString desktop = GetTraits()->GetDesktopEnvironment();

    • if (desktop == L"GNOME" || desktop.empty())
    • if (desktop == L"GNOME")
      {
      args.push_back ("--no-default-window");
      args.push_back ("--no-desktop");
      @@ -864,6 +864,22 @@
      catch (TimeOut&) { }
      catch (exception &e) { ShowError (e); }
      }
    • }
    • else if (wxFileName::IsFileExecutable (wxT("/usr/bin/xdg-open")))
    • {
    • // Fallback on the standard xdg-open command
    • // which is not always available by default
    • args.push_back (string (path));
    • try
    • {
    • Process::Execute ("xdg-open", args, 2000);
    • }
    • catch (TimeOut&) { }
    • catch (exception &e) { ShowError (e); }
    • }
    • else
    • {
    • ShowWarning (wxT("Unable to find a file manager to open the mounted volume"));
      }
      #endif
      }"
     
    • Mounir IDRASSI

      Mounir IDRASSI - 2015-02-09

      This is just to inform you that a modification was made to enable support for desktop managers other than Gnome and KDE. In the next release, the modification will be included.

      As for you, you have to uncheck the option to open the volume after mounting and configure your desktop manager to handle this from its side (by default, VeraCrypt doesn't open a volume after it is mounted).

       
  • Anonymous

    Anonymous - 2015-02-10

    Ok thank you I have this in mind next time

     
  • mn_voyageur

    mn_voyageur - 2015-09-12

    I just downloaded Veracrypt. I am running Debian (Xfce Desktop) and am having the same problem. What exactly am I supposed to do?

    MarkN

     
  • Mounir IDRASSI

    Mounir IDRASSI - 2015-09-13

    Are you sure your are running the latest VeraCrypt version (1.13)?

    I have just done a test on a Debian Jessie (8.2) 64-bit with Xfce and mounted volumes open correctly.

    Here is a video that shows this:

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.