4K suport for Ubuntu 18.04
4K suport for Ubuntu 18.04
I'm using a ubuntu 18.04 and a 4K monitor, seems automatically filebot uses system config for fonts, but not for the rest of the gui, icons are small, and the most important, like fonts gets bigger but not the height of the lines where the names of the episodes are handled, the fonts are bigger and you can see only a small portion of the text.
Re: 4K suport for Ubuntu 18.04
1.
Please provide sysinfo output and screenshots.
2.
Java 9 and above should have improved support for HiDPI. It works on Windows and MacOS but effectively untested on Linux because I don't have a 4K monitor and I haven't found any options to simulate HiDPI mode on Gnome or KDE. Might work. Might not. Might be possible to to force things with Java properties such as -Dsun.java2d.uiScale=2 maybe.
Please provide sysinfo output and screenshots.
2.
Java 9 and above should have improved support for HiDPI. It works on Windows and MacOS but effectively untested on Linux because I don't have a 4K monitor and I haven't found any options to simulate HiDPI mode on Gnome or KDE. Might work. Might not. Might be possible to to force things with Java properties such as -Dsun.java2d.uiScale=2 maybe.
-
- Posts: 4
- Joined: 15 Apr 2020, 02:54
Re: 4K suport for Ubuntu 18.04
I am running Pop!_OS 19.04 and Filebot 4.9.1. with Openjdk 11. I already have 200% scaling on a 3200x1800 display, but filebot does not seem to honor the scaling. I found that if I run it scales properly for me. So, I added "export GDK_SCALE=2" to the beginning of /usr/share/filebot/bin/filebot.sh, now it scales properly every time I start filebot.
If anyone has a better/more appropriate way, please reply.
Code: Select all
GDK_SCALE=2 filebot
If anyone has a better/more appropriate way, please reply.
Re: 4K suport for Ubuntu 18.04
Have you tried this yet?
-
- Posts: 4
- Joined: 15 Apr 2020, 02:54
Re: 4K suport for Ubuntu 18.04
You can pass them onto FileBot via the JAVA_OPTS environment variable:
Code: Select all
export JAVA_OPTS="-Dsun.java2d.uiScale=2"
https://help.ubuntu.com/community/Envir ... nvironment

-
- Posts: 4
- Joined: 15 Apr 2020, 02:54
Re: 4K suport for Ubuntu 18.04
Forgive my ignorance, but is the JAVA_OPTS environment variable you cite system wide? In other words, would it affect all other Java apps? If so, I would rather have it just affect Filebot. (Most of my other java apps are scaling as desired.) Would placing into the filebot.sh file work?
Thanks again for your help.
Code: Select all
export JAVA_OPTS="-Dsun.java2d.uiScale=2"
Thanks again for your help.
-
- Posts: 4
- Joined: 15 Apr 2020, 02:54
Re: 4K suport for Ubuntu 18.04
Answered my own question. I did add it to filebot.sh. Works perfectly. THANKS!