xdg-open stopped working


The default file explorer application used in Ubuntu is Nautilus. To set Nemo as the default file manager I first installed exo-utils:

$ sudo apt-get install exo-utils

Next, I opened the exo-preferred-applications from the shell and in Utilities > File manager section set Nemo as my file manager:

$ exo-preferred-applications

The changes are applied immediately. However, I noticed that xdg-open stopped working. Any application that used it to open files, like Chrome for example, would just open Nemo with that file highlighted.


It turns out that the problem is exo-utils. It has been filed as a bug.

If you face this problem, remove exo-utils package:

$ sudo apt-get purge exo-utils

Restart and the default behavior of xdg-open should be back.

Note: The right method to set Nemo as default file manager is here.

Tried with: Ubuntu 14.04

One thought on “xdg-open stopped working”

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s