geany does not open terminal to run my code, unless there is another terminal window is open
I am using geany
version 1.36
in linux, whenever I press f5
or click on run icon
in toolbar, it does not open any terminal window to run my code in. but if I open another terminal window and do nothing in it, just let it be there, all of a sudden f5
and run button work perfectly.
how can I fix this issue?
Try this:
Go to : Edit --> Preferences --> Tools --> Terminal :
Refer here For more clarification
And replace the existing lines with any of the given texts... (Adding Terminal path here)
x-terminal-emulator -e /bin/sh %c
mate-terminal "-e /bin/sh %c"
x-terminal-emulator -e "/bin/sh %c"
xterm -e "/bin/sh %c"
xfce4-terminal -e "/bin/sh %c"
The 1st one worked for me.
For More Information about this issue Refer This Link