On Mon, Mar 26, 2012 at 2:43 PM, Vincent Untz <[email protected]> wrote:
> Le lundi 26 mars 2012, à 13:36 +0100, Jerome Leclanche a écrit : > > On Mon, Mar 26, 2012 at 1:33 PM, Vincent Untz <[email protected]> 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. > _______________________________________________ > xdg mailing list > [email protected] > http://lists.freedesktop.org/mailman/listinfo/xdg > The issue is not just changing the theme, it's also getting it. This is an issue for libraries that provide tools to get file paths for a theme action (in this case, Qt's QIcon.fromTheme: http://qt-project.org/doc/qt-4.8/qicon.html#fromTheme). And while it's true DEs provide custom ways to change the local theme, someone may wish to create a cross-platform cross-desktop one. J. Leclanche
_______________________________________________ xdg mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/xdg
