Appendix C. Compile time options

There are some options which can only be changed at compile time. To change these options, edit the file src/geany.h. Look for a block of lines starting with “#define GEANY_*”. Any definitions which are not listed here should not be changed.

Note

Most users should not need to change these options.

Table C.1. Compile time options

OptionDescriptionDefault
GEANY_WORDCHARS These characters define word boundaries when making selections and searching using word matching options. (look at sourcecode)
GEANY_MAX_AUTOCOMPLETE_WORDSHow many auto completion suggestions should Geany provide. 30
GEANY_MAX_AUTOCOMPLETE_HEIGHTHow many suggestions should be visible in the auto completion list.10
GEANY_PROJECT_EXTThe default filename extension for Geany project files. It is used when creating new projects and as filter mask for the project open dialog.geany
GEANY_STRING_UNTITLEDA string used as the default name for new files. Be aware that the string can be translated, so change it only if you know what you are doing.untitled
GEANY_CHECK_FILE_DELAYTime in seconds between checking a file for external changes.30
GEANY_WINDOW_MINIMAL_WIDTHThe minimal width of the main window.620
GEANY_WINDOW_MINIMAL_HEIGHTThe minimal height of the main window.440
GEANY_WINDOW_DEFAULT_WIDTHThe default width of the main window at the first start.900
GEANY_WINDOW_DEFAULT_HEIGHTThe default height of the main window at the first start.600
Default values
GEANY_DEFAULT_TOOLS_MAKEThe make tool. This can also include a path."make"
GEANY_DEFAULT_TOOLS_TERMINALA terminal emulator. It has to accept the command line option "-e". This can also include a path."xterm"
GEANY_DEFAULT_TOOLS_BROWSERA web browser. This can also include a path."mozilla"
GEANY_DEFAULT_TOOLS_PRINTCMDA printing tool. It should be able to accept and process plain text files. This can also include a path."lpr"
GEANY_DEFAULT_TOOLS_GREPA grep tool. It should be compatible with GNU grep. This can also include a path."grep"
GEANY_DEFAULT_MRU_LENGHTHThe length of the "Recent files" list."10"
GEANY_DEFAULT_FONT_SYMBOL_LISTThe font used in sidebar to show symbols and open files. "Sans 9"
GEANY_DEFAULT_FONT_MSG_WINDOWThe font used in the messages window."Sans 9"
GEANY_DEFAULT_FONT_EDITORThe font used in the editor window."Monospace 10"
Windows specific
GEANY_USE_WIN32_DIALOGSet this to 1 if you want to use the default Windows file open dialog instead GTK's file open dialog. The default Windows file open dialog is missing some nice features like choosing a filetype or an encoding. Do not touch this setting when building on a non-Win32 system.0