On 2024-10-09 13:38, eben@gmx.us wrote:
On 10/8/24 20:13, Ash Joubert wrote:On 2024-10-09 13:00, eben@gmx.us wrote:I use (and like) keepassx. The only thing I don't like is right now the type is really small. It used to be readable.keepassxc is a Qt5 application and honours Qt font settings. Under XFCE, I use qt5ct and set the environment variable QT_QPA_PLATFORMTHEME=qt5ctHuh. If I run it from a terminal emulator it looks fine, but if XFCE launches it the text is tiny. Looks like QT_QPA_PLATFORMTHEME isn't being set. Which means something is running a not-login shell, something between startx and xfwm. It's defined in ~/.profile. Any ideas?
~/.profile is only sourced when bash is run as a login shell, which is not the case when XFCE starts. To set environment variables for applications started by XFCE, add lines before the last line in ~/.config/xfce4/xinitrc
For example, the end of my ~/.config/xfce4/xinitrc looks like: # some lines export QT_QPA_PLATFORMTHEME=qt5ct # more lines . /etc/xdg/xfce4/xinitrcYou will need to log out and in again for this change to take effect. You will also need the qt5ct package installed. You should then be able to run Settings / Qt5 Settings from the XFCE menu (or qt5ct from the command line) to change your Qt theme and font settings.
Cheers, -- Ash Joubert (they/them) <ash@transient.nz> Director / Game Developer Transient Software Limited <https://transient.nz/> New Zealand