[xfce] nautilus don't open files if set as default file manager

Bug #1778069 reported by FurretUber on 2018-06-21
This bug affects 13 people
Affects Status Importance Assigned to Milestone
Fix Released
exo (Ubuntu)
nautilus (Debian)
nautilus (Ubuntu)
xubuntu-default-settings (Ubuntu)

Bug Description

If Nautilus is set as the preferred file manager with exo-preferred-applications, it no longer opens files. It opens only directories, .desktop files and executable files. Trying to open a file, be using Enter or with double mouse click, as a text file or a video makes Nautilus window blink for a instant and nothing happens. To be able to open the files, it's needed to choose to open with another application and then choose the application.

Once Nautilus is unset as the default file manager (Thunar is chosen, for example), it starts to work fine again, opening files properly.

Nautilus' Debian Sid version do not have this problem.

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: nautilus 1:3.26.3-0ubuntu4
Uname: Linux 4.17.2-041702-generic x86_64
ApportVersion: 2.20.9-0ubuntu7.2
Architecture: amd64
CurrentDesktop: XFCE
Date: Thu Jun 21 10:55:41 2018
InstallationDate: Installed on 2017-06-13 (372 days ago)
InstallationMedia: Xubuntu 17.04 "Zesty Zapus" - Release amd64 (20170412)
SourcePackage: nautilus
UpgradeStatus: Upgraded to bionic on 2017-10-20 (244 days ago)
usr_lib_nautilus: dropbox 2015.10.28

FurretUber (furretuber) wrote :
summary: - nautilus don't open files is set as default file manager
+ nautilus don't open files if set as default file manager
Changed in nautilus (Ubuntu):
importance: Undecided → Low
summary: - nautilus don't open files if set as default file manager
+ [xfce] nautilus don't open files if set as default file manager
Lou (lou-gregory42) wrote :

Happening for me too. Should be a higher priority than "low" IMHO

Steve Beckett (sbeckett31) wrote :

this effects a lot of users so please can you push the priority higher.

Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in nautilus (Ubuntu):
status: New → Confirmed
Changed in nautilus (Debian):
status: Unknown → New
Paolo Benvenuto (donpaolo) wrote :

I affects me too. Hoping that priority is risen.

Mike (solovey-0408) wrote :

Have the same problem. Hope will be fixed soon.

gustavo sansone (gusans) wrote :

I have the same problem. tested on several fresh installs of Xubuntu 17.10 and Xubuntu 18.04.

You can fix this issue by removing the line "x-scheme-handler/file=exo-file-manager.desktop" from the following files:

/usr/share/xubuntu/applications/defaults.list (provided by Xubuntu)
~/.config/mimeapps.list (user overrides)
~/.local/share/applications/mimeapps.list (deprecated)

The entry should not be added anymore according to upstream Xfce [1], and it is the cause for the misbehavior according to the comments in the linked Debian report [2].

[1] https://git.xfce.org/xfce/exo/commit/?id=b74caf97642ae2bf00a7754a5fb193f695b6f3d4
[2] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=874003#75

Changed in nautilus (Ubuntu):
status: Confirmed → Invalid
Changed in xubuntu-default-settings (Ubuntu):
status: New → Confirmed
ldmpub (ldmpub) wrote :

Thanks Theo => your tip fix it for me.

abssorb (abssorb) wrote :

XFCE 18.04, nautilus was working fine. Started to see this behaviour recently. Possibly due to adding nautilus-extension-gnome-terminal.

Commenting out the line:


/usr/share/xubuntu/applications/defaults.list (provided by Xubuntu)

Worked immediately when nautilus restarted.

Around Fedora 27, Nautilus stopped being able to open files with double click. It took me a very long time to figure out what was going on, but it turns out it was this bug:

[Fedora bug]: https://bugzilla.redhat.com/show_bug.cgi?id=674321
[Ubuntu bug]: https://bugs.launchpad.net/ubuntu/+source/exo/+bug/956255

I had to remove the following entries from ~/.local/share/applications/mimeapps.list , in the "[Added Associations]" section:


According to the Ubuntu bug, the core problem was fixed in this commit:


However, one commenter on the Fedora bug pointed out that "exo-0.6.2-3.fc16 is still taking the mime types from the X-XFCE-MimeType key and adding them to the [Added Associations] section of ~/.local/share/applications/mimeapps.list". This was still happening on a later version of exo (I don't know which version exactly, but maybe 0.10.x, since Nautilus broke for me around Fedora 27).

There are a few things that need to be fixed:

(1) exo needs to stop inserting these entries in mimeapps.list , if it is still inserting them

(2) exo needs to remove these entries from mimeapps.list, if they are found there, so that upgrading exo is enough to fix a broken system.

(3) One commenter on the Fedora bug pointed out that "I only noticed because some part of KDE was complaining about some lists in mimeapps.list not ending with ';' " -- exo needs to add a trailing ';' if it does need to add (corrected) lines to mimeapps.list.

Changed in exo:
importance: Unknown → Medium
status: Unknown → Confirmed
Sean Davis (bluesabre) wrote :
Changed in xubuntu-default-settings (Ubuntu):
status: Confirmed → Triaged
status: Triaged → Fix Committed
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package xubuntu-default-settings - 19.04

xubuntu-default-settings (19.04) disco; urgency=medium

  * Add Terminal (F4) and Find (Primary+Shift+F) shortcuts to Thunar (LP: #1793395)
    - etc/xdg/xdg-xubuntu/Thunar/accels.scm
    - etc/xdg/xdg-xubuntu/Thunar/uca.xml.in
  * debian/xubuntu-default-settings.gsettings-override:
    - Set GNOME/GTK 3 dconf keys for fonts (LP: #1769774)
  * etc/xdg/xdg-xubuntu/autostart/xfce4-tips-autostart.desktop
    - Removed, obsolete (LP: #1805005)
  * etc/xdg/xdg-xubuntu/Thunar/uca.xml.in:
    - Enable startup-notify in Thunar's uca.xml (LP: #1794118)
  * etc/xdg/xdg-xubuntu/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml:
    - Add shortcut for xfce4-screenshooter region capture (Shift+Print) (LP: #1812234)
  * etc/xdg/xdg-xubuntu/xfce4/xfconf/xfce-perchannel-xml/xfce4-power-manager.xml:
    - Set default inactivity mode to Suspend on AC and battery (LP: #1768038)
  * etc/xdg/xdg-xubuntu/xfce4/xfconf/xfce-perchannel-xml/xfprint.xml
    - Removed, obsolete (LP: #1805007)
  * usr/share/xubuntu/applications/defaults.list:
    - Replace invalid macroEnabled mimetypes (LP: #1802582)
    - Remove invalid x-scheme-handler/file handler (LP: #1778069)

 -- Sean Davis <email address hidden> Mon, 28 Jan 2019 22:44:14 -0500

Changed in xubuntu-default-settings (Ubuntu):
status: Fix Committed → Fix Released
Alex Mandel (wildintellect) wrote :

Just adding a note that this can also happen in Gnome on a system without XFCE.

Commenting out:
In the file:

Like the Fedora note above worked. Not sure if a new ticket is needed to address the but outside of Xubuntu.

Ubuntu 18.04, happened after upgrade from 16.04

I assume that adding the exo package to the Affects list should do. The upstream report has already been linked.

Changed in exo (Ubuntu):
status: New → Confirmed

Tengo el mismo problema en Xubuntu.
I have the same problem in xubuntu.

Resolved with the following commits:

Always terminates the mimetype associations with ";"

Removes bad entries that should no longer be used.

Possibly related, this synchronizes the preferences with gio-mime.

Will be available with Exo 0.12.6, release shortly.

Changed in exo:
status: Confirmed → Fix Released
abssorb (abssorb) wrote :

status: Fix Committed → Fix Released for 19.04. Good, but please also release for 18.04 as it is LTS.

Marco Lopilato (marcolo) wrote :

Will the fix be released for 18.04 also? Thx

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.