[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#561831: dolphin: "Open Containing Folder" doesn't open file browser but Okular



Package: dolphin
Version: 4:4.3.4-1
Severity: minor
Tags: patch

This bug is related to bug #490665 and #478309.

After Downloading a file in Iceweasel under KDE and right-clicking on the
filename in the download manager, you can choose the popup menu entry "Open
Containing Folder". This should open a filebrowser for the directory this file
was saved in. Instead it starts Okular, KDE's general document viewer, which
fails with an error message, because it can't handle URL which point to a
directory.

After searching around I found a solution to the problem which is described in
bug #490665.

* install xulrunner-1.9-gnome-support
* changed MimeType entry in /usr/share/applications/kde4/dolphin.desktop to
  MimeType=inode/directory;x-directory/normal;
* rebuild mimeinfo.cache (which is used by Iceweasel) by calling
  'update-desktop-database'

Note: it may be possible other applications are assigned to the MimeType
x-directory/normal (in my case 'kde4-kid3.desktop'). Iceweasel will pick the
application in order provided in the mimeinfo.cache. I do not know how we can
influence this order (maybe with InitialPreference in the .desktop files).


-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-trunk-686 (SMP w/2 CPU cores)
Locale: LANG=de_AT@euro, LC_CTYPE=de_AT@euro (charmap=ISO-8859-15)
Shell: /bin/sh linked to /bin/bash

Versions of packages dolphin depends on:
ii  kdebase-runtime           4:4.3.4-2      runtime components from the offici
ii  kdelibs5                  4:4.3.4-1      core libraries for all KDE 4 appli
ii  libc6                     2.10.2-2       GNU C Library: Shared libraries
ii  libgcc1                   1:4.4.2-4      GCC support library
ii  libkonq5                  4:4.3.4-1      core libraries for Konqueror
ii  libphonon4                4:4.5.3-4      Qt 4 Phonon module
ii  libqt4-dbus               4:4.5.3-4      Qt 4 D-Bus module
ii  libqtcore4                4:4.5.3-4      Qt 4 core module
ii  libqtgui4                 4:4.5.3-4      Qt 4 GUI module
ii  libsoprano4               2.3.1+dfsg.1-1 libraries for the Soprano RDF fram
ii  libstdc++6                4.4.2-4        The GNU Standard C++ Library v3
ii  libxext6                  2:1.0.4-1      X11 miscellaneous extension librar
ii  phonon                    4:4.5.3-4      Qt 4 Phonon module metapackage

Versions of packages dolphin recommends:
ii  kfind                         4:4.3.4-1  file search utility for KDE 4

dolphin suggests no packages.

-- no debconf information
--- dolphin.desktop	2009-12-20 15:35:00.000000000 +0100
+++ dolphin.desktop.working	2009-12-20 15:34:51.000000000 +0100
@@ -168,5 +168,5 @@
 GenericName[zh_CN]=文件管理器
 GenericName[zh_TW]=檔案管理程式
 Terminal=false
-MimeType=inode/directory;
+MimeType=inode/directory;x-directory/normal;
 InitialPreference=10

Reply to: