A 2nd option would be to make a dbus method for changing the theme via the new 'enlightenment_remote' tool and send it to the dev mailing list for svn commit.
dh On 01/01/2011 10:12 PM, Christopher Michael wrote: > HAHAHA, Ok but keep in mind this is in no way "official", and will > require a bit of work in your script (not to mention is incredibly > hackish) ;) > > Basically, what you are going to do is decompile the existing e.cfg file > (usually in ~/.e/e/config/standard/e.cfg) using eet: > > 'eet -d /path/to/e.cfg config /path/to/temporary/e.src' > > This will output the current E config settings into a text file called > e.src. Now you can run a 'sed' or something on e.src and replace the > theme filename. What you are looking for in the e.src file is something > like this: > > group "themes" list { > group "E_Config_Theme" struct { > value "category" string: "theme"; > value "file" string: > "/usr/share/enlightenment/data/themes/default.edj"; > } > } > > Just sed the "file" line with the new theme, and save the file. > > Now you need to recompile it into binary: > > 'eet -e /path/to/e.cfg config /path/to/e.src 1' > > Restart E (assuming the new e.cfg is still in the standard place) and > done. Should work ... in theory ;) > > dh > > On 01/01/2011 10:04 PM, Jeff Hoogland wrote: >> I'll take ghetto and hackish. Never was one to argue with results ;) >> >> ~Jeff >> >> On Sat, Jan 1, 2011 at 8:42 PM, Christopher Michael >> <cpmicha...@comcast.net>wrote: >> >>> On 01/01/2011 09:38 PM, Jeff Hoogland wrote: >>> >>>> Yes I know about this command - but as you said it does not do very much >>>> any >>>> more. Is there really no way to do this they? I am working on a script to >>>> change both GTK and Enlightenment theme at the same time so they can >>>> match. >>>> >>>> ~Jeff >>>> >>>> On Sat, Jan 1, 2011 at 7:51 PM, Christopher Michael >>>> <cpmicha...@comcast.net>wrote: >>>> >>>> On 01/01/2011 08:09 PM, Jeff Hoogland wrote: >>>>> >>>>> Is there a command I can run from the CLI to change E theme? >>>>>> >>>>>> Cheers, >>>>>> ~Jeff >>>>>> >>>>>> >>>>> Back in the good old days, yes there was. It was called >>>>> 'enlightenment_remote' . That same tool exists today, but is in a much >>>>> more >>>>> limited (and limiting) form and only uses dbus calls these days :( A >>>>> quick >>>>> '--help' of the current 'enlightenment_remote' tool shows that it's not >>>>> possible to change the theme (or much of anything else) anymore :( >>>>> >>>>> dh >>>>> >>>>> >>>> >>> Correct. There is no other 'nice' way to do it :( >>> >>> I can offer a 'not so nice'& 'hackish' way for you todo it if really >>> really really needed ;) BUT it's fairly ghetto >>> >>> dh >>> >>> ------------------------------------------------------------------------------ Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ enlightenment-users mailing list enlightenment-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-users