Enlightenment .cfg

From Openmoko

(Difference between revisions)
Jump to: navigation, search
(Added section "how to get it")
(ready to use binary configuration files: +links)
Line 84: Line 84:
  
 
(not created / uploaded yet...)
 
(not created / uploaded yet...)
 +
 +
= See also =
 +
[[Themes]], [[Edje]]

Revision as of 17:33, 11 January 2009

Contents

eet -- Way to change enlightenment .cfg files

Get it

NOTE: eet is development tool, so it's not present on FreeRunner (If someone has working mokomakefile, creating package with it should be great idea)

EET can be checked out from enlightenment SVN repository by

svn checkout http://svn.enlightenment.org/svn/e/trunk/eet/

To compile and install use the usual: (I'm not sure, if there are any dependencies on other SVN libs)

./autogen.sh
make
sudo make install

To simplify this there is a script called easy_17.sh. It can be found at http://omicron.homeip.net/projects/ (linked directly from enlightenment wiki page at http://wiki.enlightenment.org/index.php/Edje_Editor)

You can download this script whereever you want.. It won't create files in current directory. You don't need to use sudo.. it will detect correct way of getting administrative privileges and use it..

Launch it without arguments and see parameters.. You'll probably use something like --only=eet (not tested.. maybe there are some dependencies.. I was installing first ~20 programs to get edje editor)

It won't add installation directory into path, so you'll need to call it "/opt/e17/bin/eet" (default)

Use it

I've got recently this mail from enlightenment mailing list:

you have to use "eet" command line utility, it is the tool that reads .src and turns then into .cfg if you check out Makefile (and Makefile.am).

 eet -l e.cfg  # list all keys, usually just "config"
 eet -d e.cfg config e.src # writes human readable values to file e.src
 $EDITOR e.src # change whatever you like
 eet -e e.cfg config e.src 1  # compile human readable values to binary form and use compression

If you find that useful and want to help, please create a wiki page with your new knowledge.

interesting illume cfg files

NOTE: After any change you must delete directory /home/root/.e/e/config/asu to force configuration reload


WARNING: All your changes to illume configuration (usually not so many) will be lost


NOTE: Maybe it's possible to edit directly files in you home directory, I don't know


/usr/share/enlightenment/data/config/asu/e.cfg

Add this in group 'group "E_Config_Gadcon"' after block named " illume-bluetooth" (ASU 2008.12 line 431) to enable Wrench tool (but most of configuration dialogs are not defined in .edj files..)

     group "clients" list {
       group "E_Config_Gadcon_Client" struct {
         value "name" string: "illume-cfg";
         value "id" string: "illume-cfg";
         value "geom.pos" int: 0;
         value "geom.size" int: 32;
         value "geom.res" int: 472;
         value "geom.pos_x" double: 0.0000000000000000000000000;
         value "geom.pos_y" double: 0.0000000000000000000000000;
         value "geom.size_w" double: 0.0000000000000000000000000;
         value "geom.size_h" double: 0.0000000000000000000000000;
         value "state_info.seq" int: 1;
         value "state_info.flags" int: 1;
         value "style" string: "plain";
         value "autoscroll" uchar: 0;
         value "resizable" uchar: 0;
       }
     }
NOTE: You get working wrench icon, but color scheme is bad and layouts of some configuration dialogs are missing -> asu.edj needs to be updated too


/usr/share/enlightenment/data/config/asu/module.illume.cfg

To switch illume from qtopia predictive keyboard to illume keyboard

REPLACE

 value "kbd.use_internal" int: 0;
 value "kbd.dict" string: "English_(US).dic";

WITH

 value "kbd.use_internal" int: 1;

ready to use binary configuration files

(not created / uploaded yet...)

See also

Themes, Edje

Personal tools

eet -- Way to change enlightenment .cfg files

Get it

NOTE: eet is development tool, so it's not present on FreeRunner (If someone has working mokomakefile, creating package with it should be great idea)

EET can be checked out from enlightenment SVN repository by

svn checkout http://svn.enlightenment.org/svn/e/trunk/eet/

To compile and install use the usual: (I'm not sure, if there are any dependencies on other SVN libs)

./autogen.sh
make
sudo make install

To simplify this there is a script called easy_17.sh. It can be found at http://omicron.homeip.net/projects/ (linked directly from enlightenment wiki page at http://wiki.enlightenment.org/index.php/Edje_Editor)

You can download this script whereever you want.. It won't create files in current directory. You don't need to use sudo.. it will detect correct way of getting administrative privileges and use it..

Launch it without arguments and see parameters.. You'll probably use something like --only=eet (not tested.. maybe there are some dependencies.. I was installing first ~20 programs to get edje editor)

It won't add installation directory into path, so you'll need to call it "/opt/e17/bin/eet" (default)

Use it

I've got recently this mail from enlightenment mailing list:

you have to use "eet" command line utility, it is the tool that reads .src and turns then into .cfg if you check out Makefile (and Makefile.am).

 eet -l e.cfg  # list all keys, usually just "config"
 eet -d e.cfg config e.src # writes human readable values to file e.src
 $EDITOR e.src # change whatever you like
 eet -e e.cfg config e.src 1  # compile human readable values to binary form and use compression

If you find that useful and want to help, please create a wiki page with your new knowledge.

interesting illume cfg files

NOTE: After any change you must delete directory /home/root/.e/e/config/asu to force configuration reload


WARNING: All your changes to illume configuration (usually not so many) will be lost


NOTE: Maybe it's possible to edit directly files in you home directory, I don't know


/usr/share/enlightenment/data/config/asu/e.cfg

Add this in group 'group "E_Config_Gadcon"' after block named " illume-bluetooth" (ASU 2008.12 line 431) to enable Wrench tool (but most of configuration dialogs are not defined in .edj files..)

     group "clients" list {
       group "E_Config_Gadcon_Client" struct {
         value "name" string: "illume-cfg";
         value "id" string: "illume-cfg";
         value "geom.pos" int: 0;
         value "geom.size" int: 32;
         value "geom.res" int: 472;
         value "geom.pos_x" double: 0.0000000000000000000000000;
         value "geom.pos_y" double: 0.0000000000000000000000000;
         value "geom.size_w" double: 0.0000000000000000000000000;
         value "geom.size_h" double: 0.0000000000000000000000000;
         value "state_info.seq" int: 1;
         value "state_info.flags" int: 1;
         value "style" string: "plain";
         value "autoscroll" uchar: 0;
         value "resizable" uchar: 0;
       }
     }
NOTE: You get working wrench icon, but color scheme is bad and layouts of some configuration dialogs are missing -> asu.edj needs to be updated too


/usr/share/enlightenment/data/config/asu/module.illume.cfg

To switch illume from qtopia predictive keyboard to illume keyboard

REPLACE

 value "kbd.use_internal" int: 0;
 value "kbd.dict" string: "English_(US).dic";

WITH

 value "kbd.use_internal" int: 1;

ready to use binary configuration files

(not created / uploaded yet...)