I am using Konsole as a terminal to contribute to wikimedia pages. I use Konsole because unlike most terminal emulators it supports CTL (complex text layout) so I can clearly read my language (Tamil) in Konsole. The default terminal of Geany is not so good. I want to change the default terminal. How can I do that?
Way 1: You can change the terminal in the Tools tab in Geany's preferences.
In its Edit → Preferences dialog, Geany has a Tools tab. (This is separate from the Terminal tab.) One of the utility selections that you can configure from the Tools tab is Terminal.
It has this as its default value, but you can change it to whatever you like:
So one way to make it use Konsole instead of whatever
x-terminal-emulator
is configured to run is to replacex-terminal-emulator
withkonsole
. (Don't capitalize thek
.) That is, one solution is to change that command to this one:Geany itself substitutes for
%c
when it actually launches a terminal emulator. Whatever terminal emulator it calls does have to support a-e
flag--or you can change that commmand accordingly if it doesn't. (Specifically what to write instead would depend on whatever syntax it did accept.) But most terminals do, and this includes Konsole.Way 2: You can change what program
x-terminal-emulator
points to.As an alternative solution that you might prefer, if you pretty much always want Konsole in any context where a terminal is opened, then you might want to just reconfigure
x-terminal-emulator
to launch Konsole instead of whatever other terminal it is currently launching.If you choose to do this, then I recommend still checking in the Preferences dialog in Geany to make sure that it is actually using that
x-terminal-emulator
command shown above.In Debian and Ubuntu, the
x-terminal-emulator
symlink is managed by the alternatives system. To adjust it so that it points to a different terminal command, you can run:You will be prompted to select one of the terminal emulators that is currently installed. Assuming Konsole is installed on your system, you should be able to select
/usr/bin/konsole
.Acknowledgements
Zanna contributed substantially toward this answer.
See also the Geany manual (linked from this question, though that is not asking for the same thing, as the VTE is Geany's built-in terminal, which it sounds like you do not want to use).