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

Mattias Gaertner nc-gaertnma at netcologne.de
Wed Nov 8 00:30:45 CET 2017

On Tue, 7 Nov 2017 17:30:23 -0500
Donald Ziesig via Lazarus <lazarus at lists.lazarus-ide.org> wrote:

> I give up!

I don't see another mail from you. Where are your tries?

>  After looking at most of the links in this thread, I can not 
> get the Lazarus IDE to use anything other than the default theme ('black 
> on white - with language highlighting).  I would really like to use a 
> dark theme (white on black or gray - again with language highlighting).
> I normally start lazarus from a .desktop file, but even dropping back to 
> the command line (with --pcp= ... ) nothing I have done changes the theme.
> Could someone give me a command line that I could adapt to produce a 
> dark theme?

1. Download and install a dark theme for your distribution. Beware
there are many broken and outdated themes for gtk2. So you have to try
a few. For example NOX.
2. Start the IDE with:
GTK2_RC_FILES=/usr/share/themes/NOX/gtk-2.0/gtkrc ./lazarus
3. Set the source editor colors:
 Tools / Options / Display / Editor / Display / Colors
3.1 Change Default to Twilight.


More information about the Lazarus mailing list