rioastamal.net

Just things inside my head…

Tips: How to Change Geany Themes to Dark

Posted by rio On July - 1 - 2009

Sorry if there are any spelling or grammatical errors, I’m learning English… :)

In the last few years gedit(the GNOME default editor) has been my favorite since it comes with syntax highlighting. I’m a web developer so most of the time I write PHP, HTML, Javascript or CSS code. I think gedit is doing fantastic job since I do not need WYSIWYG editor. I spent hours for coding so I like dark theme called oblivion on gedit. But in recent time I’ve found that the missing feature of gedit is code folding.

The Alternatives

So I begin to search the alternative, my criteria are the editor should lightweight and easy to customize. And my choice goes to Geany. It has all gedit features plus code folding, that was I need :). But the default theme is white background :(. It makes my eyes quickly tired. I miss the gedit oblivion theme. Thanks to god someone has made that theme for geany. The theme name is Oblivion 2 made by Barry van Oudtshoorn.

But Barry’s oblivion seems little differs from original gedit theme. The selection text is red, yellow marker, and some white text for default. Those color is still high contras not too good if you want to stay for hours in front of your monitor. So, modified the theme to mimic as close as possible the gedit oblivion theme. I call it Oblivio LC, LC is stand for [L]ow [C]ontras.

Installing Oblivion LC Theme

Download Oblivion LC at here: http://rioastamal.net/files/oblivion-lc.tar.gz

After that, extract the content to directory ~/.config/geany/filedefs. Here the example how to do it via terminal. I assume you save the downloaded theme in /tmp directory.

  1. Open Terminal (Application » Accessories » Terminal)
  2. Go /tmp direcoty
    $ cd /tmp
  3. Extract the package to ~/.config/geany/filedefs directory
    $ tar -zxvf oblivion-lc.tar.gz -C ~/.config/geany/filedefs/
  4. Start your Geany and enjoy your new dark theme :)

Here’s my screenshot, I’ve configure my geany to optimize the screen. I love using shortcut instead of mouse :).

References

bookmark bookmark bookmark bookmark bookmark bookmark

  1. huacak Said,

    huancak…. tambah sep ae,,,,

  2. stupok Said,

    This is exactly what I wanted. Thank you for sharing!

  3. rio Said,

    @stupok, glad you like it ;)

  4. kernel_script Said,

    Thanks man! That’s very cool : )

  5. metamatik Said,

    Just what I needed, thanks!

  6. John Said,

    Thanks buddy much appreciated :D

  7. kholis Said,

    this is what i want,, thanks rio :)

  8. Zenonymous Said,

    Thank you for this clear article on how to change the theme in Geany, if you want to do this in windows you should extract the files from the oblivion theme dir to $geany_installpath\data\ so for example “C:\Program Files\Geany\data”

Add A Comment