Recent

Author Topic: How do I set an application theme or system theme in Linux  (Read 412 times)

myisjwj

  • Jr. Member
  • **
  • Posts: 79
How do I set an application theme or system theme in Linux
« on: August 13, 2024, 05:22:17 am »
Using TOpenDialog and so on under loongxin mate(linux) is wrong, mainly because LazarusGTK2 conflicts with the u part of the theme content of the system.
How to automatically modify system themes in an application, or set a separate application theme.

dbannon

  • Hero Member
  • *****
  • Posts: 3074
    • tomboy-ng, a rewrite of the classic Tomboy
Re: How do I set an application theme or system theme in Linux
« Reply #1 on: August 13, 2024, 12:01:19 pm »
Generally, most controls used with Lazarus follow what it thinks are the Desktop theme with GTK2. You can change some yourself, control by control but not all. Using Qt5 or Qt6 (instead of gtk2) can give you more control because there are tools that let you change the Qt colours.

Are you concerned about the colours of an app built with Lazarus or the colours shown in the Lazarus IDE itself ?

Davo
Lazarus 3, Linux (and reluctantly Win10/11, OSX Monterey)
My Project - https://github.com/tomboy-notes/tomboy-ng and my github - https://github.com/davidbannon

 

TinyPortal © 2005-2018