Note that its discouraged to run multiple instances sharing the config directory:

  1. to have changed settings appear in all instances you have to manually reload configuration in all of them
  2. if differing instances have different settings it will be "last closed" wins as they overwrite the settings files, so you can lose changes if you didn't do 1.
  3. only one session will be saved as they overwrite, again last closed wins

You can run separate instances with -c to specify a different config directory for each, and if an instance is already running with that config any further instances will open files in the first one. Obviously the downside is that you need to make setting changes in each instance, not just reload, but this way each session gets saved separately and can be reloaded.

If you put all the config directories in one place you can modify your script to allow selection of one, or type a new name to create a new instance (geany will create a config dir if it doesn't exist).

Ideally there would be a way to open multiple Geany windows from one instance. So they share things like a common recent files history.

Sure, but most of Geany was written with the assumption of only one editor widget, you can see the impact of that in the problems with splitwindows. It would take a lot of re-writing, and "somebodys" gotta do it.


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <geany/geany/issues/3351/1341854542@github.com>