Better GTK GUI scaling?
-
I'm running gmusicbrowser in Libertine, and everything is very small, by default. I installed Libertine Tweak Tool, and this has an xdpi scaling tool. I scaled this way up to 320, and now the fonts look correct in gmusicbrowser—but this seems to have only scaled up the fonts and scrollbars. The padding of elements is still very slight, and, most importantly, the icons didn't scale, making the GUI unusable.
I installed gnome-tweak-tool in Libertine, thinking scaling here might help. Not only did it not work, but it unset the scaling from Libertine Tweak Tool and I couldn't get it working again.
It looks like the Libertine container is closer to Lubuntu than Ubuntu. Is that true? If so, maybe there's a LXDE tweak tool I could try. Still, since the target application is in GTK3, I don't know if this would work.
The only other thing I can think of is maybe setting some directive in the desktop file for gmusicbrowser, that forces the GUI to scale.
-
OK, now I destroyed my container and started with a whole new one, but I can't get scaling to work at all. I set xdpi in the tweak tool, but whether it's gmusicbrowser or just gedit, nothing is scaling up. What gives?
-
@3x5 Maybe your new container has a different container id than the old one?
-
@arubislander Thanks for the reply. I thought about that, but I never named my last container, or this one. If I run
libertine-container-manager list
, it only lists 'xenial'. And if I go to Libertine Tweak Took, the container ID is listed as 'xenial'.Furthermore, I can open
~/.local/share/libertine-container/user-data/xenial/.Xdefaults
and the first line clearly saysXft.dpi:320
. If I go back to Tweak Tool, and change the value to 220, I can open .Xdefaults again and it saysXft.dpi:220
.So it does seem like Libertine Tweak Tool is doing what it's supposed to do, but it doesn't have any effect. I even installed a gedit, in case it was specific to gmusicbrowser, but no, that also won't scale.
-
Hello
Did you read this (and some others in Libertine sub-forum) ?
It seems to me that each application has to be adapted instead of using a global setting
According to me, you have better to set the font size and other adjustments available in each program than to use LTTBR
Pulsar33 -
@pulsar33 Thanks for the link, I did see that, but it seems to be referring to a 'dead zone' issue that i wasn't having. In fact, when I first installed my container, I was able to set xdpi just fine. So it worked, and now it doesn't.
I could try installing dconf editor and see if I can make any progress that way, or maybe just run gsetting commands into the container, but I'm afraid to do this now because my problems started after running gnome tweak tool inside libertine, which not only didn't work, but appears to have broken LTT's functionality—even after destroying the container.
-
@3x5 IMHO, after you have destroyed your container with the Preferences/Libertine GUI, it is possible that some irrelevant data persist in the following folders :
/home/phablet/.cache/libertine-container/xenial
/home/phablet/.local/share/libertine-container/user-data/xenial
/userdata/user-data/phablet/.cache/libertine-container/xenial
Have a look to them before creating the new containerHope this help
Pulsar33