I'm not convinced the patch is correct; you're incorrectly looking for the "nautilus" .desktop file, when we install one specifically for browsing folders (namely nautilus-folder-handler.desktop, which uses the commandline nautilus --no-desktop %U). Ideally we'd just set_as_default_for_type that specific entry, by looking it up by id (the "Name" field of the desktop entry file; "Open Folder").
This also looks a bit bogus to me: + g_warning("inode/directory points to '%s' - fixing", g_app_info_get_executable(app), "nautilus"); -- 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