On Wed, 6 Nov 2013 21:52:39 +0000 "Antognolli, Rafael"
<[email protected]> said:

> Hello everyone,
> 
> I just added a request to include the elm-misc package on Tizen IVI, which
> sets the env var ELM_PROFILE to mobile, making the UI more "touch friendly".
> However, this setting, and others done in this file, could be done all in the
> elementary config file.
> 
> Is there any reason to not set them there?

i think it's simply lack of understanding/knowing how the config system works
in elm and using a much simpler env var override which also exist primarily for
debugging/testing purposes.

> Currently, elementary is set to use the "standard" profile as default, but
> could easily be changed to use "mobile" instead. Or we could just add another
> package (even the elm-misc one) to set the config file itself, since it is
> going to be read anyway, instead of setting extra environment variables.
> 
> Any thoughts on this?

/usr/share/elementary/config/profile.cfg indicates what profile to use by
default (if it doesn't exist, "default" is used. by default out-of-the-box elm
sets profile.cfg to "standard").

the way i would recommend is to split this at packaging time. i would also
recommend that any new theme be ADDED (not replace default) because as time
goes on, default ADDS new features and if anything replaces it - it has to keep
track of everything added and also add it. so realistically you want a package
that ADDS an "tizen-ivi" profile into that config dir and the profile.cfg file
is split out as a separate micro-package with one provided by default that is
the same as current build, and then with ivi having a replacement package that
haves a profile.cfg saying "tizen-ivi" as profile and mobile having one that
says "tizen-mobile" as profile (and tizen mobile providing a profile pkg too).
so these themes act as switches for the default config setup for that tizen
profile (1:1 matching with elm's profiles). the tizen-ivi and tizen-mobile
profile pkgs include config that sets elm up appropriately for that environment
by default (note users can override this with personal config). this config
should definitely do things like point to a new theme like "tizen" or something
if you want a look other than the default out-of-the-box... :)

> Regards,
> Rafael
> _______________________________________________
> Dev mailing list
> [email protected]
> https://lists.tizen.org/listinfo/dev
> 


-- 
Carsten Haitzler (The Rasterman) <[email protected]>
_______________________________________________
Dev mailing list
[email protected]
https://lists.tizen.org/listinfo/dev

Reply via email to