You are not logged in.
I usually work with gnome. Recently, I installed and opened konqueror in order to view a page with the browser.
From that point on, konqueror seems to have registered itself as default application, opening when an external drive is connected or "Open containing folder" is selected in firefox.
I have looked at ~/.config and dconf for a related key, but I didn't found something like that.
Can anyone provide the location of that setting?
Last edited by linas (2012-06-24 15:44:28)
Offline
I think it is: Xdg-open that handles that but I am not totally certain. With that wiki page you can check your configuration files, in your user - not system-wide, to see if indeed Konqueror is set as the default.
Offline
Here is something you can try:
xdg-open /For my case that opens the root folder using Thunar. If in your case that opens the root folder using Konqueror then xdg-open would likely be where your issue lies.
Offline
Yes, both xdg-open / and gvfs-open / launch konqueror.
Investigating further, I think the reason was that /usr/share/applications/mimeinfo.cache
contains the line:
inode/directory=kde4-kfmclient_dir.desktop;kde4-dolphin.desktop;nautilus.desktop;Adding to ~/.local/share/applications/mimeinfo.cache the line
inode/directory=nautilus.desktop;apparently solved the problem.
But why was it that way to begin with?
Offline
Have a look in kde4-kfmclient_dir.desktop and kde4-dolphin.desktop. If they each contain a line like
MimeType=inode/directory;then that's the cause. (I have the same problem with thunar.)
Offline
Both contain that line:
/usr/share/applications/kde4/kfmclient_dir.desktop
/usr/share/applications/kde4/dolphin.desktop
However, I think that's right, as they are able to open folders.
The problem is that kde4-kfmclient_dir.desktop was being prefered (probably because it was listed first).
What placed it there?
There is a small explanation of /usr/share/applications/mimeinfo.cache at http://wiki.debian.org/MIME
/usr/share/applications/mimeinfo.cache is created by update-desktop-database(1).
However, its main page states "The order of the desktop files found for a MIME type is not significant. Therefore, an external mechanism must be used to determine what is the preferred desktop file for a MIME type."
I guess that explains why it's placing it in alphabetical order, and xdg-open is just picking the first entry. ![]()
azleifel, just add the you want in or ~/.local/share/applications/mimeinfo.cache like I did.
Also, in nautilus you can right-click a folder and choose "Open with other application" (that will store it in ~/.local/share/applications/mimeapps.list in the [Added Associations] section).
Offline