The bug seems to be that Nautilus cannot open a URI beginning with "file:///" that includes a filename at the end. Here's how to easily reproduce the bug:
1. Install Thunar (which does not have this bug).
2. Choose or create an arbitrary file (say, from LibreOffice Writer), let's say "/home/myuser/Documents/foo.odt"
3. Can Nautilus open this file for us, if we pass a "file:///" URI to it as an argument? Open a Terminal. Ctrl+Alt+T.
4. Try opening the file with this command to see the error dialog appear:
nautilus file:///home/myuser/Documents/foo.odt
5. Now do it again, removing the filename off the end:
nautilus file:///home/myuser/Documents/
...and now Nautilus will open that folder! So it's proven that Nautilus doesn't like the filename on the end of the URI.
6. Let's try step 4 again, but this time with Thunar:
thunar file:///home/myuser/Documents/foo.odt
...and now Thunar will properly open the file directly into LibreOffice (like Nautilus should). Bad Nautilus!
7. As a workaround, set Thunar to be Unity's default File browser, with the command:
exo-preferred-applications
...then go to the "Utilities" tab, and set the File Manager to "Thunar," and "Close"
The bug seems to be that Nautilus cannot open a URI beginning with "file:///" that includes a filename at the end. Here's how to easily reproduce the bug:
1. Install Thunar (which does not have this bug).
2. Choose or create an arbitrary file (say, from LibreOffice Writer), let's say "/home/ myuser/ Documents/ foo.odt"
3. Can Nautilus open this file for us, if we pass a "file:///" URI to it as an argument? Open a Terminal. Ctrl+Alt+T.
4. Try opening the file with this command to see the error dialog appear: /home/myuser/ Documents/ foo.odt
nautilus file://
5. Now do it again, removing the filename off the end: /home/myuser/ Documents/
nautilus file://
...and now Nautilus will open that folder! So it's proven that Nautilus doesn't like the filename on the end of the URI.
6. Let's try step 4 again, but this time with Thunar: /home/myuser/ Documents/ foo.odt
thunar file://
...and now Thunar will properly open the file directly into LibreOffice (like Nautilus should). Bad Nautilus!
7. As a workaround, set Thunar to be Unity's default File browser, with the command: preferred- applications
exo-
...then go to the "Utilities" tab, and set the File Manager to "Thunar," and "Close"