Author Topic: [SOLVED] X: "No application is registered as handling this file" / Places not wo  (Read 8403 times)

raimund

  • Newbie
  • *
  • Posts: 1
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

  • Administrator
  • Hero Member
  • *****
  • Posts: 2421
  • a command shell is enough to do amazing things
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

« Last Edit: April 18, 2012, 20:44:53 PM by Elmar »