settingcodelite

Use gnome-terminal in codelite instead of default terminal


I'm trying to get gnome-terminal to work in codelite under

setting > preferences > terminal

I tried

gnome-terminal -x '$(CMD)'

but it gives me the following error

Failed to execute child process "/bin/sh -f /usr/lib/codelite/codelite_exec ./program" (No such file or directory)

I'm running Linux Mint 18.


Solution is to run

sudo update-alternatives --config x-terminal-emulator

from a terminal and select

/usr/bin/gnome-terminal.wrapper

as default terminal.


Solution

  • CodeLite uses x-terminal-emulator. So as long as you define x-terminal-emulator to point to the correct terminal it will work.

    See this post for more information