Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

Tags:

python

ide

geany

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

like image 713
Sinan Erdem Avatar asked Mar 12 '15 23:03

Sinan Erdem


People also ask

How do I change terminal in Geany?

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.

How do you reset Geany?

The return to default configurations, just delete ~/. config/geany when Geany is not running. This will reset everything you have done inside your profile.


1 Answers

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.

like image 96
Sinan Erdem Avatar answered Oct 17 '22 03:10

Sinan Erdem