[Sugar-devel] [PATCH] Reduce default emulator resolution to 1024x768

Jonas Smedegaard dr at jones.dk
Thu Feb 19 10:27:45 EST 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thu, Feb 19, 2009 at 03:53:41PM +0100, Bernie Innocenti wrote:
>Jonas Smedegaard wrote:
>>> +DEFAULT_WIDTH  = 1024
>>> +DEFAULT_HEIGHT = 768
>> 
>> How about adjusting that patch to keep old values by default, but 
>> provide commandline arguments and perhaps let environment variables 
>> overrid default too)?
>> 
>> That would avoid surprises, while still allow testing alternate sizes 
>> without hacking the code.
>
>We already have a command line argument to change the default size,
>and few activity authors seem to test with anything but the default.
>
>The intention of this change is to surprise them a little.  We might
>even change it every once in a while to catch those who have
>hard-coded or special-cased the new default in their code.

Ok. I understood the surprise provocation part, but was not aware that 
it was already possible to set size at commandline (stupid me - I see 
now that it is right there in the non-changed parts of your diff!).

I have no strong opinion on your intention to provoke. Sounds like 
fun to change default size of the environment - you could even switch to 
a radical new size with each new (unstable) release. :-)

Anyway, I would like to try again, hopefully more clear this time, with 
this related thought of mine: It would be nice if the default - whatever 
it is, was expressed not inside the code but in a way that it could be 
changed per machine. I mentioned environment, but even better would be 
to put it in a config file. Then XOs could adjust from the default 
200x40000 to their odd default of theirs, Debian could have a complex 
debconf question at install time asking the admins preferred size for 
this installation, and whatever.

Does it make sense? Do you see the benefit of this? Do you see anything 
bad about this?


Kind regards,

  - Jonas

- -- 
* Jonas Smedegaard - idealist og Internet-arkitekt
* Tlf.: +45 40843136  Website: http://dr.jones.dk/

  [x] quote me freely  [ ] ask before reusing  [ ] keep private
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkmdenEACgkQn7DbMsAkQLiKlQCfRUYi3Z0Sd7BnnFy73rfv9g4P
PaMAoJFSTIeh7+KnW2TJaxlF+JRzqR2o
=9G9e
-----END PGP SIGNATURE-----


More information about the Sugar-devel mailing list