info.icon in HAL
david at fubar.dk
Mon Mar 5 16:46:41 PST 2007
On Mon, 2007-03-05 at 19:05 -0500, Rodney Dawes wrote:
> On Mon, 2007-03-05 at 23:32 +0000, Richard Hughes wrote:
> > Okay, sounds like a plan. When you guys have decided on freedesktop
> > names for the icons and we have patches in gnomevfs then us HAL guys
> > can swing into action.
> I've put the guidelines for naming device icons in the Icon Naming Spec
> in CVS. I've made a list of some names, which will eventually become the
> Device Icon Naming Addendum.
So about names. As mentioned earlier, I'd like the HAL code to compute
info.icon_name so the property will be set unless it's overridden for a
specific device in info.icon_name. Now, choosing names is very
difficult, so here's one proposal.
For plain disks attached to hotpluggable ports on the systerm, it's
useful to see the connection type and having a nice logo that reflects
that (like in Mac OS X). Right now the main game in town is USB and
Firewire but we might want to add future connection types in the future
For optical drives, people normally only care whether the drive can
burn. We omit whether it can burn CD-R's, DVD-R's or other types of
discs (ICBW and we could drop this and expand drive-optical-* instead)
For removable media, it's useful to see what kind of media the drive
uses otherwise you end up with this kind of window
Some drives are "special" (this is for USB key chain drives) but also
This covers all the drives which is to say the enclosures for the media,
whether it's removable or not or how it's partitioned. For drives
without removable media we'll reuse the drive-* icon for volumes (e.g.
partitions) on that drive. Drives with removable media have distinct
icons as the media itself can change
Typically users wants to see a distinct icon for the disc type
I'm not at all suggesting that GNOME or KDE or whatever is going to ship
all these icons but I think it should be possible to create an icon
theme that uses all of them.
More information about the hal