Libertine tweak tool, how to install on Focal?
-
unfortunately I don't have a focal device ... I've made a build for it, but I have no way to test it myself. But if there is a brave soul who wants to try and give feedback, that would be awesome. Here's how you download: https://gitlab.com/doniks/libertine-tweak-tool/-/blob/xenial/README.md#development-version
-
@idj maybe rephrase the topic to reflect "on focal"
-
@doniks said in Libertine tweak tool, how to install?:
maybe rephrase the topic to reflect "on focal"
Done.
-
Thanks a lot guys, but I switched to Xenial and I'll stick with it.
Also, I'll not use LTT anymore, because it causes me issues.
The best thing I'll do, if it's possible and if I'll learn how, is to lower screen resolution to 1280x720 -
@doniks said in Libertine tweak tool, how to install on Focal?:
unfortunately I don't have a focal device ... I've made a build for it, but I have no way to test it myself. But if there is a brave soul who wants to try and give feedback, that would be awesome. Here's how you download: https://gitlab.com/doniks/libertine-tweak-tool/-/blob/xenial/README.md#development-version
Just tried this but unfortunately it doesn't have any effect on my focal container.
-
@grumpyoldbloke said in Libertine tweak tool, how to install on Focal?:
@doniks said in Libertine tweak tool, how to install on Focal?:
unfortunately I don't have a focal device ... I've made a build for it, but I have no way to test it myself. But if there is a brave soul who wants to try and give feedback, that would be awesome. Here's how you download: https://gitlab.com/doniks/libertine-tweak-tool/-/blob/xenial/README.md#development-version
Just tried this but unfortunately it doesn't have any effect on my focal container.
are you able to connect via adb? If so, can you extract the logfile for ltt for me? Like this:
adb pull /home/phablet/.cache/upstart/application-click-libertine-tweak-tool.doniks_libertine-tweak-tool_1.4.0.log
-
@doniks ADB isn't working on my 20.04 install but there is no logfile in upstart anyway.
Tried to reinstall the app but no change, Openstore says that it is version 1.4.0.
-
@grumpyoldbloke said in Libertine tweak tool, how to install on Focal?:
@doniks ADB isn't working on my 20.04 install but there is no logfile in upstart anyway.
uh yeah, makes sense I guess. I think upstart is gone in focal. Probably there are app logs somewhere ... but I don't know where
wouldn't have to be adb either. ssh, or if you find it with the filemanager or terminal that's fine also, but well, I'm kinda talking blindly here, sorry.
Tried to reinstall the app but no change, Openstore says that it is version 1.4.0.
so, I haven't updated the version number, so if you take it from gitlab it will always show up as 1.4.0
-
@doniks said in Libertine tweak tool, how to install on Focal?:
wouldn't have to be adb either. ssh, or if you find it with the filemanager or terminal that's fine also, but well, I'm kinda talking blindly here, sorry.
maybe even better can you try to find the log with Logviewer app from the openstore? (might need to scroll a lot to find it someone told me)
-
@doniks Found it: https://dpaste.com/CBE4VMJTE
-
@grumpyoldbloke awesome!
mhm, it seems that the xdpi value in container "focal" has been changed to 203. but you say
it doesn't have any effect on my focal container.
how do you check whether it has an effect?
can you do the following:
- close LTT
- open xterm from your focal container
- take a photo (not a screenshot, please use another camera if you can)
- close xterm
- open LTT and change the value to the lowest possible value and close LTT
- reopen xterm and take another photo
and then share the photos here
-
@doniks I have been running Aisleriot in my container, in 16.04 changing xdpi changed the toolbar size but in 20.04 it does not.
Xterm behaves correctly, if I change the xdpi the font becomes bigger or smaller as expected but I don't actually use xterm very often so I will try with another app when I have time, hopefully later today.
-
@grumpyoldbloke ah ok. yeah you are right xterm is kinda pointless on UT, it was just a simple test. well. good news we know that version of LTT does something, bad news it seems setting xdpi doesn't help aisleriot in 20.04 ...
I could start speculating about gnome/gtk apps and mir/wayland, maybe it is now "better" integrated and not falling back to X anymore, but then it would need some other trick to scale up. If you want to dig deeper I can maybe look up some suggestions, but it will be some painstaiking trial and error and editing obscure config files and no promises
-
@doniks Just tried another couple of apps: Firefox worked correctly but Kpatience didn't..
I would be quite interested in helping to solve this problem, happy enough to poke at things with a little bit of guidance.
-
@doniks - thank you so much for this! In my tests on Volla Phone running Focal it works
The only issue I saw is that the default container id shown by it on launch is "xenial" - please change this so it defaults to "focal" so users do not have to enter this for each new install.Beat regards,
Steve Berson -
@totalsonic said in Libertine tweak tool, how to install on Focal?:
@doniks - thank you so much for this! In my tests on Volla Phone running Focal it works
The only issue I saw is that the default container id shown by it on launch is "xenial" - please change this so it defaults to "focal" so users do not have to enter this for each new install.Beat regards,
Steve Bersondone feel free to retest from gitlab
-
@grumpyoldbloke said in Libertine tweak tool, how to install on Focal?:
@doniks Just tried another couple of apps: Firefox worked correctly but Kpatience didn't..
I would be quite interested in helping to solve this problem, happy enough to poke at things with a little bit of guidance.
Awesome!
So, the first thing to understand (at least for me that was a revelation) is that libertine isn't all that magical. There are a few layers of magic (to me) like mir, wayland, xmir, xwayland, android drivers, chroot, proot, lxd, but we can ignore all of those.
For our discussion here, Libertine is basically just a folder with a regular old linux installation inside. And what you want to do is shoehorn the X configuration and X based apps inside that regular old linux installation into ... mostly just make things larger on the screen. Sometimes maybe also hide some parts or maybe arrange things in a more touch friendly way. That means that there actually is already a large part of information out there in the internet where people are trying to force X into small screens or fighting with high dpi screens stuff like this. The challenge here is to find this information. Many of those things have been reinvented a few times over the decades. However, often this information also rots away, since, well it is not a future proof solution. The future proof solution is stuff like wayland and (new) apps that are built with touch and small screens in mind. But, alas, here we are playing Libertine and trying yet again to carry the non-touchfriendly oldschool apps over to UT.
As with many advanced linuxy topics, a great place to start is arch documentation: https://wiki.archlinux.org/title/HiDPI Next to X things there are now also quite a few gtk/gnome or kde specific tricks that one can play. Also there are for practically every desktop environment some appearance, theme tweaking tools. a few loose notes I collected are here: https://gitlab.com/doniks/libertine-tweak-tool/-/blob/xenial/TODO Once we know how to tweak some app this boils down to changing some config file inside
~/.config
or~/.gtkblahdiblub
or so. Libertine-Tweak-Tool is even less magically, it just performs some specific changes in some of these config files.rough and quick and dirty. give it a read and let me know what you think
-
Excuse me, but I bet if we can set a certain display resolution, the DPI settings would be surpassed.
In the same device as I now use with UT, I used to have Android and Termux/Andronix+Ubuntu XFCE.
It used to work (graphically) very well by setting a 1280x720 display resolution for VNC (the X Server is actually deployed with VNC in Termux and the like systems).
Why then don't I stick with Termux? Hardware support = none!By the way, forcing a customized resolution instead of DPI could be a game changer.
-
@doniks said in Libertine tweak tool, how to install on Focal?:
The future proof solution is stuff like wayland and (new) apps that are built with touch and small screens in mind. But, alas, here we are playing Libertine and trying yet again to carry the non-touchfriendly oldschool apps over to UT.
Emphasis on this part
Yeah basically convergence is the future.
In my opinion Ubuntu Touch is the best OS for it and if enough effort is made towards convergence we won't need what are distractions to me: Libertine, Waydroid, Anbox, ... Android, iOSNative and convergence is the way.
-
@applee said in Libertine tweak tool, how to install on Focal?:
@doniks said in Libertine tweak tool, how to install on Focal?:
The future proof solution is stuff like wayland and (new) apps that are built with touch and small screens in mind. But, alas, here we are playing Libertine and trying yet again to carry the non-touchfriendly oldschool apps over to UT.
Emphasis on this part
Yeah basically convergence is the future.
In my opinion Ubuntu Touch is the best OS for it and if enough effort is made towards convergence we won't need what are distractions to me: Libertine, Waydroid, Anbox, ... Android, iOSNative and convergence is the way.
Well, I agree it is the future. But it has been the future for quite a while and it still hasn't turned into the present. While I'm waiting for the future I still see the need for a (multiple-years .. decades?) stopgap ...