You are not logged in.

#1 2020-09-20 15:26:46

ratcheer
Member
Registered: 2011-10-09
Posts: 912

[SOLVED] Trying to display larger font in KeepassXC

The fonts displayed in KeepassXC are tiny. I searched on how to fix it, and what I found (in the GITHub issues) seems to be that it depends on the system QT settings. So, I searched about that, and I was pointed to qt5ct configuration tool, which exists as a package in the Arch repos. I installed it.

When I ran it, it told me it wasn't configured, correctly. It told me to set "QT_QPA_PLATFORMTHEME=qt5ct". I did that, and then it let me change the General and Fixed Width fonts. I changed them to Source Code Pro Medium 14. They look excellent in the qt5ct interface.

I restarted KeepassXC, and absolutely nothing has changed. The fonts are still tiny. So, either I am misunderstanding this stuff in a major way, or it is supposed to work but doesn't. Does anyone know how to set larger fonts in KeepassXC?

Last edited by ratcheer (2020-09-20 15:35:11)

Offline

#2 2020-09-20 15:37:16

ratcheer
Member
Registered: 2011-10-09
Posts: 912

Re: [SOLVED] Trying to display larger font in KeepassXC

Ok, I figured it out. If I run KeepassXC from a terminal with "QT_QPA_PLATFORMTHEME=qt5ct" set, it displays the fonts I selected in qt5ct. I guess that is a "Duh!" moment.

Offline

#3 2020-09-20 16:04:29

robson75
Member
From: Poland
Registered: 2020-06-28
Posts: 144

Re: [SOLVED] Trying to display larger font in KeepassXC

It depends on what kind of DE you have, with me on Xfce for qt5ct to work properly I had to create a file ~/home/.profile and add this content to it

export QT_QPA_PLATFORMTHEME="qt5ct"
export GTK2_RC_FILES="$HOME/.gtkrc-2.0"

Arch Linux Xfce - 64Bit Linux User #621110

Offline

Board footer

Powered by FluxBB