News for hackers. Stuff that matters.
Re:Gnome Developers Re-Implement Middle-Click Paste by roberto on Wednesday September 04, 2013 @12:46PM (#6328758)
I have these lines in my .Xresources file (which is sourced by .xinitrc with `xrdb -merge "${HOME}/.Xresources"`):

Shift<Key>Insert: insert-selection(CLIPBOARD) \n\ <Key>Insert: insert-selection(PRIMARY) \n\ Shift<Btn2Up>: insert-selection(CLIPBOARD) \n\ Shift<Btn1Down>: select-start() \n\ Shift<Btn1Motion>: select-extend() \n\ Shift<Btn1Up>: select-end(CLIPBOARD)

This way, if I select something with the mouse while pressing shift it will go to the clipboard. I can shift-select text on the terminal and paste to Firefox using ctrl-V, for example. And I can copy something from Firefox using ctrl-C and paste it on vim using shift-insert.

Normal selection goes to the other clipboard, so I can paste it using middle button or just clicking insert.

Re:Gnome Developers Re-Implement Middle-Click Paste by dhimes on Thursday September 05, 2013 @02:37PM (#6335971)
OK- that's a decent work-around, I'll admit. But middle-click is so easy...
Re:Gnome Developers Re-Implement Middle-Click Paste by roberto on Friday September 06, 2013 @10:28AM (#6340580)
I agree, but this doesn't eliminate middle click. I just like this because I use a trackpad on my laptop, so middle clicking is hard(ish).