I'm working on a tool which provides a quick application search by filtering a list of all applications (Similar to the KDE4 or Win7 application search). It's written in Python with Qt4.
The GUI/filtering stuff already works but I got problems to properly build up the application list. My approach is to read the information from the .desktop-Files in /usr/share/applications/hildon/ . With the dbus-servicename (X-Osso-Service=) the program can be started with osso.Application.application_top(), which unfortunatly works not always, but still in most cases.
My main problem is right now, that I don't know how to get the properly localized application names. Let me explain that on an example:
I'm working on a tool which provides a quick application search by filtering a list of all applications (Similar to the KDE4 or Win7 application search). It's written in Python with Qt4.
The GUI/filtering stuff already works but I got problems to properly build up the application list. My approach is to read the information from the .desktop-Files in /usr/share/applications/hildon/ . With the dbus-servicename (X-Osso-Service=) the program can be started with osso.Application.application_top(), which unfortunatly works not always, but still in most cases.
My main problem is right now, that I don't know how to get the properly localized application names. Let me explain that on an example:
This is the osso_calculator.desktop file:
I also would be thankful for comments and suggestions on the general approach!
-
Sebastian