/srv/irclogs.ubuntu.com/2006/12/31/#ubuntu-artwork.txt

=== chimai [n=chimai@AAnnecy-152-1-80-72.w86-194.abo.wanadoo.fr] has joined #ubuntu-artwork
chimaihi :)12:43
=== nekohayo [n=jeff@ip216-239-75-22.vif.net] has joined #ubuntu-artwork
nekohayohello folks, what are the documentation options available to me to make a fully compliant icon theme? I have checked a few websites, and they seem loosely related, sometimes outdated, and I don't even know what project or what documentation to trust (tango? freedesktop? or the gnome default icon theme?) I have a feeling that what is out there is not entirely complete and accurate :|12:45
TheSheepnekohayo: try http://tango.freedesktop.org/12:48
TheSheepnekohayo: freedesktop.org defines the icon naming conventions12:48
nekohayoTheSheep: hmm but it in turn points to http://standards.freedesktop.org/icon-naming-spec/icon-naming-spec-latest.html12:49
TheSheepnekohayo: tango is one example of an icon set that follows them12:49
nekohayoI looked at this and thought "what, that is all?"12:49
TheSheepnekohayo: yes12:49
nekohayoI mean, themes out there are much more complex/elaborate than that12:49
nekohayoand have far more mimetypes and stuff like that12:49
TheSheepnekohayo: well, mimetype naming convention is obvious12:50
TheSheepnekohayo: application-specific icons are named after the application12:50
TheSheepnekohayo: things like gimp of openoffice themes are separate12:50
=== PWill [n=paul@cpe-24-208-190-43.columbus.res.rr.com] has joined #ubuntu-artwork
nekohayoTheSheep: gimp + openoffice, that I somewhat understand the issue... but I don't think mimetype naming convention is obvious... yeah it is for "generic" mimetype "categories" such as "package-x-generic", but that's all you get on that page... I mean there is not even a single paragraph of explanation about that, it's just a table with a dozen of generic mimetypes.. what if someone wants to add an icon for some mimetype such as a "jarnal"12:52
nekohayofile, or a matroska video, or something12:52
TheSheepnekohayo: if the mimetype is  major/minor, then the corresponding icon is major-minor.foo, where foo is the image extension12:53
TheSheepnekohayo: for example, text/html is text-html.svg12:54
TheSheepnekohayo: I've seen the gtk code that looks for icons, it checks major-minor.foo first, then fallbacks to major-x-generic.foo12:55
nekohayofor applications, "regular" applications such as inkscape and gedit request an icon name such as "inkscape.*", but there are tons of things in the administration/preferences menu I could not figure out :|12:55
=== chimai wonders why he don't get a single word of what nekohayo and TheSheep are talking about
nekohayoand looking at other themes is confusing things up nicely too @_@12:57
TheSheepnekohayo: they will either use one of the "standard" icons, or a non-standard addition, like gnome-something-something or kde-something-something -- in that case look at the gnome or crystal icon themes12:57
TheSheepnekohayo: it's still a mess, although slowly clearing up12:58
nekohayoTheSheep: looking at gnome 2.16's icon theme, it is scaring me the hell off12:59
chimaiIs there any soft which could generate correct icon themes?12:59
TheSheepchimai: there are some scripts on the tango project website12:59
chimaiok, i'm gonna take a look01:00
nekohayoTheSheep: in that theme, I can see the same application icons like... 5 times or something, I can see the same mimetype icon 29 times!! how do we know what's good and what's wrong in that?01:00
TheSheepnekohayo: the duplicates are usually symlinks01:01
chimai29 times? O__o01:01
chimaiHow dirty... :/01:01
TheSheepchimai: for backward compatibility :)01:01
TheSheepchimai: it was a total mess some time ago, every app for itself01:01
nekohayoTheSheep: why backwards compatibility if that theme is shipped "inside" a gnome release?01:02
TheSheepnow we at least have a standard to follow, even when some applications are still not up-to-date with it01:02
chimaiEurk... I'm really not an addept of the "backward compatibility", you know... it's because of that that we're still using BIOS and other old things like that01:02
nekohayohmm01:03
TheSheepnekohayo: because changing the icon paths in all those little apps takes time01:03
TheSheepnekohayo: and introduces bugs01:03
nekohayoTheSheep: you mean the mimetypes and application icon's stuff? isn't that automatic?01:03
nekohayoI did not think application hardlinked to them (it would be a bit crazy imho)01:03
TheSheepnekohayo: I invested some of my time into researching this some time ago, and I conclude there are some gnome libraries for that, but if you want a pure-gtk, gnome-free application, you need to handle that yourself01:04
nekohayothere IS something in gnome that allows an application to ask "ok what is the icon to use for THIS mimetype" right?01:04
nekohayommmh01:05
TheSheepnekohayo: as I said, the gtk apps (like the file chooser, for example), just take the mime type, change the / into - and attach an extension at the end...01:05
chimaigive me an exemple please... what should the name be for a .ogg file? and for a .wmv ?01:06
TheSheepchimai: I don't remember their mime types01:07
chimai:/01:07
chimaiand where can i find it?01:07
TheSheepapplication/ogg01:07
chimaiit beats me :/01:08
TheSheepso it would be application-ogg.png (or .svg or .xpm or whatever)01:08
nekohayoTheSheep: slightly off-topic but I noticed something... some files "change" mimetypes when I select them (ogg files for example). wtf? :)01:08
TheSheepnekohayo: .ogg and .avi are "container" files, .ogg might be either audio or video file, for example01:09
TheSheepnekohayo: I think that might be the reason01:09
nekohayohmm01:09
TheSheepnekohayo: there are two ways of check the mime type of file01:09
TheSheepnekohayo: based on it's name only, or based on the contents01:10
TheSheepnekohayo: the system function that does it takes a switch parameter that controls it01:10
TheSheepnekohayo: the former is much faster, of course01:10
chimaiTheSheep : but how do you know that it's "application"? Where did you find it? :/01:10
TheSheepchimai: file -i filename01:10
TheSheepchimai: there is a large database of mime types and corresponfing file uhm.. features01:11
TheSheepchimai: test, if you will01:11
TheSheeptests01:11
TheSheepchimai: see 'man magic' for details01:11
chimaichimai@tokyo:~$ file -i the_inner_life_of_a_cell.mp301:12
chimaithe_inner_life_of_a_cell.mp3: application/octet-stream01:12
chimai--> application-mp3.png, right?01:12
TheSheepchimai: no, application-octet-stream.png01:12
chimaiok :/01:12
chimai^^01:12
nekohayouh wtf.. isn't octet-stream for all the binary things? maybe I'm mixing things up01:12
TheSheepchimai: apparently it failed to determine the mime type for that file and have fallen back to the default01:12
nekohayoah01:13
chimai(i'm a dummy, but i will understand, don't worry :p )01:13
chimaichimai@tokyo:~$ file -i ./Desktop/Donnie\ Darko\ -\ Gary\ Jules\ -\ Mad\ World.mp301:14
chimai./Desktop/Donnie Darko - Gary Jules - Mad World.mp3: audio/mpeg01:14
chimai--> audio-mpeg.png ?01:14
nekohayoTheSheep: I've been thinking over that backwards compatibility thing, will there be a time when gnome says "OKAY folks, we are NOW breaking every icon theme in this release, make them anew or they will not work", for great justice?01:14
TheSheepchimai: yes01:14
chimaiw00t \o/01:14
TheSheepnekohayo: for sure01:14
chimaiit sure will be great01:14
TheSheepnekohayo: just not yet01:15
nekohayo:| .... any idea when?01:15
TheSheepnekohayo: people usually say "I don;t care about your stupid standards, that other distro has pretty icons"01:15
TheSheepnekohayo: when enough apps will be updated to use the new standard01:15
nekohayoand how can gnome know that has happened? what kinds of apps are targetted by this counter?01:16
TheSheepnekohayo: right now whole lots of them01:17
TheSheepnekohayo: I think that even parts of gtk01:17
TheSheepnekohayo: I mean the stock icons and stuff01:17
nekohayoyou mean core apps part of gnome, or the vast majority of gtk apps out there on the interweb?01:18
TheSheepnekohayo: the icons that are part of the gtk and the gnome libs01:18
TheSheepnekohayo: for example, look at /usr/share/icons/gnome/24x24/stock/01:19
nekohayoI doubt such a thing exists, but is there a checklist of apps that are not yet "fixed" to see the progress coming on?01:19
TheSheepnekohayo: they are all out of the standard01:19
=== nekohayo looks
TheSheepnekohayo: I think they are doing serious moves towards this standard since just 2 versions of gnome01:20
nekohayoTheSheep: omfg, you mean that on a ~1432 icon theme, the *standard* gnome icon theme, 637 of those are "junk"?01:20
TheSheepnekohayo: not junk, just not covered by the freedesktop standard01:21
TheSheepnekohayo: that is, they are gnome-specific01:21
nekohayowhat will happen of them? stay gnome-specific or all be reviewed to be included into FreeDesktop?01:21
TheSheepnekohayo: note how they overlap with the standard ones01:21
TheSheepnekohayo: hopefully, at least the ones that exist in the standard will be moved to the standard locations01:22
TheSheepnekohayo: one ones that don't will stay gnome-spacific01:22
TheSheepspecific01:22
nekohayoany hopes for that happening for gnome 2.18 or 2.20?01:22
TheSheepnekohayo: I don't track the gnome development, so I have no idea01:22
nekohayohah :|01:23
nekohayoI really hope they pass the vacuum cleaner in there ;)01:23
TheSheepnekohayo: I'm sure you could help -- it's mostly tedious work01:23
nekohayoTheSheep: hmm, how exactly can I help? I'm just a file renamer, not a programmer01:24
nekohayoif I could make it happen sooner I would be glad to01:25
TheSheepnekohayo: try contacting the gnome team maybe, I'm sure there are some pointers on their site01:25
nekohayo(hopefully the gnome website will have a shot of vacuum cleaner too ;))01:25
nekohayoI think they were planning on reorganizing it01:26
TheSheepnekohayo: it's one of the best made website I've seen01:26
chimaihttp://forge.novell.com/modules/xfmod/project/?gib01:26
TheSheepnekohayo: I mean from the technical pov, the organisation is weird01:26
chimaiseems to be dead :'(01:26
TheSheepchimai: I meant this http://tango.freedesktop.org/Tango_Icon_Library#Download01:27
nekohayochimai: just looked at their development mailing list, it has cellphone and video spam @_@01:27
chimaiOo01:28
chimaithat's why I *hate* mailing list01:28
chimaiboards are just so much better01:29
chimaiif I have something like that :01:32
chimaichimai@tokyo:~/Desktop$ file -i Desktop.tar01:32
chimaiDesktop.tar: application/x-tar, POSIX01:32
chimaiis the name "application-x-tar", or do i need to use the "POSIX"?01:33
nekohayoTheSheep: um, I grabbed that icon-naming tool, tried install.sh and I get "no input file specified."01:33
nekohayochimai: uh, I thought POSIX was some kind of standard of unix01:33
chimaidunno01:33
chimai:/01:33
nekohayo"Portable Operating System Interface for uniX"01:34
TheSheepit's "application-x-tar"01:34
TheSheepthat POSIX is just an additional comment on the file format01:34
TheSheepnot really a mime type01:34
chimaiok01:35
chimaiand do you know can i do to make a difference between .bz2 and .tar.bz2 files?01:35
chimaisince i obtain this01:36
chimaichimai@tokyo:~/Desktop$ file -i Desktop.tar.bz201:36
chimaiDesktop.tar.bz2: application/x-bzip201:36
nekohayoI don't quite get what I need to do with that icon naming util @_@01:36
nekohayobe right back, f00d01:36
chimaibon appetit01:36
chimaiif I got this01:47
chimaichimai@tokyo:~/Desktop$ file \[Requiem\] \ Simoun\ 16\ \[080EAD1C\] .avi.torrent01:47
chimai[Requiem]  Simoun 16 [080EAD1C] .avi.torrent: BitTorrent file01:47
chimaiit means that there isn't any existing name yet?01:47
chimaiTheSheep ?01:49
TheSheepchimai: file -i01:50
TheSheepchimai: to show the mime type01:50
chimaierf, i forgot it -________-01:50
=== chimai slaps himself
TheSheepchimai: tar.bz2 are obviously .bz2 files, *containing* a .tar file01:50
chimaioh, ok01:51
chimaiso i can't make 2 different icons, one for the .bz2 files, and the other for .tar.bz2 files? :'(01:53
TheSheepchimai: I think not01:56
chimaiok :/01:56
TheSheepchimai: btw, take a look at /usr/share/mime01:57
chimaigot it01:57
chimaiOMG, you roxxx O__O01:59
TheSheepchimai: there is also a freedesktop.org standard for those names...01:59
=== Seveas [n=seveas@ubuntu/member/seveas] has joined #ubuntu-artwork
chimaiTheSheep : do you know what can be the difference between "audio-mpeg" and "audio-x-mpeg"?02:15
=== troy_s [n=aphorism@d206-116-6-170.bchsia.telus.net] has joined #ubuntu-artwork
TheSheepchimai: 'x' is for 'extended', not originally in the standard02:17
chimai:/02:18
TheSheepchimai: there is an explanation at http://freedesktop.org/wiki/Standards_2fshared_2dfilemetadata_2dspec02:19
TheSheepchimai: I haven't read it02:20
TheSheepchimai: sorry, wrong rl02:20
TheSheepurl02:20
TheSheephttp://freedesktop.org/wiki/Standards_2fshared_2dmime_2dinfo_2dspec02:20
nekohayoTheSheep: did you try out that icon naming utility? I can't figure out how to run it, and the contents of the "INSTALL" file are the same as every darn tarball out there, it doesn't help02:20
TheSheepnekohayo: no, sorry, I only have the general pointers02:22
chimaiTheSheep : it doesn't deals with the "x" thing; but thanks anyway ;)02:22
TheSheepnekohayo: there is a mailing list for the tango project though02:22
TheSheepnekohayo: I'm sure they will be able to help02:22
TheSheepno wonder there are so few complete icon themes, eh? :)02:23
nekohayoTheSheep: @_@02:23
=== rrittenhouse [n=tad@cpe-76-188-35-66.neo.res.rr.com] has joined #ubuntu-artwork
nekohayoTheSheep: could I quote you? I think I'll need to bring attention to this (of course, "you do not official represent gnome", etc)... at least the icon theme makers must have had lots of problems @_@02:29
nekohayoofficially*02:29
TheSheepnekohayo: I'm not affiliated with any team, I doubt mentioning my name will have any result. Of course you can quote me, though.02:35
TheSheepnekohayo: note also that my informations are not particulary fresh02:35
nekohayoTheSheep: it's not really about the name, more about the insights you gave me :)02:36
TheSheepnekohayo: you will get much better info on related mailing lists02:36
nekohayohm hm02:36
chimaisleep time02:43
chimaisee you all02:43
chimaiand thanks a lot TheSheep ;)02:43
TheSheepgood night02:45
nekohayogood night!02:45
=== BHSPitLappy [n=steve-o@adsl-65-67-114-199.dsl.rcsntx.swbell.net] has joined #ubuntu-artwork
=== nekohayo [n=jeff@ip216-239-75-22.vif.net] has left #ubuntu-artwork ["Ex-Chat"]
=== UbuntuSt1ts [n=StatsBot@bl4-221-96.dsl.telepac.pt] has joined #ubuntu-artwork
=== klepas [n=klepas@60-242-104-119.tpgi.com.au] has joined #ubuntu-artwork
=== klepas [n=klepas@60-242-104-119.tpgi.com.au] has joined #ubuntu-artwork
=== msikma [n=Msikma@s55933ad4.adsl.wanadoo.nl] has joined #ubuntu-artwork
=== vdepizzol [n=vinicius@200.242.12.134] has joined #ubuntu-artwork
=== vdepizzol [n=vinicius@200.242.12.134] has left #ubuntu-artwork ["Ex-Chat"]
=== erp3 [n=rot@c83-254-148-234.bredband.comhem.se] has joined #ubuntu-artwork
=== rrittenhouse [n=tad@cpe-76-188-35-66.neo.res.rr.com] has joined #ubuntu-artwork
=== erp3 [n=rot@c83-254-148-234.bredband.comhem.se] has left #ubuntu-artwork []
=== BHSPitLappy [n=steve-o@adsl-67-64-106-69.dsl.rcsntx.swbell.net] has joined #ubuntu-artwork
=== chimai [n=chimai@AAnnecy-152-1-37-48.w83-205.abo.wanadoo.fr] has joined #ubuntu-artwork
=== Seveas [n=seveas@ubuntu/member/seveas] has joined #ubuntu-artwork
=== PWill [n=paul@cpe-24-208-190-43.columbus.res.rr.com] has joined #ubuntu-artwork
=== PWill [n=paul@cpe-24-208-190-43.columbus.res.rr.com] has joined #ubuntu-artwork
=== PWill [n=paul@cpe-24-208-190-43.columbus.res.rr.com] has joined #ubuntu-artwork
troy_shappy new year to everyone who is in the proper zone :)10:40
=== Weebit [n=unknown@h155.47.96.216.ip.alltel.net] has joined #ubuntu-artwork
=== PseudoPlacebo [n=Placebo@user-0ceveb4.cable.mindspring.com] has joined #ubuntu-artwork

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!