Econfig - alpha version - v0.1

If you've ever tried to create your own theme for Enlightenment,
or modify a premade themeball to you're personal tastes, you
know that it's a pain to hand edit all the config files.
In order to make that process a little easier, I have created a
configuration tool, (screenshot above). As it is an alpha
release, there is stil some work to go.
Requirements
Econfig requires the following:
- - Tcl/Tk 8.0 - available from
Sun
- You will need both
Tcl8.0
and Tk8.0.
Compiling and installing Tcl/Tk 8.0 is fairly simple, just
follow the instructions in the Readme(s).
- - Enlightenment - available from the
Enlightenment Home Page
- compiling and installing this one can get tricky, but there are
resources available from the web site.
- - A decompressed themeball in ~/.enlightenment - check out the
Enlightenment Theme Archives
- The themeballs are actually tarred and gzipped archives. Simply
gunzip and untar the archive into your ~/.enlightenment directory and
Econfig is ready to attack!
Known Problems, Deficiencies, and Possible Workarounds:
This requires both Tcl and Tk 8.0. The dynamic
window resizing isn't supported properly under 7.x/4.x versions.
Some knowledge of theme construction is still required, particularly
the parts dealing with menus and menu item construction. Not all
fields have to be filled in for the menus, some are ignored for the
windowlist
type, and some are ignored for
non-windowlist
types. Study the DEAULT theme config
files for construction guidelines.
- BACKUP YOUR THEME! This thing may not work.
It may hose your theme. You have been warned.
- DO NOT rename any menus or menuitems with version 0.1.
This should be fixed Real Soon Now (tm). Fixed v0.2
- Until I remember to bring home my Welch book from work, or find
an example I can plagiarize effectively, the filenames list box will
not have a scrollbar. To edit the files whose names fall out of the
bounds of the box, first click on a file that winds up enlarging the
dialog box, like
icons
. Then, click on the desired file.
- The graphics are extremely lame. Fixing that might require the creation of an Econfigconfig. lame it is.
- When picking a filename, a file browser should pop up, with a
thumbnail image for the currently selected filename.
- There is no type checking of values for parameters. You can
enter text for a numerical value, and this program will not
complain in the least. Enlightenment is not so forgiving.
- These last two items should be linked in filetype parameter of
the variable specification.
- It only works on the ~/.enlightenment theme.
- The edits are saved in a subdir called Econfig. Check the
files in this directory before copying over your theme config files.
- Long menus and the windowlists frequently grow too large for a
1024x768 screen. Use two rows maybe?
- Some files need a few lines of whitespace (call it three
for the record) at the beginning of the file, for my dumb parsing
algorithm to fall into place. If you see an error saying "config(windowstyles,#NAME,name) doesn't exist" or similar message, confirm that there are 3 (three) lines of whitespace at the beginning of the file.
- Configuration files that don't exist will cause errors when Econfig
attempts to load them. Files should probably have a disable option.
- BACKUP YOUR THEME! This thing may not work.
It may hose your theme. You have been warned.
Any other pressing issues may be directed to
ericmit@ix.netcom.com.
Please mention "Econfig v0.1a" in the subject line.
I occasionally hang out in the #E irc channel as ricdude
.
Download
Simply download the Econfig archive from
http://www.netcom.com/~ericmit/Econfig_0_1.tgz and extract
the contents to the location of your choice.
Running Econfig
From your ~/.enlightenment directory (i.e. where you extracted the
themeball's config files), type "Econfig
".
You should see a dialog box with the names of the config files in
a list box on the left. Click on a filename, and the right side
should be a mess of a dialog box. Change what you want to match
your tastes. At this point, the config tool is a very
basic front end to the Enlightenment config files. When satisfied,
click the "Save" button. The config files are saved in a
subdirectory called "Econfig
". You are
encouraged to compare the Econfig edited versions to your theme's
versions. When you are satisfied that it didn't totally screw up
your config files, "cp Econfig/* .
" to
update your theme files. Then restart E (from a menu option if
so configured) and see your changes.
Good Luck!
Potentially Useful Links
[ Ric's Home ] |
[ Enlightenment ] |
[ Econfig ]
foolish mortals have dared to tread this dangerous page.
Page created by:
ericmit@ix.netcom.com
Changes last made on: Dec 31, 1997