[opensuse] excessively large fonts in a qt application in gnome
I am running the viber desktop application on my desktop and on my laptop. On my laptop I use gnome because the battery lasts significantly longer than if I am using KDE. So, one of the problems I just ran into is that when running viber, because it is a qt application, the fonts are huge, and I cannot reduce the gui to a small enough level to make it useable. I have no idea where to start on how to reduce the fonts for a qt application in gnome. Normal font adjustments on the gnome tweak tool don't do anything for this qt application. Any ideas? -- George Box: 42.3 | KDE Plasma 5.8 | AMD Phenom IIX4 | 64 | 32GB Laptop #1: 42.3 | Gnome 3.20 | AMD FX 7TH GEN | 64 | 32GB Laptop #2: 42.3 | Gnome 3.20 | Core i5 | 64 | 8GB -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
George from the tribe composed on 2018-02-19 11:05 (UTC+0800):
I am running the viber desktop application on my desktop and on my laptop. On my laptop I use gnome because the battery lasts significantly longer than if I am using KDE.
So, one of the problems I just ran into is that when running viber, because it is a qt application, the fonts are huge, and I cannot reduce the gui to a small enough level to make it useable.
I have no idea where to start on how to reduce the fonts for a qt application in gnome. Normal font adjustments on the gnome tweak tool don't do anything for this qt application. Any ideas?
I looked, and the QT version Viber uses seems to be a secret. I don't use Gnome, so can only guess to try qtconfig (for v3 or v4) or qt5ct (v5). -- "Wisdom is supreme; therefore get wisdom. Whatever else you get, get wisdom." Proverbs 4:7 (New Living Translation) Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata *** http://fm.no-ip.com/ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 02/19/2018 12:06 PM, Felix Miata wrote:
George from the tribe composed on 2018-02-19 11:05 (UTC+0800):
I am running the viber desktop application on my desktop and on my laptop. On my laptop I use gnome because the battery lasts significantly longer than if I am using KDE.
So, one of the problems I just ran into is that when running viber, because it is a qt application, the fonts are huge, and I cannot reduce the gui to a small enough level to make it useable.
I have no idea where to start on how to reduce the fonts for a qt application in gnome. Normal font adjustments on the gnome tweak tool don't do anything for this qt application. Any ideas?
I looked, and the QT version Viber uses seems to be a secret. I don't use Gnome, so can only guess to try qtconfig (for v3 or v4) or qt5ct (v5).
Ok, thanks, I installed qt5ct (assuming that viber is using qt5), and I get this error in a popup dialog: The QT_QPA_PLATFORMTHEME environment variable is not set correctly So I checked the variable:
echo $QT_QPA_PLATFORMTHEME qgnomeplatform
So then I tried adding this line into /etc/environment QT_QPA_PLATFORMTHEME=qt5ct and I tried running it again from the command line:
qt5ct Configuration path: /home/george/.config/qt5ct/ Shared QSS path: /usr/share/qt5ct/qss/
But then I still get the error. So I checked the variable again, and it is unchanged:
echo $QT_QPA_PLATFORMTHEME qgnomeplatform
I am afraid I am messing with things I don't understand and I am probably going to break something. Any ideas what else to do? -- George Box: 42.3 | KDE Plasma 5.8 | AMD Phenom IIX4 | 64 | 32GB Laptop #1: 42.3 | Gnome 3.20 | AMD FX 7TH GEN | 64 | 32GB Laptop #2: 42.3 | Gnome 3.20 | Core i5 | 64 | 8GB -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 02/20/2018 07:42 AM, George from the tribe wrote:
On 02/19/2018 12:06 PM, Felix Miata wrote:
George from the tribe composed on 2018-02-19 11:05 (UTC+0800):
I am running the viber desktop application on my desktop and on my laptop. On my laptop I use gnome because the battery lasts significantly longer than if I am using KDE.
So, one of the problems I just ran into is that when running viber, because it is a qt application, the fonts are huge, and I cannot reduce the gui to a small enough level to make it useable.
I have no idea where to start on how to reduce the fonts for a qt application in gnome. Normal font adjustments on the gnome tweak tool don't do anything for this qt application. Any ideas?
I looked, and the QT version Viber uses seems to be a secret. I don't use Gnome, so can only guess to try qtconfig (for v3 or v4) or qt5ct (v5).
Ok, thanks, I installed qt5ct (assuming that viber is using qt5), and I get this error in a popup dialog:
The QT_QPA_PLATFORMTHEME environment variable is not set correctly
So I checked the variable:
echo $QT_QPA_PLATFORMTHEME qgnomeplatform
So then I tried adding this line into /etc/environment QT_QPA_PLATFORMTHEME=qt5ct
and I tried running it again from the command line:
qt5ct Configuration path: /home/george/.config/qt5ct/ Shared QSS path: /usr/share/qt5ct/qss/
But then I still get the error.
So I checked the variable again, and it is unchanged:
echo $QT_QPA_PLATFORMTHEME qgnomeplatform
I am afraid I am messing with things I don't understand and I am probably going to break something. Any ideas what else to do?
In spite of what I just wrote, I kept trying and found a solution to at least open qt5ct by means of setting the variables: george@tribetrekDell:~> export QT_QPA_PLATFORMTHEME=qt5ct george@tribetrekDell:~> export QT_PLATFORMTHEME=qt5ct george@tribetrekDell:~> export QT_PLATFORM_PLUGIN=qt5ct I don't think I broke anything, at least not yet. So the configuration tool opens now, and I will see if I can figure out how to use it to configure viber. -- George Box: 42.3 | KDE Plasma 5.8 | AMD Phenom IIX4 | 64 | 32GB Laptop #1: 42.3 | Gnome 3.20 | AMD FX 7TH GEN | 64 | 32GB Laptop #2: 42.3 | Gnome 3.20 | Core i5 | 64 | 8GB -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 20.02.2018 00:54, George from the tribe wrote:
In spite of what I just wrote, I kept trying and found a solution to at least open qt5ct by means of setting the variables:
george@tribetrekDell:~> export QT_QPA_PLATFORMTHEME=qt5ct george@tribetrekDell:~> export QT_PLATFORMTHEME=qt5ct george@tribetrekDell:~> export QT_PLATFORM_PLUGIN=qt5ct
I don't think I broke anything, at least not yet. So the configuration tool opens now, and I will see if I can figure out how to use it to configure viber.
Hi, this should be enough for qt5ct: echo "export QT_QPA_PLATFORMTHEME='qt5ct'" >> ~/.profile The above requires you to log out and in again, but will survive reboots etc. Best Alex
participants (3)
-
Alexander Graul
-
Felix Miata
-
George from the tribe