There are two config files and the one you want will have a lot more info.
Look 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:
The first time I edited the x,y value and that did not work. I then edited the width and height and that worked. But the owner of KeePass says the newer version took care of that. It was only on Linux that I had the problem.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
How do I change KeePass2 running in Linux Mint to default to open in maximum window?
Have you tried setting it to maximum, then closing KeePass?
cheers, Paul
Yes, but when I open it opens in a small window.
Check the settings in the KeePass config file.
Under
<MainWindow>you should see<maximized>true</maximized>.cheers, Paul
I don't know how to do that in Linux Mint.
You can use Xed (built-in) to view the file.
cheers, Paul
<configuration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<meta>
<preferuserconfiguration>true</preferuserconfiguration>
</configuration>
Thats it for KeePass.config.xml
There are two config files and the one you want will have a lot more info.
Look in '$XDG_CONFIG_HOME/KeePass' (which often is '~/.config/KeePass', where '~' is the user's home directory).
cheers, Paul
Finally found it! Looks like it should open maximized to me.
<mainwindow>
<x>243</x>
<y>71</y>
<width>880</width>
<height>625</height>
<maximized>true</maximized>
<splitterhorizontalfrac>0.8333</splitterhorizontalfrac>
<splitterverticalfrac>0.25</splitterverticalfrac>
<toolbar>
<entryview>
<tanview>
<entrylistcolumncollection>
<column>
<type>Title</type>
<width>256</width>
</column>
<column>
<type>UserName</type>
<width>122</width>
</column>
<column>
<type>Password</type>
<width>122</width>
<hidewithasterisks>true</hidewithasterisks>
</column>
<column>
<type>Url</type>
<width>122</width>
</column>
<column>
<type>Notes</type>
<width>293</width>
</column>
</entrylistcolumncollection>
<entrylistcolumndisplayorder>0 1 2 3 4</entrylistcolumndisplayorder>
<listsorting>
<column>0</column>
<order>Ascending</order>
</listsorting></tanview></entryview></toolbar></mainwindow>
Last edit: Charlie 2025-12-06
May be some mono weirdness - there is plenty of that.
cheers, Paul
This issue has been fixed in KeePass 2.51. The package manager of Linux Mint installs the old version 2.47.
You could download the latest portable ZIP package of KeePass (currently
KeePass-2.60.zip), unpack it and runmono KeePass.exe.Best regards,
Dominik
Someone on the Linux Forum told me a fix that worked.
Can you share it here?
cheers, Paul
Are you on the Linux Mint Forum?
No. Can you post a link?
cheers, Paul
https://forums.linuxmint.com/viewtopic.php?t=458913
You may be able to read without making an account.
Last edit: Charlie 2025-12-22
Which post is the solution?
If it's the one that tells you to edit config.xml, you said above that it doesn't fix the problem.
cheers, Paul
The first time I edited the x,y value and that did not work. I then edited the width and height and that worked. But the owner of KeePass says the newer version took care of that. It was only on Linux that I had the problem.
Using KeePass 2.60 is sufficient. You don't need to edit any configuration file.
Best regards,
Dominik