On 03/02/2017 09:12 PM, David C. Rankin wrote:
All,
How can I get geany 1.29 on leap to use my gtk2 themes? I have geany 1.24 on raspberry Pi that uses my gtk2 theme and looks great. 1.29 on Leap looks like some clunky tutorial app you would put together while learning gtk.
I have ~/.config/settings.ini and gtk.css set the same on leap/rasp, but geany on Leap looks terrible, the toolbar height is 2x what it should be, the tabs on top of edit window are so huge they are unusable, the icons on the toolbar do not fit on the toolbar and spill out into an overflow ellipsed dropdown menu on the right of the toolbar. The status bar is 2x the size wasting critical edit window real-estate... it's truly horrible.
I have Adwaita installed for gtk3, but there are just no themes out there that make geany look workable. What's the trick to make geany on Leap look good?
Solved, You have to build geany against GTK+2 yourself. (the geany devs were surprised opensuse was even building against GTK+3). To build against GTK+2, just branch it to your buildservice account or download the geany source rpm. (install it) and edit the 'geany.spec' file (in the ~/rpmbuild/SPECS directory) and change the line at the top from: %define prefer_gtk2 0 to %define prefer_gtk2 1 and rebuild the package: $ rpmbuild -ba geany.spec Then install geany (geany-devel if you need it) and libgeany0 with (rpm -Uvh --replacepkg --replacefiles if you didn't bump the subversion) All will be right when you start geany again (and look good too) -- David C. Rankin, J.D.,P.E. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org