Hi folks
For the Ubuntu Software Center 2.0, we’re introducing subcategories for installable software. However, we need a little programming help in working out what those subcategories should be.
We want to do a card sorting exercise to categorize the packages. Basically this means recruiting user test participants, showing them 50 or so cards each with information about one package, and getting the participants to arrange those cards into categories.
But, how to print those cards? Each card needs to show some of the same information as the Ubuntu Software Center shows:
- the application’s name from app-install-data, or the package’s synopsis
- the application’s summary from app-install-data, or the package’s name
- the application’s icon from app-install-data, or a generic package icon
- the package’s description.
As a starter, here’s a script that chooses 50 packages at random and prints their name, summary, and description:
The next step here is to parse the /usr/share/app-install/ files to return the icons and human-readable names if they’re present, falling back to the basic package data if they’re not.Code:#! /usr/bin/python import random import apt cache = apt.Cache() for package in random.sample(cache, 50): print "Package: %s" % package.name print "Summary: %s" % package.candidate.summary print "Description: %s" % package.candidate.description
Once we have that, we need to turn that data into a printable card (ideally with multiple cards per page). What’s the best way to do this? Maybe a script that produces an SVG, with the icon and text embedded. Maybe a “Mail Merge” in OpenOffice.org Writer. Maybe something else. Anyone have any ideas?
Thanks in advance to anyone who can help out.
Bookmarks