Change Default Terminal

Linux specific forum
Cage
New User
New User
Posts: 9
Joined: Wed Oct 27, 2010 4:02 pm

Change Default Terminal

Post 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?
ColeopterusMaximus
User
User
Posts: 37
Joined: Fri Oct 29, 2010 11:29 am

Re: Change Default Terminal

Post 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.
Post Reply