Hi all,
Gtk3 is now the default lcl widgetset on Linux.
Mattias

Mailing lists / lazarus / 2026-07
14 messages · 7 people · –
Reply by email Subscribe to this list Your subscription
Read-only archive. Use j and k to move between messages.
Hi all,
Gtk3 is now the default lcl widgetset on Linux.
Mattias
Is there a way to build Lazarus targeting the Gtk2 widgetset without having Gtk3 installed?
Kostas
make distclean all LCL_PLATFORM=gtk2
Mattias
Thanks, i'll try it once i sync my local repo.
Kostas
Is there a way to build Lazarus targeting the Gtk2 widgetset without having Gtk3…
This shell script is what I use. I run it from: /home/aruna/trunk/ You will have to change the path to your choice of Lazarus path. -------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20260702/6b38b8f7/attachment.htm> -------------- next part --------------
A non-text attachment was scrubbed...
Name: buildIDE.sh
Type: application/x-sh
Size: 1725 bytes
Desc: not available
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20260702/6b38b8f7/attachment.sh>
This shell script is what I use. I run it from:?/home/aruna/trunk/ You will have to change the? path to your choice of Lazarus path.
WOW, deleting the Lazarus folder without even asking! And only a relative path was specified!?Does this also delete the ".git" folder with all user branches??This is definitely not worth doing, even in personal scripts ))
By the way, my Lazarus installation configurations are located in the "config" subfolder. And this isn't just a personal tweak ? this subfolder is in the official ".gitignore" file.
In such scripts (especially public ones), it's better to rename the old folder instead of deleting it. -------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20260702/f7e6500d/attachment-0001.htm>
Gtk3 is now the default lcl widgetset on Linux. Mattias
In from scratch compiled lazarus? behaviour is strange.
Tools /Backup/restore anchordocking is missing
IDE configuration dialogs can not be closed ...
Really strange or i have to sleep first ?
Restored lazarus from backintime:
Lazarus 4.99 (rev main_4_99-4676-g70db98b16f) FPC 3.2.2 x86_64-linux-gtk2
Perhaps i do something terrible wrong
John
03.07.2026 00:05, John Landmesser via lazarus ?????:
In from scratch compiled lazarus? behaviour is strange. Tools /Backup/restore anchordocking is missing
It has been moved to `Window` menu.
IDE configuration dialogs can not be closed ...
Not here. What revision do you use (please use the latest one), which dialogs do not close?
Does not work, i'll stay wth working version from end of june.
What i tried:
git clone, compile ...
[john1 at manjaro lazarus]$ ./lazarus --version
4.99 Revision: main_4_99-4834-g244bd3578f
i am on Manjaro Linux with widgetSet gtk3
Git log shows:
For example:? i click on existing project1.lpi but it will not open !!!
Next example: Run / clear and rebuild is not possible config- window does not react on clicks!
[john1 at manjaro ~]$ fpc
Free Pascal Compiler version 3.2.2 [2024/05/01] for x86_64
I try again next month !
WOW, deleting the Lazarus folder without even asking! And only a relative path was…
That script was intended as a quick personal convenience script for a clean rebuild in a disposable working directory, not as a general-purpose build script. I sent it in thinking it may help folks having trouble getting the trunk cloned and built like I did when I started. My lazarus directory from time to time becomes unusable due to my experiments, then I run the script and I have a clean install. I have attached a fixed script with error checking and I have worked in your advice about renaming the existing folder. My apologies for the confusion. I should have said this will erase the directory and start everything from scratch.
When using this script please enter the parent directory where you want lazarus cloned under. For example in my case: /home/aruna/trunk. -------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20260703/7194d88c/attachment.htm>
Oops sorry forgot to attach the fixed script. Here it is :)
On Fri, Jul 3, 2026 at 4:51?PM Aruna Hewapathirane <
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20260703/07935f1a/attachment-0001.htm> -------------- next part --------------
A non-text attachment was scrubbed...
Name: buildIDE-fixed.sh
Type: application/x-shellscript
Size: 4218 bytes
Desc: not available
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20260703/07935f1a/attachment-0001.bin>
Does not work, i'll stay wth working version from end of june. What i tried: git clone,…
found the culpit ... years ago i wrote? a script that changes the theme to adwaita so i can read IDE better if i have a dark theme configured.
That worked ok until now. I had to remove it and call startlazarus directly.
Sorry for the noise ... happy again :-)
Thanks for lazarus with gtk3 .
John
You can use various themes for your apps including lazarus by using eg GTK_THEME=Adwaita-dark , theme must be installed in /usr/share/themes
zeljko
Thanks, didn't know that !!
John