You are not logged in.

#1 2008-03-06 17:12:19

phabulosa
Member
From: Mountain View, CA
Registered: 2007-10-17
Posts: 182
Website

[SOLVED]Any keyboard short cut for Mouse middle-click

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

#2 2008-03-06 17:16:25

Sigi
Member
From: Thurgau, Switzerland
Registered: 2005-09-22
Posts: 1,131

Re: [SOLVED]Any keyboard short cut for Mouse middle-click

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. smile

Offline

#3 2008-03-07 09:07:46

xelados
Member
Registered: 2007-06-02
Posts: 314
Website

Re: [SOLVED]Any keyboard short cut for Mouse middle-click

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

#4 2008-03-25 11:15:42

dying_sphynx
Member
From: Kiev, Ukraine
Registered: 2008-03-22
Posts: 44
Website

Re: [SOLVED]Any keyboard short cut for Mouse middle-click

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 smile


With best regards,
Ivan N. Veselov.

Offline

Board footer

Powered by FluxBB