[GNC] Toolbar ignoring gtk-toolbar-style setting in Ubuntu 18.04 (Bionic)

Geert Janssens geert.gnucash at kobaltwit.be
Fri Apr 20 12:09:33 EDT 2018


Op vrijdag 20 april 2018 16:03:42 CEST schreef Jonathan Kamens:
> On 4/20/18 9:49 AM, Geert Janssens wrote:
> > Op vrijdag 20 april 2018 14:39:19 CEST schreef Jonathan Kamens:
> >> I am puzzled by your response for four reasons:
> >> 
> >> 1. Ubuntu 18.04 is using GnuCash 2.6.17, not GnuCash 3, and 2.6.17 is
> >> still using Gtk+2.
> >> 
> >> 2. I observe the same behavior in the toolbar of the Gtk 2 demo
> >> application. It is not unique to GnuCash.
> >> 
> >> 3. When I SSH into my Ubuntu 18.04 box and run GnuCash over the X
> >> connection forwarded through SSH, the toolbar displays as expected (with
> >> both icons and labels). It is only when it is displayed on the Ubuntu
> >> 18.04 local display that it's using both+horiz mode even though my
> >> settings say that it should use both mode.
> > 
> > Right! For 2.x this should still work and it's mostly a matter of
> > configuring it properly.
> > 
> > One way to do so would be to create a file named .gtkrc-2.0 in your home
> > directory or a gtkrc-2.0 file in $HOME/.config and add the following line:
> > gtk-toolbar-style=GTK_TOOLBAR_BOTH_HORIZ
> 
> I feel like you are not reading what I'm writing here.
> 
> My point -- the reason why I started this thread -- is that IT'S NOT
> WORKING on Ubuntu 18.04, even though I DO have it configured properly.
> 
> I spelled this out in excruciating detail in the Launchpad bug I
> referenced. Here it is again:
> https://bugs.launchpad.net/ubuntu/+source/gtk+2.0/+bug/1765401 . Please,
> kindly read the plethora of detailed information I spent hours
> collecting and putting in that bug before assuming that I'm a clueless user.
> 
> The TL;DR is that gconftool, dconf, gtk-query-settings, and gsettings
> all say that I have toolbar-style set to "both", and yet GnuCash 2.6.17
> is still using both+horiz. Creating .gtkrc-2.0 and .gtkrc-2.0.gnucash
> did not help (though it did cause the output of gtk-query-settings to
> change from both-horiz to both, though, again, that did not cause
> GnuCash to do the right thing).

I did somehow miss your bug report indeed. Sorry.

I have added a few notes there, though I don't know a definitive solution on 
gnucash 2.6 either.

Regards,

Geert




More information about the gnucash-user mailing list