• Home
  • Blog
  • Linux
  • Bug: Geany + Dark Scheme + Bash = Unreadable variables

Bug: Geany + Dark Scheme + Bash = Unreadable variables

Geany is a pwoerful text editor for linux, focused on coding, similar to Notepad++, SublimeText and UltraEdit. Otherwise, much more light than all them.

Particulary, I prefer to code on dark screens, and installed the Dark Scheme for Geany (install instructions). But this theme has a bug: in bash script files, variable are highlighted in black color, becoming almost unreadable.

geany dark theme bash bug 

Note that code on linha 3 is echo $TEXTO;, with the variable almost unreadable

To correct it, edit ~/.config/geany/filedefs/filetypes.sh

Changin this line

scalar==0x7ECDFF;0x1E1E1E;false;false

To this

scalar=0x7ECDFF;0x1E1E1E;false;false

(The bug is a typing error, there is one more "=" signal)