Live data from Hacker News

The weight of the clipboard

kinduff.com

31–40 of 139 posts

Re: The weight of the clipboard

#31
post #21

To all of you who stopped worrying thanks to a clipboard manager, how do you handle sensitive contents in your clipboard? For example, I routinely copy-paste my passwords from KeePass, and I have disabled all clipboard management to avoid copies of my passwords lingering around.

Try it. I was initially worried about this. Turns out with KeePassXC and Klipper it Just Works™ and fields copied (via keyboard shortcut) somehow don't get stored in the clipboard history at all.

Re: The weight of the clipboard

#32
post #21

To all of you who stopped worrying thanks to a clipboard manager, how do you handle sensitive contents in your clipboard? For example, I routinely copy-paste my passwords from KeePass, and I have disabled all clipboard management to avoid copies of my passwords lingering around.

At least on MacOS "sensitive" contents copied to clipboard by apps can be marked as such, and won't be persisted by my clipboard manager.

Which clipboard manager do you use?

Re: The weight of the clipboard

#33
post #27

Under X, the clipboard is especially heavy: you have two ways to copy and paste (Ctrl+c/v versus selection and middle mouse button), and Ctrl+v doesn't work in terminals. It's confusing.

Any good terminal emulator offers a way to Ctrl+v, e.g. in Konsole I paste by Ctrl+Shift+v. You could remap it to Ctrl+v if you so prefer.

Re: The weight of the clipboard

#34
post #13

Earlier quoted context omitted.

If usually delete to another register to avoid that, "dd for example :)

Doesn’t dd delete the line under the cursor?

dd deletes the line under the cursor. "dd deletes something into the d register (the " is part of the command that selects the register). "d selects the register. The second d is the delete command. So you could do something like "dd2w to delete the next two words and save them into the d register. The same thing works with any named register, so a less confusing example might have been "cd2w to delete into the c register.

Re: The weight of the clipboard

#35

I stopped worrying about it when I installed the Ditto clipboard Manager[0]. It keeps everything, so don't have to keep track of what I copied in my short term memory. I offloaded that task to the computer. Turns out they're good at that kind of thing. I wrote about it back in 2016 on my very ugly website: https://www.tidbitsfortechs.com/2016/02/clipboard-manager/ [0] https://ditto-cp.sourceforge.io/

I was using ditto then later found clipdiary[0]

It was super easy to customise and once I'd setup shortcuts for everything, never needed to open the app window in 2+yrs

[0](http://clipdiary.com/)

Re: The weight of the clipboard

#36
Nice little piece of writing - thanks for sharing.

One of the key things I can't go without now in my workflow is a clipboard manager.

I use Rofi (https://github.com/davatorium/rofi) in combination with Greenclip (https://github.com/erebe/greenclip) and it's a Godsend.

I have a custom keybinding (super key + c) that will bring up the Rofi menu to fuzzy search through previously copied items or pinned items. Super handy when writing code, finding old snippets, etc.

Can't recommend it enough.

Re: The weight of the clipboard

#37
post #27

Under X, the clipboard is especially heavy: you have two ways to copy and paste (Ctrl+c/v versus selection and middle mouse button), and Ctrl+v doesn't work in terminals. It's confusing.

Any good terminal emulator offers a way to Ctrl+v, e.g. in Konsole I paste by Ctrl+Shift+v. You could remap it to Ctrl+v if you so prefer.

I'm aware of that. But it makes it inconsistent across applications. I already use Ctrl+v in terminals to enter control codes.

Re: The weight of the clipboard

#38
> It happens when I cut something with ctrl + X.

Not to me, because in the software I use the thing gets actually deleted once I paste it somewhere else, not before. It's more like tagging the thing(s) for moving to a location to be disclosed later.

Re: The weight of the clipboard

#39
post #21

To all of you who stopped worrying thanks to a clipboard manager, how do you handle sensitive contents in your clipboard? For example, I routinely copy-paste my passwords from KeePass, and I have disabled all clipboard management to avoid copies of my passwords lingering around.

KeePass supports auto type, so you don't really need c&p that often
Post reply on HN