On Monday 22 of March 2010, Christian Trippe wrote:
Hello,
I installed the packages from home:llunak:ksuseinstall. What I have discovered so far:
2.) Today I wanted to have a look at zypper.log before I attached it to a bug report. So I clicked on it in Dolphin with the expectation that it is opened with kwrite, but I got a dialog containing
There is an application installed that can also open file of the type text/x- log, but there is no specialized application for this file type. Do you want to try to install it?
Yes/No
I was not sure what specialized application would exist for this case, but I thought "Let's try it out."
This is a problem with mimetypes :(. Each mimetype can be a subclass of another one. For example, here text/x-log is a subclass of text/plain, because a log is basically a text file, so everything you can do with text/plain you can do also with text/x-log. Opening text/x-log with KWrite is perfectly fine. The problem is for example with application/x-kvtml, which is a file containing words for KWordQuiz. It claims to be a subclass of application/xml, since it is an XML file. The problem is, handlers for application/xml are apps like Konqueror or KWrite, but you certainly are not interested in .kvtml files to be opened in them, you want them opened with KWordQuiz. That's what "specialized application" means, suggestions for better wording are welcome. For 11.3 I do not see a better option than whitelisting cases where subclassing is ok for this purpose.
End after this
The software to install could not be found in the currently enabled software repositories.It could be possibly located in additional repositories. Do you want to configure your repositories?
Yes/No
Choosing Yes launched yast2 repositories
And left me with no clue about which repo to add and which package to install. This is not so nice.
I know, and I don't know how to do that better. I mean, in this specific case KWrite should have been simply used, but assume you clicked on a file that doesn't have any application for it in the default repositories. How can this be any better when the code simply doesn't know where the app may be, if at all?
However this dialog will appear every time I try to open a .log file. It would be nice to have an option to disable the dialog
I have a don't-ask-again in my TODO. -- Lubos Lunak openSUSE Boosters team, KDE developer l.lunak@suse.cz , l.lunak@kde.org -- To unsubscribe, e-mail: opensuse-kde+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kde+help@opensuse.org