[Gambas-user] Terminal setting questions
Benoît Minisini
g4mba5 at gmail.com
Thu Feb 18 22:00:05 CET 2021
Le 18/02/2021 à 18:48, KKing a écrit :
> So I went to migrate one of my ncurses based gambas projects to 3.15.2
> on Bullseye Alpha 3 using LXQT via std Debian repos.
>
> It fails with No terminal emulator found, so I went to check / set the
> Terminal in the Preferences ... but the list contains
> Konsole
> Gnome terminal
> Mate terminal
> XFCE terminal
> lxterminal
> XTerm
>
> whereas the default terminal (as shown in menu as "QTerminal") is
> qterminal.
>
> It appears the list is hardcoded in FOption.class
> cmbTerminal.List = [("(Default)"), "Konsole", "Gnome terminal",
> "Mate terminal", "XFCE Terminal", "lxterminal", "XTerm"]
>
> Could this (and the browser list) maybe be not hardcoded, but pick up
> from some sort of defaults config files that can be more easily tweaked
> by hand when needed?
This is hardcoded because AFAIK there is no standard way to get that
information.
Anyway, I can add "qterminal" to the hardcoded list.
Regards,
--
Benoît Minisini
More information about the User
mailing list