[Lazarus] Howto disable Lazarus IDE using a XFCE dark theme

R0b0t1 r030t1 at gmail.com
Tue Nov 7 00:48:10 CET 2017


Hello again, very sorry for the three posts. It is the case I am not very
smart. Please excuse my poor reading comprehension.

On Monday, November 6, 2017, R0b0t1 <r030t1 at gmail.com> wrote:
> Hello again,
>
> On Monday, November 6, 2017, R0b0t1 <r030t1 at gmail.com> wrote:
>> Hello friend,
>>
>> On Monday, November 6, 2017, Landmesser John via Lazarus <
lazarus at lists.lazarus-ide.org> wrote:
>>> New Linux Distro Manjaro-XFCE and i use a dark theme.
>>>
>>> But that dark theme is bad for Lazarus IDE.
>>>
>>> Can i change that as an option for compiling the IDE?
>>>
>>> With Debian KDE there was in KDE Settings an option to prevent gtk-Apps
using color-settings.
>>>
>>> Perhaps an option in XFCE-Settings?
>>>
>>> I'll keep on googling ...
>>>
>>> Tipps are welcome!
>>>
>>
>> Theming is typically handled by your toolkit. For GTK, you will need to
modify files in a location like "~/.themes" or "~/.gtkrc-2."
>>
>> E.g. https://developer.gnome.org/gtk3/stable/theming.html and
https://wiki.archlinux.org/index.php/GTK%2B#Configuration.
>>
>> Theming can also be handled by your application. The best support for
theming tends to be implemented in this way. Unfortunately from a user's
standpoint this means each program must be customized separately. On the
other hand, toolkit wide theming support tends to not be very good. Form
components (like a SynEdit) may be drawn with colors not taken from the
toolkit's configuration.
>>
>> Theming support for Lazarus might be a tall order but I think it would
be worth it. See Visual Studio's dark theme, for example.
>>
>> Cheers,
>>     R0b0t1
>
> Is http://wiki.lazarus.freepascal.org/UserSuppliedSchemeSettings
insufficient in any way?

I realize now you were asking to disable theming in Lazarus. That answer is
related to the contents of my other posts, but for GTK you may use the
environment variable GTK_THEME:
https://developer.gnome.org/gtk3/stable/gtk-running.html.

GTK_THEME=theme:variant

If you have some time I would invite you to comment on the forum as it is
more active. It would be nice to see pictures of the interface quirks you
take exception to.

Cheers,
    R0b0t1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20171106/ad79ee44/attachment.html>


More information about the Lazarus mailing list