I was hoping that this was a kind of test setup and not a real life screenshot :/
Having a short look at the code I have to admit that the logic of the dialog isn't very good. The case in which a file cannot be opened at all isn't handled. That is why you get this strange dialog. Unfortunately we don't know the path of the file. Only the human undfriendly mime type, e.g audio/x-mp3. I already implemented some tricks to get a nice name of the requesting application. I could add a test if we cannot get a real world name for mime type, but what to do in this case? Should we point to an Internet site or support platform? Getting the name of the distro is easy. I could add this to your code changes afterwards: platform.dist()[0] You can use the test command in the sessioninstaller source code to trigger the dialog yourself: In a terminal session run: ./session-installer And in a second one: ./test --install-mime-types "audio/x-mp3 audio/x-ogg" ** Description changed: + Logic of the mime type handler dialog isn't very good: + + * Doesn't handle the case in which we could not find a mime type handler at all + * Doesn't handle unknown mime types + + -- + I am using 12.04. When opening an unknown file type, Nautilus will attempt to find and install the needed software. Currently, the window text is, "nautilus requires to install software to open files of the following file type: " I propose that we change the wording to (1) Nautilus needs to install additional software to open this type of file: - (2) Nautilus requires installing additional software to open these files: - (3) Nautilus requires installing additional software to open files of the following type: + (2) Nautilus requires installing additional software to open these files: + (3) Nautilus requires installing additional software to open files of the following type: or something similar. I have attached a screenshot -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1125514 Title: Wording fix for "Install software to open files?" window To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/sessioninstaller/+bug/1125514/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
