Menu

#1057 Copy to clipboard does not work at all (Linux mono)

KeePass_2.x
closed
nobody
None
5
2016-08-21
2012-11-30
No

Copying something out of KeePass2 does not work at all. I am using KeePass2 version 2.20.1 under Ubuntu Linux 12.12 with mono 2.10.8.1. The desktop manager is XFCE. No method for copy/paste works: Ctrl-C, mouse right click and copy, selecting, nothing.
On the other hand, the opposite direction, from outside of KeePass2 into KeePass2 works just fine, with all methods.

Discussion

  • Dominik Reichl

    Dominik Reichl - 2012-11-30
    • status: open --> closed
     
  • Dominik Reichl

    Dominik Reichl - 2012-11-30

    You have to install the 'xsel' utility/package. This is documented on http://keepass.info/help/v2/setup.html#mono

     
  • averlon

    averlon - 2013-08-21

    yes, xsel is (was) installed.

     
  • Mike Power

    Mike Power - 2013-09-09

    Installing xsel package does not resolve the issue for me. However I can copy and paste into another application and then copy and paste to the application of my choosing.

    For example
    Ctrl-C from keepass2
    Ctrl-V to gedit
    Right Click, Paste to console

    What I cannot do is
    Ctrl-C from keepass2
    Right Click, Paste to console

    I also cannot do
    Ctrol-C from keepass2
    Middle Click to console

     
  • Haprog

    Haprog - 2013-12-27

    I have this same problem on a newly installed Xubuntu 13.10, Mono 2.10.8.1 and KeePass 2.24. I do have the xsel package installed (by default) but clipboard still doesn't work properly.

    Mike Power: Thanks for pointing out that pasting to some applications do work.

    I for example can't copy from KeePass and paste into PhpStorm (7.1). I tried to copy my PhpStorm License key from KeePass and paste to PhpStorm after installation but it didn't work. I was able to paste the key from KeePass to AbiWord (3.0.0) though and then copy from AbiWord and paste to PhpStorm. Weird.

     
  • Niko Sten

    Niko Sten - 2014-01-05

    I have the similar issues with newly installed (today) Manjaro with mono version of 3.2.3. Copying notes does not work at all. Tried Ctrl+C, right-click & copy|copy all, tried also middle button.

    Password copy works by double clicking the "****" but I have not found a way to copy notes. I use notes for storing application license keys.

     
  • Paul

    Paul - 2014-01-06

    You have a mono problem and we can't really help apart from pointing you to the installation instructions - see the top of this thread.
    If you manage to fix this please let us know so we can update the instructions.

    cheers, Paul

     
  • Jacek Radajewski

    I've had the same problem since I've upgraded to Linux Mint 17

    My workaround:

    1. In keepass copy username or password with either mouse menu or CTRL-C
    2. open emacs editor and in the editor paste the username/password (CTRL-Y) ('sudo apt-get install emacs' if you don't have it installed)
    3. select and copy the string in emacs (this can be done in many different ways but if you are unfamiliar with emacs you can just use the pull down edit menu)
    4. paste the username/password into you browser or other app

    Hope this helps.

    j

     
  • Trapier Marshall

    Try using a clipboard manager like clipit or parcellite to sync the selections. Enabling sync in clipit puts keepass2 content into the primary selection (middle click) for me.

     
  • Taras Ozarko

    Taras Ozarko - 2016-06-09

    I had the same problem with KeePass + PhpStorm and I found the solution which works for me. I reinstall xsel:i386 instead of xsel from Ubuntu Software Center and that's all.

     
    • Alexander

      Alexander - 2017-07-02

      thanks

       
    • ron

      ron - 2017-09-05

      Installing xsel:i386 worked for me. Note, it requires uninstalling xsel but I'm not seeing any negative consequences so far.

      Ubuntu 14.04, phpStorm, ClipIt

       
  • Paul

    Paul - 2016-06-10

    Thanks for the update.

    cheers, Paul

     
  • vx28643

    vx28643 - 2016-08-21

    Struggling with this myself. I'm able to work around it by using CTRL-SHIFT + INSERT instead of CTRL+V

     

Log in to post a comment.