Comments on: Application Icons in the Package Selector https://lizards.opensuse.org/2009/02/04/application-icons-in-the-package-selector/ Blogs and Ramblings of the openSUSE Members Fri, 06 Mar 2020 17:50:09 +0000 hourly 1 https://wordpress.org/?v=4.7.5 By: andrew https://lizards.opensuse.org/2009/02/04/application-icons-in-the-package-selector/#comment-727 Mon, 09 Feb 2009 21:22:12 +0000 http://lizards.opensuse.org/?p=405#comment-727 This is an excellent idea from a users perspective and gives another level of polish to YAST installer. Keep up the good work.

]]>
By: ms https://lizards.opensuse.org/2009/02/04/application-icons-in-the-package-selector/#comment-723 Fri, 06 Feb 2009 00:41:51 +0000 http://lizards.opensuse.org/?p=405#comment-723 RPM defines an “Icon:” tag, it was used to store either a XPM or GIF. Might be an idea to revive it… One could even cache them along the repometadata.

]]>
By: Thomas Goettlicher https://lizards.opensuse.org/2009/02/04/application-icons-in-the-package-selector/#comment-720 Thu, 05 Feb 2009 11:23:03 +0000 http://lizards.opensuse.org/?p=405#comment-720 I want to explain some technical details:

The package selector uses .desktop files for this feature. It searches the file list for .desktop files and extracts the Name and Icon attributes. It translates the name to the user’s language and searches for the appropriate icons.

The .desktop file contains an Exec attribute as well. Therefore the package selector knows the binary to run. I think it would be nice to start the application when the user clicks the icon. Technically it is possible to find out whom the display belongs and to run the application via sudo. Unfortunately security concerns forbid such ugly and insecure constructions.

]]>
By: Thomas Goettlicher https://lizards.opensuse.org/2009/02/04/application-icons-in-the-package-selector/#comment-719 Thu, 05 Feb 2009 10:52:34 +0000 http://lizards.opensuse.org/?p=405#comment-719 As far as I know this text makes sense on SLES/SLED. Perhaps we can hide it on openSUSE.

]]>
By: Thomas Goettlicher https://lizards.opensuse.org/2009/02/04/application-icons-in-the-package-selector/#comment-718 Thu, 05 Feb 2009 10:21:08 +0000 http://lizards.opensuse.org/?p=405#comment-718 I guess some users might be confused when they use an application and save data but can’t find it again afterwards. Think of someone who starts a word processor from the package selector and writes his doctor theses, saves the document and closes the application. If he starts searches for the document he cannot find it because it belongs a different user.

]]>
By: Thomas Goettlicher https://lizards.opensuse.org/2009/02/04/application-icons-in-the-package-selector/#comment-717 Thu, 05 Feb 2009 09:34:32 +0000 http://lizards.opensuse.org/?p=405#comment-717 Thanks for you comment. The package selector searches in the package’s file list for .desktop files and retrieves the Name and Icon attributes. That’s the reason why it only works for installed packages.

]]>
By: TheBlackCat https://lizards.opensuse.org/2009/02/04/application-icons-in-the-package-selector/#comment-714 Thu, 05 Feb 2009 00:41:04 +0000 http://lizards.opensuse.org/?p=405#comment-714 What if you had yast create a special, low permission user specifically for this purpose, and run the applications as that user?

]]>
By: Benjamin Weber https://lizards.opensuse.org/2009/02/04/application-icons-in-the-package-selector/#comment-712 Wed, 04 Feb 2009 20:48:13 +0000 http://lizards.opensuse.org/?p=405#comment-712 Where are you getting the application information from? Afaik rpm-md doesn’t contain it. Or is this only for installed packages?

It would be nice to automatically obtain the icons for applications on software portal too.

]]>
By: tom https://lizards.opensuse.org/2009/02/04/application-icons-in-the-package-selector/#comment-711 Wed, 04 Feb 2009 17:27:34 +0000 http://lizards.opensuse.org/?p=405#comment-711 Can we get rid of this
“the level of support is unspecified”
line in each package?

]]>