[SOLVED] X: "No application is registered as handling this file" / Places not wo

Started by raimund, April 18, 2012, 12:17:57 PM

Previous topic - Next topic

raimund

Regards to: Ploplinux 4.2.1 with X-Support

It is not possible to open files by just clicking on it in Nautilus. Also the GNOME places menu doesn't work.

The error messages are:
Could not open location 'file://' (or similar).
No application is registered as handling this file


The reason is an empty mimecache.info in /opt/share/applications/
Since /opt is a readonly filesystem this problem must corrected in the Image and cn't solved at boot time.

Workaround:

You need a running linux with following programs installed:

  • update-desktop-database (package desktop-file-utils)
  • mksquashfs, unsquashfs (package squashfs-tools)
This may be the ploplinux system itself (with X support).



  • If using an ISO-Image, this image should be opened per loopback-mount, an extracted *.tar.gz-Image may be mounted per NFS.
  • Then change to the root directory of that ploplinux image:
    cd {root-of-ploplinux-image}
  • Enter the following command:
    cd ploplinux/opt \
    && unsquashfs opt.sqfs \
    && update-desktop-database squashfs-root/share/applications/ \
    && mksquashfs squashfs-root opt.sqfs -noappend \
    && rm -Rf squashfs-root


Thats all.

Best regards,
Raimund

Elmar

Quote from: raimund on April 18, 2012, 12:17:57 PM
It is not possible to open files by just clicking on it in Nautilus. Also the GNOME places menu doesn't work.

in 4.2.2 its working again

best regards
elmar