1. Ich bin mir ziemlich sicher, dass der Ort der Datei stimmt, es steht ja auch genau so im angegebenen Manual, Zitat: "To change the settings, copy a file from $prefix/share/geany to the subdirectory filedefs in your configuration directory (usually ~/.geany/)."
2. Diese Antwort verstehe ich nicht so ganz. In einem Manual stehen normalerweise nur Dinge die man erreichen kann ohne den Quellcode zu modifizieren, oder?
Die Datei die ich editiert habe befindet sich in /home/<user>/.geany/filedefs/ und heißt filetypes.common, so wie im Manual beschrieben und sieht etwa so aus:
# For complete documentation of this file, please see Geany's main documentation
[styling]
# 3rd selection argument is true to override default foreground
# 4th selection argument is true to override default background
default=0xffffff;0x000000;false;false
selection=0xc0c0c0;0x7f0000;false;false
# style for a matching brace
brace_good=0x0000ff;0xFFFFFF;true;false
# style for a non-matching brace (a brace without a counterpart)
brace_bad=0xff0000;0xFFFFFF;true;false
# the following settings define the colours of the margins on the left side
margin_linenumber=0x000000;0xd0d0d0;false;false
margin_folding=0x000000;0xdfdfdf;false;false
...
Der default Eintrag stammt von mir. Alle anderen Einträge wurden auch von mir verändert und funktionieren auch.