Missing Integration as default program for opening .zim files

Bug #981419 reported by robo47 on 2012-04-14
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
zim (Ubuntu)
Undecided
Unassigned

Bug Description

After installing ZIM I expect to be able to directly open .zim files with a double click, but it only appears in the right-click menu as "Open with ZIM Desktop Wiki".

Going via right-click to properties -> "Open with" even after clicking "Show other applications" does not show ZIM anywhere.

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: zim 0.54-1
ProcVersionSignature: Ubuntu 3.2.0-23.36-generic 3.2.14
Uname: Linux 3.2.0-23-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.0.1-0ubuntu2
Architecture: amd64
Date: Sat Apr 14 09:48:12 2012
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111012)
PackageArchitecture: all
SourcePackage: zim
UpgradeStatus: No upgrade log present (probably fresh install)

robo47 (robo47) wrote :
Paolo Stivanin (polslinux) wrote :

i have the same issue with "gtranslator"

Launchpad Janitor (janitor) wrote :

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

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

Seem to be an issue in nautilus or whatever component does the lookup
for the relevant application.

Notes (on my system):
* /usr/share/applications/zim.desktop exists
* it correctly lists application/x-zim-notebook
* it is index, the same mimetype shows in /usr/share/applications/mimeinfo.cache
* in nautilus the properties of the zim.notebook file show the same mimetype
* double clicking in nautilus goes to a text editor

Expected:
* double clicking in nautilus opens zim

Additional notes:
* xdg-mime query filetype also gives the correct mimetype
* xdg-open again opens in text editor (wrong) -- probably uses gnome component
* gnome-open also goes to text editor (wrong)
* mimeopen does open the file with zim (correct)

So think this bug should be assigned to proper Gnome component - not
sure which project that would be.

Felix Engel (felixengel) wrote :

I confirm the same problem after installing zim 0.54-1 on the following system:

Ubuntu 12.04.2 LTS precise
Kernel 3.5.0-36-generic
architecture x86_64

Zim was listed as an alternative, but not the standard application for opening Zim notebooks. From the context menu, however, it could not be assigned, as it did not appear in the 'other applications' list (as described in the original bug report).

The problem was fixed by adding the following line to /etc/gnome/defaults.list:
application/x-zim-notebook=zim.desktop

Zim now is the default application for opening Zim notebooks. But it still does not appear under 'other applications'.

Felix Engel (felixengel) on 2013-07-22
tags: added: integration
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers