Sign in Join

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

Mailing lists / lazarus / 2019-03

Theme support for lazarus IDE

3 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

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

John Landmesser

this one works ok on Linux:

|GTK_THEME=Adwaita:dark gedit but lazarus ignores this setting?! ... i like a desktop dark theme, but not for lazarus. I would prefer ||GTK_THEME=Adwaita:light for lazarus Long time ago Michael Van Canneyt told us lazarus as gtk-App should be capable of theme per application basis?! But i can't find that in List-history. Any idea? |

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20190304/12931c48/attachment.html>

Reply by email

Anthony Walter
to John Landmesser

The GTK_THEME variable is recognized by Gtk 3. For Gtk 2 you need to set GTK2_RC_FILES to the gtkrc file for the theme you want. Your Gedit is build using Gtk 3. Lazarus is typically build on Linux using Gtk 2.

See also: https://wiki.archlinux.org/index.php/GTK+#Themes -------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20190305/9bea71f0/attachment.html>

Reply by email

John Landmesser
to Anthony Walter
Anthony Walter wrote 7 lines
The GTK_THEME variable is recognized by Gtk 3. For Gtk 2 you need to set GTK2_RC_FILES to the gtkrc file for the theme you want. Your Gedit is build using Gtk 3. Lazarus is typically build on Linux using Gtk 2. See also: https://wiki.archlinux.org/index.php/GTK+#Themes

 Thanks for that tipp!!

But the Arch-Wiki tells also:

Examples

GTK+ example configurations:

*Note:*May be ignored by somedesktop environments
<https://wiki.archlinux.org/index.php/Desktop_environments>(e.g.GNOME <https://wiki.archlinux.org/index.php/GNOME>).
... that also seems to be true for my Manjaro XFCE :-( Tried in vain to compile lazarus with gtk3 Widget style. I'll stay with general light theme!

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20190305/4d0d9d74/attachment.html>

Reply by email