Menu

Open KeePass2 in full window

Charlie
2025-12-05
2025-12-22
  • Charlie

    Charlie - 2025-12-05

    How do I change KeePass2 running in Linux Mint to default to open in maximum window?

     
    👍
    1
  • Paul

    Paul - 2025-12-05

    Have you tried setting it to maximum, then closing KeePass?

    cheers, Paul

     
  • Charlie

    Charlie - 2025-12-05

    Yes, but when I open it opens in a small window.

     
  • Paul

    Paul - 2025-12-05

    Check the settings in the KeePass config file.
    Under <MainWindow> you should see <maximized>true</maximized>.

    cheers, Paul

     
    👍
    1
  • Charlie

    Charlie - 2025-12-06

    I don't know how to do that in Linux Mint.

     
  • Paul

    Paul - 2025-12-06

    You can use Xed (built-in) to view the file.

    cheers, Paul

     
  • Charlie

    Charlie - 2025-12-06

    <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

     
  • Paul

    Paul - 2025-12-06

    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

     
  • Charlie

    Charlie - 2025-12-06

    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
  • Paul

    Paul - 2025-12-06

    May be some mono weirdness - there is plenty of that.

    cheers, Paul

     
  • Dominik Reichl

    Dominik Reichl - 2025-12-20

    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 run mono KeePass.exe.

    Best regards,
    Dominik

     
  • Charlie

    Charlie - 2025-12-20

    Someone on the Linux Forum told me a fix that worked.

     
    • Paul

      Paul - 2025-12-20

      Can you share it here?

      cheers, Paul

       
  • Charlie

    Charlie - 2025-12-22

    Are you on the Linux Mint Forum?

     
    • Paul

      Paul - 2025-12-22

      No. Can you post a link?

      cheers, Paul

       
  • Charlie

    Charlie - 2025-12-22

    https://forums.linuxmint.com/viewtopic.php?t=458913
    You may be able to read without making an account.

     

    Last edit: Charlie 2025-12-22
  • Paul

    Paul - 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

     
    • Charlie

      Charlie - 2025-12-22

      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.

       
  • Dominik Reichl

    Dominik Reichl - 2025-12-22

    Using KeePass 2.60 is sufficient. You don't need to edit any configuration file.

    Best regards,
    Dominik

     

Log in to post a comment.