Hello, some weeks ago my MX Linux 23.5 started to do an update for XFCE desktop to version 4.20.
Since then KeePass is not usable for me anymore. Screens, symbols, fonts everything is big like the whole desktop screen so that its not usable again. Even resizing the KeePass windows with mouse is not possible.
Searching around the net but didn't find any solution so far. Meanwhile I tested on a complete new installation but it's the same. Seems the issue has only to to with XFCE 4.20 because on other/older installation with 4.18 its working as usual. Also no issues with other apps, KeePass is the only one, unfortunatelly I need to use KeePassXC since then :-(
Anybody some idea where I can start to fix this issue ?
Do you need any additional information for this ?
Attached you find 2 screenshots how it looks on my laptop:
Aufgrund meines fortgeschrittenen Alters und meinem eingerosteten Schulenglisch kann ich hier leider nur auf deutsch antworten. Wenn jemand die Lösung ins Englische übersetzen möchte, kann er das gerne tun.
Ich babe diverse MX-Linux-Installationen auf diversen Maschinen am Laufen, real und virtuell. Bei allen trat das hier erwähnte Problem mit dem übergroßen KeePass2-Fenster auf. Ich habe mir schon die Haare gerauft, wollte aber auch partout nicht auf KeePassXC wechseln.
Also...
Lösung für KeePass2 2.47
KeePass2 starten und alles wird übergroß dargestelt
in
Tools -> Options
den Reiter Interface anklicken
die 1. Zeile markieren, so dass sie blau hinterlegt ist
dann die "Pfeil unten"-Taste so lange drücken, bis sich nichts mehr tut
Leertaste drücken, damit das Häkchen bei "Force usage of system font (Unis only)" entfernt wird
dann 8 Mal die Tab-Taste drücken, bis man auf dem Ok-Button landet --> Enter drücken
Keepass neu starten und voila
Lösung für KeePass2 2.57
KeePass2 starten und alles wird übergroß dargestelt
in
Tools -> Options
den Reiter Interface1 anklicken
die 1. Zeile markieren, so dass sie blau hinterlegt ist
dann die "Pfeil unten"-Taste so lange drücken, bis sich nichts mehr tut
Leertaste drücken, damit das Häkchen bei "Force usage of system font (Unis only)" entfernt wird
dann 2 Mal die Tab-Taste drücken, bis man auf dem Ok-Button landet --> Enter drücken
Keepass neu starten und voila
Bei mir hat es bei all meinen MX-Installationen geholfen. Ich hoffe, bei Euch auch
Schöne Grüße
Rick
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Unfortunately it's not possible to navigate to this or any other menu, which is the issue.
Maybe any option via editing an xml or config file of KeePass ?
Best regards
Mark
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello Dominik,
many thanks for your support.
Adjust the setting in the xml like you suggested didn't made it.
BUT I found other thing while experimenting:
starting Keepass.exe from terminal commandline in the directory I unpacked it:
sudo mono Keepass.exe
==> it's working fine !!! Starting without sudo (mono Keepass.exe) I run into same error as described in the beginning.
Only error I have with sudo: double-clicking on the URL of an entry to open the URL in a browser does not start the browser. In the background terminal I got error message:
Running Firefox as root in a regular user's session is not supported. ($XAUTHORITY is /home/pinochio/.Xauthority which is owned by pinochio.)
Any clue what can be the issue ? Something with access-rights ?
Best regards
Frank
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
If the ForceSystemFontUnix option is turned off, KeePass doesn't specify/change the UI font, i.e. it is determined by Mono. So, this seems to be a bug in Mono. As it works when running KeePass with sudo, I guess there's a setting in your regular user profile that causes Mono to compute the font size incorrectly (the setting might be misinterpreted, corrupted, missing, ...); I'm not sure.
I've tried to reproduce this issue (with an up-to-date MX Linux 23.5 in a VM, with different scaling factors), but it always worked fine for me. So, the Mono developers might need more details, if you want to report it there.
Same here, only that the whole desktop seems to be affected everytime I launch keepass and move around the program interface (ie mouse pointer moves but I can't change focus between windows for a few seconds). Program is slow to launch, switch from master password window to main interface, and also exit.
I run mono /usr/lib/keepass2/KeePass.exe and no errors are displayed, mono in verbose also doesn't show anything suspicious. Tried both systemfont configs (enabled or disabled) to no avail.
Very weird (no other programs misbehave). BTW, I have a multi-display setup (laptop display + 2 monitors connected) if that gives any clue.
Thanks for any tip on how to troubleshooting the issue! W
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
BTW, when trying to install keeuiext as suggested, Plugins Manager trying to open the plugins folder it errors in "/usr/lib/keepass2/Plugins Cannot find specified file" and mono doesn't display any errors to give me a clue on what's happening
TIA, W
keepass v2.57
Mono JIT compiler version 6.8.0.105 (Debian 6.8.0.105+dfsg-3.3 Wed Dec 14 11:18:08 UTC 2022)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
/usr/lib/keepass2/Plugins folder does exist, installer made it owned by root:root and I expanded permissions to a+rwx just in case, but the error still appears (folder is empty btw, just in case the program expects any cfg file in there)
Thx, W
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Have you tried closing KeePass and then renaming the config file?
On Linux systems, the local configuration file is typically stored in '$XDG_CONFIG_HOME/KeePass' (which often is '~/.config/KeePass', where '~' is the user's home directory).
cheers, Paul
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello, some weeks ago my MX Linux 23.5 started to do an update for XFCE desktop to version 4.20.
Since then KeePass is not usable for me anymore. Screens, symbols, fonts everything is big like the whole desktop screen so that its not usable again. Even resizing the KeePass windows with mouse is not possible.
Searching around the net but didn't find any solution so far. Meanwhile I tested on a complete new installation but it's the same. Seems the issue has only to to with XFCE 4.20 because on other/older installation with 4.18 its working as usual. Also no issues with other apps, KeePass is the only one, unfortunatelly I need to use KeePassXC since then :-(
Anybody some idea where I can start to fix this issue ?
Do you need any additional information for this ?
Attached you find 2 screenshots how it looks on my laptop:
Thanks for your support.
Best regards
Mark
If you click 'Tools' → 'Options' → tab 'Interface (1)' and deactivate the option 'Force usage of system font (Unix only)', does it look better?
Best regards,
Dominik
Aufgrund meines fortgeschrittenen Alters und meinem eingerosteten Schulenglisch kann ich hier leider nur auf deutsch antworten. Wenn jemand die Lösung ins Englische übersetzen möchte, kann er das gerne tun.
Ich babe diverse MX-Linux-Installationen auf diversen Maschinen am Laufen, real und virtuell. Bei allen trat das hier erwähnte Problem mit dem übergroßen KeePass2-Fenster auf. Ich habe mir schon die Haare gerauft, wollte aber auch partout nicht auf KeePassXC wechseln.
Also...
Lösung für KeePass2 2.47
KeePass2 starten und alles wird übergroß dargestelt
in
Tools -> Options
den Reiter Interface anklicken
die 1. Zeile markieren, so dass sie blau hinterlegt ist
dann die "Pfeil unten"-Taste so lange drücken, bis sich nichts mehr tut
Leertaste drücken, damit das Häkchen bei "Force usage of system font (Unis only)" entfernt wird
dann 8 Mal die Tab-Taste drücken, bis man auf dem Ok-Button landet --> Enter drücken
Keepass neu starten und voila
Lösung für KeePass2 2.57
KeePass2 starten und alles wird übergroß dargestelt
in
Tools -> Options
den Reiter Interface1 anklicken
die 1. Zeile markieren, so dass sie blau hinterlegt ist
dann die "Pfeil unten"-Taste so lange drücken, bis sich nichts mehr tut
Leertaste drücken, damit das Häkchen bei "Force usage of system font (Unis only)" entfernt wird
dann 2 Mal die Tab-Taste drücken, bis man auf dem Ok-Button landet --> Enter drücken
Keepass neu starten und voila
Bei mir hat es bei all meinen MX-Installationen geholfen. Ich hoffe, bei Euch auch
Schöne Grüße
Rick
English Version
Solution for KeePass 2.47
Solution for KeePass 2.57
Last edit: Paul 2025-04-02
Unfortunately it's not possible to navigate to this or any other menu, which is the issue.
Maybe any option via editing an xml or config file of KeePass ?
Best regards
Mark
In your 'KeePass.config.xml' file, set
Configuration/UI/ForceSystemFontUnix
tofalse
, like in this fragment:Best regards,
Dominik
Hello Dominik,
many thanks for your support.
Adjust the setting in the xml like you suggested didn't made it.
BUT I found other thing while experimenting:
starting Keepass.exe from terminal commandline in the directory I unpacked it:
sudo mono Keepass.exe
==> it's working fine !!! Starting without sudo (mono Keepass.exe) I run into same error as described in the beginning.
Only error I have with sudo: double-clicking on the URL of an entry to open the URL in a browser does not start the browser. In the background terminal I got error message:
Running Firefox as root in a regular user's session is not supported. ($XAUTHORITY is /home/pinochio/.Xauthority which is owned by pinochio.)
Any clue what can be the issue ? Something with access-rights ?
Best regards
Frank
If the
ForceSystemFontUnix
option is turned off, KeePass doesn't specify/change the UI font, i.e. it is determined by Mono. So, this seems to be a bug in Mono. As it works when running KeePass with sudo, I guess there's a setting in your regular user profile that causes Mono to compute the font size incorrectly (the setting might be misinterpreted, corrupted, missing, ...); I'm not sure.I've tried to reproduce this issue (with an up-to-date MX Linux 23.5 in a VM, with different scaling factors), but it always worked fine for me. So, the Mono developers might need more details, if you want to report it there.
As a workaround, you could try specifying a font explicitly with the KeeUIExt plugin:
https://keepass.info/plugins.html#keeuiext
I don't recommend running KeePass with sudo.
Best regards,
Dominik
Same here, only that the whole desktop seems to be affected everytime I launch keepass and move around the program interface (ie mouse pointer moves but I can't change focus between windows for a few seconds). Program is slow to launch, switch from master password window to main interface, and also exit.
I run
mono /usr/lib/keepass2/KeePass.exe
and no errors are displayed, mono in verbose also doesn't show anything suspicious. Tried both systemfont configs (enabled or disabled) to no avail.Very weird (no other programs misbehave). BTW, I have a multi-display setup (laptop display + 2 monitors connected) if that gives any clue.
Thanks for any tip on how to troubleshooting the issue! W
BTW, when trying to install keeuiext as suggested, Plugins Manager trying to open the plugins folder it errors in "/usr/lib/keepass2/Plugins Cannot find specified file" and mono doesn't display any errors to give me a clue on what's happening
TIA, W
keepass v2.57
Mono JIT compiler version 6.8.0.105 (Debian 6.8.0.105+dfsg-3.3 Wed Dec 14 11:18:08 UTC 2022)
If the 'Plugins' folder does not exist, you need to create it (my installers/packages already contain an empty 'Plugins' folder).
The latest version of the KeeUIExt plugin (1.4) is built for KeePass 2.58 (and higher).
Best regards,
Dominik
/usr/lib/keepass2/Plugins folder does exist, installer made it owned by root:root and I expanded permissions to a+rwx just in case, but the error still appears (folder is empty btw, just in case the program expects any cfg file in there)
Thx, W
Have you tried closing KeePass and then renaming the config file?
cheers, Paul