How to override FreePascal built-in IDE (fp IDE) fp.cfg from external *.cfg? lazarus / 9-Editor ---------------------------------------------------------------------- zamronypj · 2019-06-18 08:16 Can I tell fp IDE to load my own existing *.cfg instead of creating its own fp.cfg file? ---------------------------------------------------------------------- marcov · 2019-06-18 08:30 fp -C ---------------------------------------------------------------------- zamronypj · 2019-06-18 10:41 I used -Cfilename option but it seemed only accept *.ini, not Free Pascal configuration file. ---------------------------------------------------------------------- marcov · 2019-06-18 12:39 Ah yes, it is for the session file, not the config. I looked at the params, and doesn't seem possible. You can maybe override a global one by making a local ~/.fp.cfg or so. ---------------------------------------------------------------------- lucamar · 2019-06-18 21:25 fp looks for its config first in the directory from which it's launched; if you want it to load a custom fp.cfg just copy it over before launching it. For example, by launching a shell script similar to: Code: [Select]!#/bin/sh cp ~/username/templates/specialfp.cfg ./fp.cfg fp $@