You are not logged in.
I'm running openbox on arch. I use gedit a lot as my code-editor.
I use zenburn as my color scheme in gedit.
There is a nagging issue with my color scheme however ...
There is a particular type of element for which gedit highlights the code in a unviewable manner.
Pls see screenshot.
I cannot identify which element like def:error ( the element name is required to tweak it's background color in the style file). I need to modify to change that particular background color.
<Moderator edit - oversized image removed. Please follow the forum's image posting guidelines. Tom K>
My zenburn.xml file is
<?xml version="1.0" ?>
<style-scheme id="zenburn" name="Zenburn" version="1.0">
<author/>
<_description>Zenburn theme</_description>
<style foreground="#dca3a3" name="def:boolean"/>
<style foreground="#7f9f7f" name="def:comment"/>
<style bold="true" foreground="#dca3a3" name="def:constant"/>
<style background="#8faf9f" bold="true" foreground="#000d18" name="cursor"/>
<style background="#313c36" bold="true" foreground="#709080" name="diff:added-line"/>
<style background="#333333" name="diff:changed-line"/>
<style background="#464646" foreground="#333333" name="diff:removed-line"/>
<style foreground="#efef8f" name="def:function"/>
<style foreground="#efdcbc" name="def:identifier"/>
<style bold="true" foreground="#f0dfaf" name="def:keyword"/>
<style background="#464646" foreground="#7f8f8f" name="line-numbers"/>
<style background="#3f3f3f" foreground="#dcdccc" name="text"/>
<style foreground="#8cd0d3" name="def:number"/>
<style bold="true" foreground="#ffcfaf" name="def:preprocessor"/>
<style background="#385f38" foreground="#ffffe0" name="search-match"/>
<style foreground="#cfbfaf" name="def:specials"/>
<style background="#3f3f3f" foreground="#e3ceab" name="def:statement"/>
<style foreground="#cc9393" name="def:string"/>
<style bold="true" foreground="#dfdfbf" name="def:type"/>
<style background="#201010" bold="true" foreground="#ef9f9f" name="def:error"/> <!-- Define error already defined here -->
<style background="#332323" foreground="#e37170" name="def:error"/>
</style-scheme>
I really didn't know where to ask help. Hoping someone already got stuck up on this and found a fix I'm asking here.
Will be grateful for any pointers.
Last edited by litemotiv (2010-12-28 09:53:59)
How I'm learning linux : If it ain't broken, fix it until it is. Then start over again.
....................................................................................................
Gapo the flow
Offline
The element you're looking for is called "selection", like this: <style name="selection" foreground="#000D18" background="#8FAF9F"/>.
I'm using a zenburn theme as well for gedit, it's here if you want it. It's not complete, for instance it doesn't have a different color for the backgrounds left and right of the right margin line. I'm sure it's lacking other stuff, but it works for me.
Offline
Thanks that was quite useful.
I've moved on to VIM anyways
How I'm learning linux : If it ain't broken, fix it until it is. Then start over again.
....................................................................................................
Gapo the flow
Offline