LazBuild console programm puts Gtk-WARNING **: cannot open display: [solved] lazarus / 1-Linux ---------------------------------------------------------------------- Jan_ · 2024-03-18 12:43 Hello i build my projekt with Lazbuild: lazbuild --lazarusdir="/usr/share/lazarus/2.2.6/" myprogram.lpi when i start it i get: (myprogram:125490): Gtk-WARNING **: cannot open display: used packages: pascalscript other programs runs. how to force lazbuild to build a console Application? ---------------------------------------------------------------------- Jan_ · 2024-03-18 13:22 found the answer: - open Project/ProjectOptions/CompilerOptions/AdditionsAndOverrides - In this dialogue there is a dropdown above the listbox named: Set "LCLWidgetType" drop it down and find the entry "Value nogui" and select it ---------------------------------------------------------------------- TRon · 2024-03-18 14:19 You should also be able to use the command-line option --widgetset= or --ws= (see lazbuild wiki)