Geany - How to execute code in terminal pane instead of external terminal

Sinan Erdem picture Sinan Erdem · Mar 13, 2015 · Viewed 11.5k times · Source

I really like Geany for writing Python code. When I click F5, it opens system's default terminal window and executes the code there.

There is also a terminal inside Geany window, the bottom pane and the last tab. What I want is the code to be executed there. Is it possible?

Geany with terminal pane

Answer

Sinan Erdem picture Sinan Erdem · Mar 13, 2015

After fiddling with the options, I found the way:

  1. Right-click on terminal area and select "Preferences". It opens the general preferences window with Terminal tab opened.

  2. There is an option: "Execute programs in the VTE". Checking this option does what I want.