[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openmoko-shr-devel
Subject:    [Shr-devel] wallpaper
From:       sebastien.bonnegent () insa-rouen ! fr (Sebastien Bonnegent)
Date:       2009-01-29 20:34:07
Message-ID: 498212BF.6090409 () insa-rouen ! fr
[Download RAW message or body]

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


Thank you, it works perfectly.


Joel Newkirk a ?crit :
> On Mon, 26 Jan 2009 11:15:53 +0100, Sebastien Bonnegent
> <sebastien.bonnegent at insa-rouen.fr> wrote:
>> Hi,
>>
>> I want to change the default wallpaper in SHR. The configuration menu is
>> too large for the
>> screen, so I can't do what I want. I look for a command line capable to
>> change wallpaper
>> from a png file. Any ideas ?
>>
>>
>> Best regard
> 
> That's not trivial to do.  The wallpaper config menu lets you create
> background edje files, as well as select one to utilize.  The files are
> stored in either /home/root/.e/e/backgrounds or
> /usr/share/enlightenment/data/backgrounds.  
> 
> To manipulate them via console you need to install edje-utils, so that you
> have edje_decc and edje_cc to decompile and (re)compile .edj files.
> 
> As an example, I used the config to create a wallpaper edje of the png
> image 'CloudedSunset.png' (my own photo).  The .edc file consists of:
> 
> images { image: "CloudedSunset.png" LOSSY 90; }
> collections {
> group { name: "e/desktop/background";
> data { item: "style" "2"; }
> max: 480 640;
> parts {
> part { name: "col"; type: RECT; mouse_events: 0;
> description { state: "default" 0.0;
> color: 255 255 255 255;
> } }
> part { name: "bg"; mouse_events: 0;
> description { state: "default" 0.0;
> min: 480 640; max: 480 640;
> image { normal: "CloudedSunset.png"; }
> } } } } }
> 
> Placed in the same folder as "CloudedSunset.png" this can be compiled with
> :
> edje_cc $@ -id . -fd . cloudedsunset.edc -o CloudedSunset.edj
> 
> 
> 
> Now.   When you open up the wallpaper config, the very top line that's
> partly visible should contain radio buttons at the left for "personal" and
> "system" ('personal' I can only see the bottom of the 'l') followed by a
> checkbox for "use theme wallpaper".  'Personal' is
> /home/root/.e/e/backgrounds, 'system' is
> /usr/share/enlightenment/data/backgrounds.  Below that is a row containing
> the visible buttons 'Picture' and 'Gradient' - these are to create new
> backgrounds.  Below THAT is a list on the left of backgrounds found in
> Personal or System, while on the right is a preview of the selected
> background.
> 
> So whether you create a background in the wallpaper config, create the edge
> file manually, or download one premade, if it's in
> /usr/share/enlightenment/data/backgrounds then you can tap on 'system' and
> wait a few moments, then tap on the background's name in the left-side
> list, then hit 'OK'.
> 
> j
> 


- --
Cordialement - S?bastien Bonnegent

                  "GNU/Linux, il y a moins bien mais c'est plus cher."
- ---------------------------------------------------------------------------------------
| http://www.insa-rouen.fr/institution/organisation/equipe-de-direction/informatique/ |
- ---------------------------------------------------------------------------------------
       | Ing?nieur syst?me et r?seau | T?l: 02 32 95 98 61 | GnuPG: 0x669176B0 |
       -------------------------------------------------------------------------
                 | https://asi.insa-rouen.fr/asipedia/index.php/GnuPG |
                 ------------------------------------------------------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkmCErcACgkQlMHL02aRdrAIEwCbB9Fm0yj71APFbeMJNUUqebN5
F08AmgKwlJVd2Qun91lUXBnyhLu6Fhhz
=VrMQ
-----END PGP SIGNATURE-----


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic