Proposal: preferred-theme-spec - a spec for getting and setting default icon/cursor/sound themes

Vincent Untz vuntz at gnome.org
Mon Mar 26 06:43:50 PDT 2012


Le lundi 26 mars 2012, à 13:36 +0100, Jerome Leclanche a écrit :
> On Mon, Mar 26, 2012 at 1:33 PM, Vincent Untz <vuntz at gnome.org> wrote:
> 
> > Le dimanche 25 mars 2012, à 21:47 +0100, Jerome Leclanche a écrit :
> > > Hi lists
> > >
> > > Followup on my previous post, this is my submission for a spec that
> > stores
> > > default and fallback Icon, Cursor and Sound theme with the possibility of
> > > adding more themes or metadata to it.
> > >
> > >
> > https://docs.google.com/document/d/1Slqk1yTFsiTBS0P8EnDcqp5G7sGmJ8SW7iQTdw7NUTs/edit
> > >
> > > I'm looking for more comments and would like to eventually get the
> > process
> > > started on submitting it.
> >
> > It's unclear to me what's the exact goal of this spec: is it intended to
> > be used by theme authors as a hint for desktop environments? Or is it
> > intended to be used by desktop environments to store the theme
> > preferences of the user?
> 
> The latter. It's currently impossible to get/set default themes (unless you
> do it on an environment-per-environment basis), the spec solves that.

I would think that the right way to get the themes would be through
xsettings:

 http://specifications.freedesktop.org/xsettings-spec/xsettings-latest.html
 http://www.freedesktop.org/wiki/Specifications/XSettingsRegistry

(more settings could be added to the registry, if needed)

As for setting the theme, don't all environments provide a tool to
change the theme? Is your proposed spec intented to allow creating
third-party tools, or to script changing the theme?

Thanks,

Vincent

-- 
Les gens heureux ne sont pas pressés.


More information about the xdg mailing list