![]() |
ubuntu.com - launchpad.net - ubuntu help
|
|
|||||||
|
Desktop Environments Support for your Ubuntu desktop. Including Gnome, KDE and XFCE. |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
5 Cups of Ubuntu
![]() Join Date: Feb 2008
Beans: 20
|
Hi yall,
I got a question/request for feature for gnome but wanted to check whether it already exists or whether there is a reasonably simple way of achieving it. Like most desktop users I quite regularly use the copy-paste 'feature' that is part of, well, every desktop environment I know actually. (others I don't call environments But I want to do something that would increase productivity: You have two ways of copying in Linux, * select something (without further ado) and middle click on the place where you want it to be pasted * select something, press ctrl+c and paste with ctrl+v I want a combination of both: I'd like to just select something and then paste it where the (keyboard) cursor is at the destination. Middle clicking has the disadvantage that you need to place the (mouse) cursor at the place where you want it to be pasted, which is, quite often inside a large text file, while it might be handy to paste where the keyboard cursor is at the moment. Middle clicking demands that, in that case, you go exactly where the keyboard cursor is and paste it there... I guess I'd like to have a keyboard short-cut for pasting the content of the mouse clipboard. any suggestions? S. |
|
|
|
|
|
#2 |
|
5 Cups of Ubuntu
![]() Join Date: Sep 2009
My beans are hidden!
|
Re: Pasting where the cursor is.
One workaround would be to use a non-graphical text editor (nano, vi) without mouse support. Then you can middle-click anywhere in the window, and the text will paste wherever the (keyboard) cursor happens to be.
__________________
Ubuntu/IceWM 9.04 on iMac G3 750CXe (early 2001), 256 MB Xubuntu 9.04 on Athlon XP 2400, 768MB |
|
|
|
|
|
#3 | |
|
5 Cups of Ubuntu
![]() Join Date: Feb 2008
Beans: 20
|
Re: Pasting where the cursor is.
Quote:
I like to program in Java and I like doing that with eclipse. Programming java in a non-graphical text-editor doesn't, to be polite, give as much features as eclipse. It would slow me down considerably causing the advantage of the suggested feature to be insignificant. S. Last edited by bamboomy; 3 Weeks Ago at 09:35 AM.. |
|
|
|
|
|
|
#4 | |
|
Skinny Extra Sweet Ubuntu
![]() Join Date: Feb 2007
Location: romania
My beans are hidden!
Ubuntu Development Release
|
Re: Pasting where the cursor is.
Quote:
Code:
xsel -o Click here to install it. (apturl link)
__________________
Last edited by sisco311; 3 Weeks Ago at 09:58 AM.. |
|
|
|
|
|
|
#5 | |
|
5 Cups of Ubuntu
![]() Join Date: Feb 2008
Beans: 20
|
Quote:
Although you already got halfway, you still fall into the river. Getting the selected content of the X server to standard out is already something, but getting it into eclipse is another. After some searching I stumbled upon glipper, it letting manage both X selection and Ctrl+c/Ctrl+v and, when the cursor is at the right place (in eclipse), clicking on the text you want to be selected in glipper and control V: Voila The content of the selected selection gets properly pasted to the place where the cursor is at the given moment... Problem solved... Thanks for the responses, without them I'd never have found the solution myself... S. |
|
|
|
|
| Bookmarks |
| Tags |
| copy-paste, gnome, keyboard, mouse |
| Thread Tools | |
| Display Modes | |
|
|