The default application for folders in gnome should be nautilus-folder-
handler, as it contains:

MimeType=x-directory/gnome-default-
handler;x-directory/normal;inode/directory;application/x-gnome-saved-
search;

Experimenting with ~/.local/share/applications/mimeapps.list I get the
following result:

[Added Associations]
inode/directory=nautilus-folder-handler.desktop;

==> I can't open the home folder from gnome-panel

[Added Associations]
inode/directory=nautilus.desktop;

Everything works as expected. So I suspect something is wrong with
nautilus-folder-handler.desktop on my intrepid system.

Using strace I found out that there was a local nautilus-folder-
handler.conf in  ~/.local/share/applications/

(Name and Comment grep-ed away)
--- local       2008-10-09 22:54:31.000000000 +0200
+++ system-wide 2008-10-09 22:49:19.000000000 +0200
@@ -1,9 +1,10 @@
 [Desktop Entry]
 Encoding=UTF-8
 Exec=nautilus --no-desktop %U
-Hidden=true
+Icon=folder-open
 
MimeType=x-directory/gnome-default-handler;x-directory/normal;inode/directory;application/x-gnome-saved-search;
 NoDisplay=true
+OnlyShowIn=GNOME;
 StartupNotify=true
 Terminal=false
 TryExec=nautilus
@@ -11,4 +12,5 @@
 X-GNOME-Bugzilla-Bugzilla=GNOME
 X-GNOME-Bugzilla-Component=general
 X-GNOME-Bugzilla-Product=nautilus
-X-GNOME-Bugzilla-Version=2.20.0
+X-GNOME-Bugzilla-Version=2.24.0
+X-Ubuntu-Gettext-Domain=nautilus

Deleting it solved the problem, as the system wide file seems to work.
But this arises two questions:

1. How did this file come to my $HOME?
2. Why didn't it work?

It seems as if this file is from gnome-2.20. Restoring the local version and 
setting Hidden=false everything works, too - but not using Hidden=true.
Was this attribute ignored before?

-- 
opening a directory using an application change associations incorrectly
https://bugs.launchpad.net/bugs/260492
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is a bug assignee.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to