Page 1 of 1

Change Default Terminal

Posted: Sat Mar 25, 2023 3:17 am
by Cage
When creating console apps in Linux, PureBasic uses xterm to test the app. What I wanted to know is how can I switch to xfce4-terminal or terminal emulator instead of xterm?

Re: Change Default Terminal

Posted: Sun Jun 04, 2023 10:41 am
by ColeopterusMaximus
I have he opposite problem.

In my set-up I have both XFCE and Gnome Desktop installed, I use XFCE and need Gnome for testing.

In my case Purebasic defaults to Gnome-Terminal and in Arch Gnome-Terminal doesn't render text from Purebasic when running a terminal application from the IDE so I need to change it to xterm

It seems that Purebasic tries to open Gnome-Terminal if it finds the executable, and if it is not there it will then run xterm.

What is needed I think is a field in the preferences to be able to specify the path to the terminal to use, or even easier to implement for Purebasic to run "x-terminal-emulator" instead first so "x-terminal-emulator" can be symlinked to whatever terminal emulator we want to use, if "x-terminal-emulator" is not present it can try to run Gnome-terminal and if that is not available default to xterm.

Unless anybody knows an alternative method to specify the terminal that is.