Discussion:
Additional devices in icon-naming-spec
Jerome Leclanche
2014-04-14 10:49:29 UTC
Permalink
Hi list

I'm in need of some extra devices which are not currently specified in
the icon-naming-spec. Namely:

devices:
tablet: A portable large-screen device with touch capabilities (eg
ipad; NOT an input device, different from input-tablet)
laptop: A "computer" device recognized as a laptop.
ebook-reader: A portable large-screen device meant primarily for
reading (eg. kindle)
gps: A GPS device
fax-machine: Yes, I'm seriously requesting that. :)
router: We have "modem", makes sense to add "router" as well (I'm not
overly attached to it, can do without)
headphones: A headphone device
headset: A headphone device *with* microphone (not overly attached either)

NOTE: Maybe we should move (some of?) these to "device-"? I think it's
fine as it is but "router" and "tablet" are pretty generic names.

media:
media-sdcard: A SD card. I'd like to split this from media-flash as
it's not currently possible to differenciate between "generic USB
stick" and "generic SD card".

input:
input-fingerprint-reader: A fingerprint reader device.


I can and will be using my own icon for all these for the time being,
however I figure we stand to gain by adding these to the
icon-naming-spec. If I can get some positive reactions for at least
some of these, I'll file a bug and send a patch.

J. Leclanche
Côme BERNIGAUD
2014-04-14 11:47:53 UTC
Permalink
Yes, please step forward and update this spec which has not been updated
since 2006 and lacks a lot of stuff.
I had great troubles with icons not having consistent names across
themes (just look at Tango and Oxygen, both does not use the same
conventions for things which are not defined in icon-naming-spec).

I think you don’t need the device- prefix as these icons will be in the
devices category.

You may wanna use the fallback system and rename headset to
headphone-headset, falling back to headphone if this one is not there.
From icon-naming-spec: «The specific media type icons should be named
in the form, <primary function>-<specific format>. Some examples are
“media-optical”, “media-optical-bd” and “media-optical-dvd”.», so I
guess it’s a good thing to reuse this dash generic prefix system.
This is also why you should avoid using dashes in "ebook-reader" and
"fax-machine", unless you expect more generic ones called fax and ebook.
Maybe some devices should have a common prefix, I’m thinking for
instance of modem and router. Fax may also be printer-fax, not sure.
Should tablet be pda-tablet or phone-tablet? multimedia-tablet?
computer-tablet might be the more accurate.
headphone and headset should definitely have an audio- prefix.
laptop should be computer-laptop.

Looking forward to reading your patch.

Côme
Post by Jerome Leclanche
Hi list
I'm in need of some extra devices which are not currently specified in
tablet: A portable large-screen device with touch capabilities (eg
ipad; NOT an input device, different from input-tablet)
laptop: A "computer" device recognized as a laptop.
ebook-reader: A portable large-screen device meant primarily for
reading (eg. kindle)
gps: A GPS device
fax-machine: Yes, I'm seriously requesting that. :)
router: We have "modem", makes sense to add "router" as well (I'm not
overly attached to it, can do without)
headphones: A headphone device
headset: A headphone device *with* microphone (not overly attached either)
NOTE: Maybe we should move (some of?) these to "device-"? I think it's
fine as it is but "router" and "tablet" are pretty generic names.
media-sdcard: A SD card. I'd like to split this from media-flash as
it's not currently possible to differenciate between "generic USB
stick" and "generic SD card".
input-fingerprint-reader: A fingerprint reader device.
I can and will be using my own icon for all these for the time being,
however I figure we stand to gain by adding these to the
icon-naming-spec. If I can get some positive reactions for at least
some of these, I'll file a bug and send a patch.
J. Leclanche
_______________________________________________
xdg mailing list
http://lists.freedesktop.org/mailman/listinfo/xdg
Jerome Leclanche
2014-04-14 13:24:11 UTC
Permalink
Hi,

On Mon, Apr 14, 2014 at 12:47 PM, Côme BERNIGAUD
Post by Côme BERNIGAUD
Yes, please step forward and update this spec which has not been updated
since 2006 and lacks a lot of stuff.
I had great troubles with icons not having consistent names across themes
(just look at Tango and Oxygen, both does not use the same conventions for
things which are not defined in icon-naming-spec).
I think you don’t need the device- prefix as these icons will be in the
devices category.
You may wanna use the fallback system and rename headset to
headphone-headset, falling back to headphone if this one is not there.
From icon-naming-spec: «The specific media type icons should be named in the
form, <primary function>-<specific format>. Some examples are
“media-optical”, “media-optical-bd” and “media-optical-dvd”.», so I guess
it’s a good thing to reuse this dash generic prefix system.
That's for media types though. According to the spec the fallback for
devices is understood as <primary function>-<manufacturer>-<model>.
Falling back on "headphone" if "headphone-headset" is not present
sounds fine, but then needs to be specified as such imho.
"drive-removable-media" which is also in the spec would make no sense
as "drive-removable"; same goes for "multimedia-player".
Post by Côme BERNIGAUD
This is also why you should avoid using dashes in "ebook-reader" and
"fax-machine", unless you expect more generic ones called fax and ebook.
Maybe some devices should have a common prefix, I’m thinking for instance of
modem and router. Fax may also be printer-fax, not sure. Should tablet be
pda-tablet or phone-tablet? multimedia-tablet? computer-tablet might be the
more accurate.
headphone and headset should definitely have an audio- prefix.
laptop should be computer-laptop.
In a more generic way: Agreed on computer-laptop. Also agreed on
audio-headphones and audio-headphones-headset. Maybe
media-flash-sdcard instead of media-sdcard.
I suppose it would make sense to move things to a mobile- prefix if
you go with that. mobile-pda (move it there), mobile-phone (does not
replace phone, however would fall back to it I suppose),
mobile-phone-smartphone, mobile-tablet, mobile-tablet-reader (?
instead of ebook-reader). We could also move multimedia-player to
mobile-multimedia-player.
I didn't want to nab the name "fax" as that is what you would call the
document itself. If a single-word logic must be retained, we could go
with one of "phone-fax", "telecopier" or "phone-telecopier". Anyway,
for some reason I don't think there'll be too many actual users of
that icon :)

We could move router to network-router. modem can stay where it's at.

Forgot two in my original email: drive-harddisk-ssd, for SSDs (falls
back to drive-harddisk) and media-sim for SIM cards (need it on phones
and tablets).
Post by Côme BERNIGAUD
Looking forward to reading your patch.
Côme
Post by Jerome Leclanche
Hi list
I'm in need of some extra devices which are not currently specified in
tablet: A portable large-screen device with touch capabilities (eg
ipad; NOT an input device, different from input-tablet)
laptop: A "computer" device recognized as a laptop.
ebook-reader: A portable large-screen device meant primarily for
reading (eg. kindle)
gps: A GPS device
fax-machine: Yes, I'm seriously requesting that. :)
router: We have "modem", makes sense to add "router" as well (I'm not
overly attached to it, can do without)
headphones: A headphone device
headset: A headphone device *with* microphone (not overly attached either)
NOTE: Maybe we should move (some of?) these to "device-"? I think it's
fine as it is but "router" and "tablet" are pretty generic names.
media-sdcard: A SD card. I'd like to split this from media-flash as
it's not currently possible to differenciate between "generic USB
stick" and "generic SD card".
input-fingerprint-reader: A fingerprint reader device.
I can and will be using my own icon for all these for the time being,
however I figure we stand to gain by adding these to the
icon-naming-spec. If I can get some positive reactions for at least
some of these, I'll file a bug and send a patch.
J. Leclanche
_______________________________________________
xdg mailing list
http://lists.freedesktop.org/mailman/listinfo/xdg
_______________________________________________
xdg mailing list
http://lists.freedesktop.org/mailman/listinfo/xdg
Côme BERNIGAUD
2014-04-14 14:19:27 UTC
Permalink
Post by Jerome Leclanche
That's for media types though. According to the spec the fallback for
devices is understood as <primary function>-<manufacturer>-<model>.
Falling back on "headphone" if "headphone-headset" is not present
sounds fine, but then needs to be specified as such imho.
"drive-removable-media" which is also in the spec would make no sense
as "drive-removable"; same goes for "multimedia-player".
True, but there is a lot of uses of this kind of fallbacks, it is often
used for mimetypes, and applications, I’ve seen themes with
internet-mail-thunderbird icon and internet-mail fallback (btw,
applications/internet-mail and applications/internet-browser are not
even in icon-naming-spec :-O)
Maybe we should even add this fallback logic to icon-theme-spec?
Post by Jerome Leclanche
In a more generic way: Agreed on computer-laptop. Also agreed on
audio-headphones and audio-headphones-headset. Maybe
media-flash-sdcard instead of media-sdcard.
Why not.
Post by Jerome Leclanche
I suppose it would make sense to move things to a mobile- prefix if
you go with that. mobile-pda (move it there), mobile-phone (does not
replace phone, however would fall back to it I suppose),
This is a problem I had also, most themes have a mobile phone icon in
devices/phone, and when you DO need an icon for phones, you’re screwed.
Post by Jerome Leclanche
mobile-phone-smartphone, mobile-tablet, mobile-tablet-reader (?
instead of ebook-reader). We could also move multimedia-player to
mobile-multimedia-player.
not sure about ebook specializing tablet and multimedia-player in mobile…
Post by Jerome Leclanche
I didn't want to nab the name "fax" as that is what you would call the
document itself. If a single-word logic must be retained, we could go
with one of "phone-fax", "telecopier" or "phone-telecopier". Anyway,
for some reason I don't think there'll be too many actual users of
that icon :)
devices/fax can be used as the document itself would not be in devices.
telecopier is also ok. Not sure about putting that under phone prefix…
Post by Jerome Leclanche
We could move router to network-router. modem can stay where it's at.
Forgot two in my original email: drive-harddisk-ssd, for SSDs (falls
back to drive-harddisk) and media-sim for SIM cards (need it on phones
and tablets).
Jerome Leclanche
2014-04-14 14:23:45 UTC
Permalink
On Mon, Apr 14, 2014 at 3:19 PM, Côme BERNIGAUD
Post by Jerome Leclanche
That's for media types though. According to the spec the fallback for
devices is understood as <primary function>-<manufacturer>-<model>.
Falling back on "headphone" if "headphone-headset" is not present
sounds fine, but then needs to be specified as such imho.
"drive-removable-media" which is also in the spec would make no sense
as "drive-removable"; same goes for "multimedia-player".
True, but there is a lot of uses of this kind of fallbacks, it is often used
for mimetypes, and applications, I’ve seen themes with
internet-mail-thunderbird icon and internet-mail fallback (btw,
applications/internet-mail and applications/internet-browser are not even in
icon-naming-spec :-O)
Maybe we should even add this fallback logic to icon-theme-spec?
Post by Jerome Leclanche
In a more generic way: Agreed on computer-laptop. Also agreed on
audio-headphones and audio-headphones-headset. Maybe
media-flash-sdcard instead of media-sdcard.
Why not.
Post by Jerome Leclanche
I suppose it would make sense to move things to a mobile- prefix if
you go with that. mobile-pda (move it there), mobile-phone (does not
replace phone, however would fall back to it I suppose),
This is a problem I had also, most themes have a mobile phone icon in
devices/phone, and when you DO need an icon for phones, you’re screwed.
That's what "devices/phone" is, as opposed to suggested
devices/mobile-phone. At least that's how I understood it
Post by Jerome Leclanche
mobile-phone-smartphone, mobile-tablet, mobile-tablet-reader (?
instead of ebook-reader). We could also move multimedia-player to
mobile-multimedia-player.
not sure about ebook specializing tablet and multimedia-player in mobile…
I'm fine with mobile-ebook-reader and multimedia-player instead.
Post by Jerome Leclanche
I didn't want to nab the name "fax" as that is what you would call the
document itself. If a single-word logic must be retained, we could go
with one of "phone-fax", "telecopier" or "phone-telecopier". Anyway,
for some reason I don't think there'll be too many actual users of
that icon :)
devices/fax can be used as the document itself would not be in devices.
telecopier is also ok. Not sure about putting that under phone prefix…
So devices/telecopier then. Sounds fine to me.
Post by Jerome Leclanche
We could move router to network-router. modem can stay where it's at.
Forgot two in my original email: drive-harddisk-ssd, for SSDs (falls
back to drive-harddisk) and media-sim for SIM cards (need it on phones
and tablets).
J. Leclanche
Côme BERNIGAUD
2014-04-14 15:48:08 UTC
Permalink
Post by Jerome Leclanche
On Mon, Apr 14, 2014 at 3:19 PM, Côme BERNIGAUD
Post by Côme BERNIGAUD
This is a problem I had also, most themes have a mobile phone icon in
devices/phone, and when you DO need an icon for phones, you’re screwed.
That's what "devices/phone" is, as opposed to suggested
devices/mobile-phone. At least that's how I understood it
That’s what it’s supposed to be, but it’s not in most existing icon themes…
Loading...