Hi, i suggest to change xterm -e "/bin/sh %c" with xfce4-terminal -x "/bin/sh" %c for everyone is using any distro with xfce. Geany don't open terminal with xterm -e "/bin/sh %c".
Geany does not know what distro it is installed on, that is a function of packaging. Perhaps you could ask the packagers for your distro to make a patch specifically for the xfce package.
It might be better to use `exo-open --launch TerminalEmulator` to open the user's preferred terminal, whether it be xterm, gnome-terminal, xfce4-terminal, etc.
Since `exo-open` is an Xfce thing, its still a packaging issue though.
There should be some generic alternative, maybe `x-terminal-emulator`, though that might be Debian specific.
I can't find any universal variant, `x-terminal-emulator` is part of the Debian alternatives system but there is no documentation (that my googling can find) and, as we know from other issues, not all `x-terminal-emulator`s handle the arguments in an identical way to xterm. So its still desktop configuration dependent.
github-comments@lists.geany.org