Launcher opens Trash with wrong apps, because it uses xdg-open
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ayatana Design |
Fix Released
|
Undecided
|
Unassigned | ||
One Hundred Papercuts |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
When I click on the Launcher's Trash icon, the image viewer opens, with the message "No images found in 'trash:///'." At other times totem has been chosen to open the directory. (Once, when the trash was full of large files, totem's efforts to open them all locked up the machine.)
What I expected was: the Trash folder opened with the file manager.
This is my penance, for the sin of having opened a directory, in Nautilus, with an app that it suggested. 'eog' and totem are the applications I have chosen in the past.
[I note, in Precise in early April now, that Nautilus only seems to suggest 'open folder' specifically. Otherwise it's "Find more applications". For me, that's what I want to do, and as long as any user can make that choice, I think this report applies.]
I have figured out how to find and edit the mimeapps.list file, and remove lines like this:
[Added Associations]
inode/
But I really don't want to do that! I still find those entries useful, in Nautilus' context menu. Of course, many people, like the rest of my family, would not dig into that, but start to think that Ubuntu doesn't get along very well with them.
This is senselessly confusing behavior, and I'm going to try nominating it as a papercut. There's at least one way it can be solved simply; whatever the maintainers choose, I would love to see it solved for Precise.
The simplest fix I can see is to call Nautilus directly, and that seems very reasonable to me. The associations in mimeapps.list only get involved because we call
xdg-open trash:///
in TrashLauncherIc
Unity doesn't try to integrate other choices of file manager, as far as I can see. The options for default applications (when I eventually found them! ;) , don't include a choice of file manager.
It looks like Nautilus is Unity's file manager. Can't the Launcher call it directly, and not leave some users off in the weeds?
Thanks.
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: unity 5.6.0-0ubuntu4
tags: | added: file-associations |
summary: |
- Launcher opens Trash with wrong apps, via xdg-open + Launcher opens Trash with wrong apps, because it uses xdg-open |
Well, as of some recent upgrade, my Nautilus no longer offers "Open With", for directories. So that route to the problem is closed, for the moment.
I haven't found the changelog for that yet, or discussion about it.
If that's gone, I'm gonna miss that feature, and if I got it back, this bug might still be an issue. Maybe I can do a wishlist bug for that, but I'll wait and see what's happening. 'Til after Precise, anyway.
So I'll see what happens in the next few weeks of development before changing this bug status, I guess.