Using virtualbox 7.0 to install ubuntu linux then run and compile hellow world c++ code with geany, and then there is no output terminal window pop.
$ geany -V geany 1.36 (built on 2020-03-22 with GTK 3.24.14, GLib 2.64.1)
$uname -a Linux ubuntu 5.15.0-52-generic #58~20.04.1-Ubuntu SMP Thu Oct 13 13:09:46 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux