Often I'm copying and pasting pieces of text. I'd like to streamline the process.
Anyone know if it possible to bind (for example): Ctrl Right Click to Copy and Alt Right Click to Paste
Yes, it is possible, and there are many ways to do it.
The easiest way, which isn't exactly what you want, is to use a clipboard manager to bind middle-clicking to pasting. Glippy, which I use, allows me to do this. It has a setting that makes anything you highlight automatically copied to the clipboard and whatever is in the clipboard pasted by midle clicking. I'd don't use this because it's incredibly annoying, but the option is there. Glippy: https://launchpad.net/~bikooo/+archive/glippy
To do exactly what you want you can use xte. Xte is part of the "xautomation" package:
Assuming you're using Compiz, open the Compiz Config Manager. Go to the "Commands" section, then enter something like this as a command:
The go to the "Button Bindings" tab and map the command to Ctrl+Button3.
Now holding Ctr and pressing the right mouse button will act as pressing Ctrl+C.
To also get this behavior in a terminal the command would be:
To learn more about how to emulate key presses with xte type
Into a terminal after you install xautomation.
It could be done using btnx
If you can't find it in your repos then
Put the following lines to the end of your /etc/apt/sources.list file, but replace DISTRO with the name of the Ubuntu distro you have installed (options: feisty gutsy hardy):
then to install it
After installation go to Applications -> System tools -> btnx
click detect mouse & buttons (if not already detected) follow the steps when done go to buttons select the ones you want to bind and then from keycode drop-down list choose KEY_COPY and KEY_PAST
If you use Unity, give this a try: