Until version 1.32 I used a custom color scheme for interface. I run Geany with this command:
bash -c 'GTK2_RC_FILES=~/.config/geany/my_theme geany %F'
with 1.33 version this launcher does not work... any suggestion?
I'm on Ubuntu 16.04 and GTK 3.18.9, GLib 2.48.2
thank you
You're using a GTK+ 3 build of Geany, so your GTK+ 2 gtkrc theme isn't going to work anymore. Nothing has changed in Geany, just you (or your distro, PPA, etc.) has used the `--enable-gtk3` option when building Geany.
ah ok... thank you.
so if i change PPA to another with geany 1.33 compiled with gtk2 it would be work or not?
so if i change PPA to another with geany 1.33 compiled with gtk2 it would be work or not?
If it's built against GTK+ 2, it would work just as it did before.
Or how can i enable my old theme with gtk3?
You would have to port it to [GTK+ 3 CSS](https://developer.gnome.org/gtk3/stable/chap-css-overview.html). Unfortunately they changed just about everything between v2 and v3 to do with theming, but if you know CSS already, you'd probably find it easier/better in GTK+3.
ok thanks!
Ok, finally solve with the help of Gtk Inspector. With these rules you can customize a dark theme for sidebar and dialogs (I didn't want to customize entire interface):
#GeanyDialog GtkButton, #GeanyDialog GtkButton GtkLabel, #GeanyDialog GtkButton GtkImage, #GeanyDialog GtkWidget GtkEntry, #GeanyDialog GtkWidget GtkButton { background: #f0f0f0; color: #000; }
#GeanyDialogSearch, #GeanyDialog, GtkTreeView { background: #1e1e1e; color: #fff; }
#GeanyDialog GtkWidget { background: transparent; }
GtkTreeView:hover, GtkTreeView:insensitive, GtkTreeView:active { background: #666; }
GtkTreeView:selected { background-color: #2F5692; color: #fff; }
Is anyone knows a way to reload the config **by command line**.
Same as `Tools` `Reload Configuration`?
github-comments@lists.geany.org