I use KeepassX to store passwords for personal passwords, and for work. On recent OS X installs KeePassX dropped support for the version 1 file format. But on my linux desktops there is no new KeePassX that supports the version 2 file format.

Fortunately someone packaged KeePass2 for Debian, a .NET app that runs under Mono. Unfortunately there is a problem with copying the password from KeePass2 into applications. http://ubuntuforums.org/showthread.php?t=1891919 is another user having the problem. http://www.sparrowtail.com/linux-and-its-schizophrenic-clipboards is where someone worked out what was going on, an explained it. http://www.nongnu.org/autocutsel/ is some software that provides the solution.

It seems in an X-Window system there is an old and deprecated cutbuffer, where applications can store text. Then there is a modern scheme called 'selections'. Supposedly applications these days use a 'PRIMARY' or a 'CLIPBOARD' selection, and perhaps the mono app uses the cutbuffer. the autocutsel tracks the cutbuffer and a selection (defaulting to CLIPBOARD) and copies text between them.

But that explanation from sparrowtail.com is from 2010, and autocutsel doesn't sort this out for me. The autocutsel package includes a "cutsel" tool that shows you what is in the cutbuffer and the selections. My testing shows that if I highlight something in a gnome terminal, it does show up in the PRIMARY selection. If I do a Shift+Ctrl+C copy it does show up in the CLIPBOARD selection. In KeePass2 if I do a copy it also shows up in the CLIPBOARD selection, (until a timer, and then KeePass2 removes the selection, and 'cutsel' reports Nobody owns the selection.

And while the copied password is in the CLIPBOARD selection (owned by KeePass2) I can past it in GVIM. But I still can't paste it into a terminal. 

After reading https://en.wikipedia.org/wiki/X_Window_selection, I suspect an active selection process is occurring, and for some reason KeePass2 is refusing the paste when the other application is a terminal. Continuing to read that suggested I might be able to run xclipboard (to take over the selection). But I'm told another clipboard is already running when I launch it. https://lildude.co.uk/howto-use-xclipboard-with-gnome/ suggests gnome includes it's own clipboard manager now. So I installed glipper, which describes itself as a "Clipboard manager for GNOME". Given that gnome is already a clipboard manager, I'm assuming this will expose some GUI controls so I can interact with the clipboard.

And it kind of does. It keeps a copy of your clipboard. I still can't paste to gnome terminal when KeePass2 has control of the selection, but I can click on the glipper icon in the notification area to select the password from the history list, and then I can paste it. 

So now I've got sensitive passwords being kept in a history, but I can paste them where I need to. This seems to have been a very unhealthy dose of yak shaving.
Currently unrated


buy xanax 3mg no prescription 1 month, 2 weeks ago

I'm excited to discover this web site. I want to to thank you for ones time due to this wonderful read!!
I definitely appreciated every little bit of it and i also have you bookmarked
to see new things in your site.

Link | Reply
Currently unrated

4172093330 1 month ago

Howdy! This is my first visit to your blog! We are
a collection of volunteers and starting a new initiative in a
community in the same niche. Your blog provided us beneficial information to work on.
You have done a wonderful job!

Link | Reply
Currently unrated

ESTA 1 month ago

Thanks for sharing your thoughts. I truly appreciate your efforts
and I am waiting for your next post thank you once again.

Link | Reply
Currently unrated

viagra 3 weeks, 2 days ago

Wonderful blog! I found it while browsing on Yahoo News.

Do you have any tips on how to get listed in Yahoo News? I've been trying for a while but I never seem to get there!

Thank you

Link | Reply
Currently unrated

24 HOUR BAIL BONDS Tampa 3 weeks ago

Way cool! Some extremely valid points! I appreciate you penning this article and also the
rest of the website is also really good.

Link | Reply
Currently unrated

Exterminator Bradenton 2 weeks, 6 days ago

Hi to every one, the contents existing at this web site are in fact remarkable for people experience, well, keep up the good work fellows.

Link | Reply
Currently unrated

Residential Pest Control Bradenton 2 weeks, 6 days ago

My spouse and I absolutely love your blog and find many of your post's to be just what I'm looking for.
Does one offer guest writers to write content for you personally?

I wouldn't mind producing a post or elaborating on most of the subjects you write
regarding here. Again, awesome web site!

Link | Reply
Currently unrated

pest control in my area 2 weeks, 6 days ago

Hello, its good post on the topic of media print, we all understand media is a great source
of information.

Link | Reply
Currently unrated

porn download 2 weeks, 4 days ago

magnificent issues altogether, you simply won a new reader.
What could you suggest about your publish that you made a few
days in the past? Any sure?

Link | Reply
Currently unrated

esta 2 weeks, 2 days ago

Do you mind if I quote a few of your posts as long as I provide credit and sources back to
your weblog? My blog site is in the very same niche as
yours and my visitors would definitely benefit from some of the information you
provide here. Please let me know if this okay with you.
Appreciate it!

Link | Reply
Currently unrated

bulk sms marketing solutions 1 week, 4 days ago

Why visitors still make use of to read news papers when in this
technological globe everything is available on web?

Link | Reply
Currently unrated

New Comment


required (not published)


Recent Posts





RSS / Atom