Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2026-07

Gtk3 is now the default linux widgetset

14 messages · 7 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Mattias Gaertner
to Kostas Michalopoulos
Kostas Michalopoulos wrote 10 lines
On 7/2/26 7:03 PM, Mattias Gaertner via lazarus wrote: > 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?

make distclean all LCL_PLATFORM=gtk2

Mattias

Reply by email

Kostas Michalopoulos
to Mattias Gaertner
Show quoted text 7 lines
> Is there a way to build Lazarus targeting the Gtk2 widgetset without > having Gtk3 installed? make distclean all LCL_PLATFORM=gtk2 Mattias

Thanks, i'll try it once i sync my local repo.

Kostas

Reply by email

Aruna Hewapathirane
to Kostas Michalopoulos: Is there a way to build Lazarus targeting the Gtk2 widgetset without having Gtk3…
Show quoted text 7 lines
Is there a way to build Lazarus targeting the Gtk2 widgetset without having Gtk3 installed? Kostas

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>

Reply by email

n7800
to Aruna Hewapathirane
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>

Reply by email

John Landmesser
to Mattias Gaertner: 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

Mattias Gaertner wrote 6 lines
Hi all, Gtk3 is now the default lcl widgetset on Linux. Mattias

Reply by email

Maxim Ganetsky
to John Landmesser

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?

Best regards, Maxim Ganetsky mailto:

Reply by email

John Landmesser
to Maxim Ganetsky

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:

Show quoted text 21 lines
[john1 at manjaro lazarus]$ git log commit 244bd3578f1f4fcda729ab497586cac06600a2d1 (HEAD -> main, origin/main, origin/HEAD) Merge: c0fa85e426 c808d826c9 Author: rich2014 Date:? ?Fri Jul 3 17:26:21 2026 +0800 ? ? LCL: restore TTextLayout / add Options to TCustomEdit, Merge branch 'Layout' commit c808d826c944c5c5f9783482a55c9b9cd0893242 Author: rich2014 Date:? ?Fri Jul 3 09:38:00 2026 +0800 ? ? Revert "LCL: add tlDefault to TTextLayout in Graphics" commit 44e79e297b54d945a1c5bc786f5284d6a02b5a11 Author: rich2014 Date:? ?Fri Jul 3 09:34:59 2026 +0800 ? ? LCL/TCustomEdit: add Options

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 !

Maxim Ganetsky wrote 9 lines
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?

Reply by email

Aruna Hewapathirane
to n7800: WOW, deleting the Lazarus folder without even asking! And only a relative path was…
Show quoted text 15 lines
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.

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>

Reply by email

Aruna Hewapathirane
to Aruna Hewapathirane

Oops sorry forgot to attach the fixed script. Here it is :)

On Fri, Jul 3, 2026 at 4:51?PM Aruna Hewapathirane <

Show quoted text 33 lines
wrote: On Thu, Jul 2, 2026 at 4:22?PM n7800 wrote: > 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. > 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/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>

Reply by email

John Landmesser
to John Landmesser: 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

John Landmesser wrote 58 lines
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: > [john1 at manjaro lazarus]$ git log > commit 244bd3578f1f4fcda729ab497586cac06600a2d1 (HEAD -> main, > origin/main, origin/HEAD) > Merge: c0fa85e426 c808d826c9 > Author: rich2014 > Date:? ?Fri Jul 3 17:26:21 2026 +0800 > > ? ? LCL: restore TTextLayout / add Options to TCustomEdit, Merge > branch 'Layout' > > commit c808d826c944c5c5f9783482a55c9b9cd0893242 > Author: rich2014 > Date:? ?Fri Jul 3 09:38:00 2026 +0800 > > ? ? Revert "LCL: add tlDefault to TTextLayout in Graphics" > > commit 44e79e297b54d945a1c5bc786f5284d6a02b5a11 > Author: rich2014 > Date:? ?Fri Jul 3 09:34:59 2026 +0800 > > ? ? LCL/TCustomEdit: add Options 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 ! Am 03.07.26 um 02:28 schrieb Maxim Ganetsky via lazarus: > 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? >

Reply by email

zeljko
to John Landmesser
John Landmesser wrote 9 lines
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 .

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

Show quoted text 64 lines
John Am 03.07.26 um 12:28 schrieb John Landmesser via lazarus: > > 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: > >> [john1 at manjaro lazarus]$ git log >> commit 244bd3578f1f4fcda729ab497586cac06600a2d1 (HEAD -> main, >> origin/main, origin/HEAD) >> Merge: c0fa85e426 c808d826c9 >> Author: rich2014 >> Date:? ?Fri Jul 3 17:26:21 2026 +0800 >> >> ? ? LCL: restore TTextLayout / add Options to TCustomEdit, Merge >> branch 'Layout' >> >> commit c808d826c944c5c5f9783482a55c9b9cd0893242 >> Author: rich2014 >> Date:? ?Fri Jul 3 09:38:00 2026 +0800 >> >> ? ? Revert "LCL: add tlDefault to TTextLayout in Graphics" >> >> commit 44e79e297b54d945a1c5bc786f5284d6a02b5a11 >> Author: rich2014 >> Date:? ?Fri Jul 3 09:34:59 2026 +0800 >> >> ? ? LCL/TCustomEdit: add Options > > 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 ! > > > > Am 03.07.26 um 02:28 schrieb Maxim Ganetsky via lazarus: >> 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? >>

Reply by email

John Landmesser
to zeljko

Thanks, didn't know that !!

John

zeljko wrote 84 lines
On 7/4/26 10:42, John Landmesser via lazarus wrote: > 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 . 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 > > John > > > > Am 03.07.26 um 12:28 schrieb John Landmesser via lazarus: >> >> 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: >> >>> [john1 at manjaro lazarus]$ git log >>> commit 244bd3578f1f4fcda729ab497586cac06600a2d1 (HEAD -> main, >>> origin/main, origin/HEAD) >>> Merge: c0fa85e426 c808d826c9 >>> Author: rich2014 >>> Date:? ?Fri Jul 3 17:26:21 2026 +0800 >>> >>> ? ? LCL: restore TTextLayout / add Options to TCustomEdit, Merge >>> branch 'Layout' >>> >>> commit c808d826c944c5c5f9783482a55c9b9cd0893242 >>> Author: rich2014 >>> Date:? ?Fri Jul 3 09:38:00 2026 +0800 >>> >>> ? ? Revert "LCL: add tlDefault to TTextLayout in Graphics" >>> >>> commit 44e79e297b54d945a1c5bc786f5284d6a02b5a11 >>> Author: rich2014 >>> Date:? ?Fri Jul 3 09:34:59 2026 +0800 >>> >>> ? ? LCL/TCustomEdit: add Options >> >> 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 ! >> >> >> >> Am 03.07.26 um 02:28 schrieb Maxim Ganetsky via lazarus: >>> 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? >>>

Reply by email