[Geany] very basic color scheme helper tool

John Gabriele jmg3000 at xxxxx
Fri Feb 16 07:56:51 UTC 2007


Hi,

I made a nice (IMO) dark, low-contrast color scheme for Geany (only
for Perl and sh), and I thought folks here might like to have a look.
(If you don't have any Perl files around to look at, just open the
included colors_to_hex.pl file too see the color scheme after
following the instructions given below.)

But I was trying to think of some kind of tool to help folks get my
same nice color scheme going with their own language of choice. So, I
wrote a really rudimentary tool to help out for now (until someone
writes a nicer tool, I suppose).

It's just *very* basic, and it comes with docs. For now you can find it here:
http://www.milliwatt-software.com/temp/colors_to_hex.tar.gz

To try it out:

1. Back up any of your own ~/.geany/filedefs/filetypes.foo files if
you have any (THIS TOOL WILL OVERWRITE THEM -- well, maybe 3 of them
anyway (see next step)).

2. Open the tar.gz file, copy the 3 *.colors files to
~/.geany/filedefs. The filetypes files in ~/.geany/filedefs
corresponding to these 2 (.perl, .sh, and .common) will be the ones
that get clobbered soon if they already exist.

3. Copy colors_to_hex.pl to some bin directory (like ~/bin).

4. Optionally, read the docs: perldoc path/to/colors_to_hex.pl

5. $ cd ~/.geany/filedefs

6. $ colors_to_hex.pl *.colors

Then restart Geany, open (or create) a Perl and/or a shell script
file, and bask in the splendor that is -- what I think -- a pretty
nice dark color scheme. :)

Let me know if you think this is useful. It's pretty late right now,
so my apologies if the docs are clumsily written.

Better yet, you might try making a .colors file for your own favorite
language. The docs provide some color choice suggestions to keep all
your per-filetype color schemes pretty coherent (like how the included
Perl and sh ones yield similar results).

---John



More information about the Users mailing list