"so it does the only thing such a command can usefully mean, it starts a new `geany`" @elextr hmmm... I would expect it to just bring into focus the `geany` window already open if there is one. Other editors -- like `SlickEdit` [1] -- have a separate command option -- like `+new` -- to force a new window to be opened... Just an idea :-)
[1] https://community.slickedit.com/index.php?topic=11803.0