Am Freitag, 26. März 2010 16:38:52 schrieb Lubos Lunak:
On Thursday 25 of March 2010, Christian Trippe wrote:
Am Donnerstag, 25. März 2010 12:07:51 schrieb Lubos Lunak:
On Monday 22 of March 2010, Christian Trippe wrote:
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?
Ok, maybe a minor improvement would be to change the sentence "Do you want to try to install it?" to "Do you want to try to install one?" in the first dialog.
Ok.
One other thing that came to my mind. How is the application for this mime type determined and searched.
Try e.g. "zypper what-provides 'mimetype(text/html)'". Rpm includes a script which creates such provides from .desktop files of applications.
Today I clicked on a po file and as expected the new mimetype dialog appeared. The search was successful and gave me the option to install gtranslator from contrib. I would have expected that lokalize would be offered for installation A manual search gave zypper what-provides 'mimetype(text/x-gettext-translation)' Daten des Repositorys laden ... Installierte Pakete lesen ... S | Name | Typ | Version | Arch | Repository --+-------------+-------+-------------+------+--------------------- | gtranslator | Paket | 1.9.6-1.2 | i586 | Contrib | lokalize | Paket | 4.4.2-112.7 | i586 | KDE4 | lokalize | Paket | 4.3.5-0.1.4 | i586 | openSUSE-11.2-Update | lokalize | Paket | 4.3.1-3.7 | i586 | openSUSE-11.2-Oss So indeed lokalize would also have been a possible choice. So my question is how is the package determined which gets installed if there are several possibilities? And would it be useful (and possible) to prefer KDE packages? Christian -- To unsubscribe, e-mail: opensuse-kde+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kde+help@opensuse.org