You are not logged in.
Is there any keyboard shortcut to perform the same function as mouse middle click in X.
Can someone explain a little bit further what the difference is between the mouse middle-click clipboard and ctrl+c clipboard?
Last edited by phabulosa (2008-03-07 00:54:00)
Offline
if you just try to insert something in a terminal shift-insert might work too (and do the same as middle clicking the mouse) At least it works like this in urxvt.
Haven't been here in a while. Still rocking Arch.
Offline
The way I understand it, what we know as 'clipboards' are actually memory registers that the system can store temporarily for easily-copied data. Vim can use many different registers, which means you can copy and paste many different things at once. I assume X can do something similar, but by default you should have 2 different registers; the * register which is the middle-click, and I guess register 0, which is the traditional C-c and C-v accessible one.
If I'm wrong, I'd love to learn the truth.
Offline
Also you might want to use xclip for managing your selection (xclip is command line interface to the X selection).
For example, to copy from PRIMARY selection (which is accessed via mouse middle click) to CLIPBOARD you run the following:
xclip -selection PRIMARY -o | xclip -selection CLIPBOARD -i
This could be easily bound to any hotkey using .xbindkeysrc or your window manager hotkey binding capabilities.
It could be useful when you copy text from urxvt to firefox or something that uses CLIPBOARD mainly and you don't want to use your mouse for pasting
With best regards,
Ivan N. Veselov.
Offline