After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 107934 - Theme format change
Theme format change
Status: RESOLVED FIXED
Product: gnome-themes
Classification: Deprecated
Component: General
unspecified
Other other
: Normal normal
: ---
Assigned To: Jonathan Blandford
Jonathan Blandford
Depends on: 105047
Blocks: 105048
 
 
Reported: 2003-03-09 20:03 UTC by Andrew Sobala
Modified: 2005-10-02 14:45 UTC
See Also:
GNOME target: ---
GNOME version: 2.9/2.10



Description Andrew Sobala 2003-03-09 20:03:47 UTC
At the moment a theme ("metatheme") looks like this

---------------------------
[Desktop Item]
Name=$name
Comment=$comment

[X-GNOME-Metatheme]
{stuff}
---------------------------

This is bad for mime type reasons - it comes across as
application/x-gnome-app-info which is not a theme. This makes it hard to
associate programs with themes.

The code (almost, bug 105047) exists to make it look like this.

---------------------------
[X-GNOME-Metatheme]
Name=$name
Comment=$comment
{stuff}
---------------------------

The themes in gnome-themes should be migrated to this new format sometime
so that theme tools will work properly, ala themus.

Maybe this transition shouldn't take place until 2.3.x for complete
compatibility within a minor release.
Comment 1 Calum Benson 2003-03-25 19:12:37 UTC
Probably one for Seth and Jonathan to chew over rather than me :)
Comment 2 Jonathan Blandford 2004-11-29 16:36:38 UTC
Yeah, I could be happy with that change.  The reason we made it a .desktop file
originally was to add an 'exec' field that would do something interesting;
having nautilus know about the themes seems simple enough.
Comment 3 Seth Nickell 2004-11-29 21:29:43 UTC
Seems like a good idea....
Comment 4 Seth Nickell 2004-11-29 21:31:12 UTC
That said, we really want a theme bundle format that'd mime type detectable.
Just having the metatheme is ok, but it won't usually be useful. It'd be nice to
have something so that, say, art.gnome.org can have links you click on and the
theme gets added to your themes list.
Comment 5 Thomas Wood 2005-09-17 23:42:22 UTC
If anyone has any thoughts on an appropriate filename extension for x-gnome-metatheme, we could 
make a start on creating proper metatheme "packages".
Comment 6 Thomas Wood 2005-10-02 14:45:48 UTC
Fixed in CVS