Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Within the last few days, I've encountered errors when trying to open files using Unity Dash, Synapse, or even the Gnome Search Tool.

These methods will let me launch applications and folders, but not files of any time, including mp3, doc, odt, and txt. With any method, the same error dialogue results: "the location is not a folder". Is there something I can do on my end to correct this, or is this a bug in Natty that is still being corrected?

share|improve this question
add comment

7 Answers

up vote 14 down vote accepted

sudo apt-get remove exo-utils

this is from xfce. You might need to remove thunar as well. Fixed it for me anyway.

share|improve this answer
    
This fixed the problem for me. I had exo-utils installed when I installed Thunar. Once I removed exo-utils (Thunar was removed, too), the problem was resolved. –  Christian Howd Apr 22 '11 at 21:53
    
for me, 39 packets, including xubuntu-desktop, should be removed. is there a way to avoid this? –  tobi Jun 30 '11 at 21:20
    
Had the same problem when using Calibre -- fixed using this method. Question is, is this a bug or a feature? :) –  Avetik Topchyan Aug 7 '11 at 19:35
    
Removing exo-utils removes thunar and lot's of essential stuff from xfce4 desktop. It is not very good solution –  Anwar Shah Aug 2 '12 at 11:08
add comment

Try to run computer janitor. For me, it solved the problem. I think it must be related to an old version of a panel or menu, or unneeded libraries.

share|improve this answer
    
Running the Computer Janitor did not work for me. –  Christian Howd Apr 22 '11 at 21:29
1  
running computer janitor hs nothing to do with the problem –  Anwar Shah Aug 2 '12 at 11:10
add comment

This is likely a problem in xdg-open and gnome-open. There is a bug page for that problem here https://bugs.launchpad.net/ubuntu/+source/unity-place-files/+bug/751374. You should try typing 'xdg-open '. If the file opens correctly then you're experiencing a different problem. If it gives the 'location is not a folder' error then keep and eye out for fixes to this but.

For the record xdg-open does not work for me, and uninstalling/reconfiguring some packages hasn't fixed it. Knowing which package needs removing/updating would be useful, molnarandris.

share|improve this answer
    
I have fixed this on my computer. After updating to natty beta xdg-open stopped working. I found this bbs.archlinux.org/viewtopic.php?id=112069 and it suggested that exo-open was the problem. After removing edo-utils and a few xfce related programs that depended on it, I can now open files from the dash without this error. –  yun Apr 20 '11 at 19:52
add comment

Removing exo-utils also removes thunar. Some of us need to have both thunar and nautilus installed in gnome

Since the problem is exo-utils, I build a thunar .deb without the exo-utils dependency. Here is how for 64bit:

wget http://launchpadlibrarian.net/69753654/thunar_1.2.1-3ubuntu2_amd64.deb
dpkg-deb -x thunar_1.2.1-3ubuntu2_amd64.deb tmpdir
dpkg-deb --control thunar_1.2.1-3ubuntu2_amd64.deb tmpdir/DEBIAN
gedit tmpdir/DEBIAN/control

Remove 'exo-utils' from the 'Depends' line and save

dpkg -b tmpdir thunar_1.2.1-3ubuntu2_amd64-no_exo-utils_dependency.deb
sudo apt-get remove exo-utils
sudo dpkg -i thunar_1.2.1-3ubuntu2_amd64-no_exo-utils_dependency.deb
sudo apt-get -f install

via: http://queleimporta.com/thunar-nautilus-exo-utils-and-the-location-is-not-a-folder-error-solution-under-gnome/

share|improve this answer
add comment

Removing exo-utils also removes thunar. Some of us need to have both thunar and nautilus installed in gnome - this worked for me see the link http://queleimporta.com/thunar-nautilus-exo-utils-and-the-location-is-not-a-folder-error-solution-under-gnome/.

share|improve this answer
    
Whilst this may theoretically answer the question, it would be preferable to include the essential parts of the answer here, and provide the link for reference. –  Anwar Shah Aug 2 '12 at 11:07
add comment

Here is the solution without removing exo-utils:

If you want to simply fix the opening of files but retain XFCE/exo you can simply open "exo-preferred-applications" and change the preferred "file manager" under "utilities" back to "Thunar"

I'm guessing the install of XFCE changes this default, anyway flipping it back to thunar certainly fixes the behaviour in Unity for me.

share|improve this answer
    
Whilst this may theoretically answer the question, it would be preferable to include the essential parts of the answer here, and provide the link for reference. –  Anwar Shah Aug 2 '12 at 11:07
add comment

This is really a bug in exo-utils package. (Reported Launchpad Bug)

It is an upstream problem with the desktop files which install wrong handlers for the things (that is if you do not use XFCE)...

The "MimeType=" entry in the:

/usr/share/applications/exo-file-manager.desktop
/usr/share/applications/exo-mail-reader.desktop
/usr/share/applications/exo-web-browser.desktop

files should become: "X-XFCE-MimeType="

A quick fix for your problem is to change the entry as needed and update your desktop file database.

Changing the entry can be done as root in a terminal this way:

sed -i -e 's/^MimeType=/X-XFCE-MimeType=/' \
     /usr/share/applications/exo-file-manager.desktop \
     /usr/share/applications/exo-mail-reader.desktop \
     /usr/share/applications/exo-web-browser.desktop

I have prepared a package with the fixed bug in my PPA, so you can install it (you may need to wait till it builds btw) (PhobosK's PPA)

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.