| View previous topic :: View next topic |
| Author |
Message |
xkalibur1554 Apprentice


Joined: 31 Mar 2005 Posts: 206 Location: USA
|
Posted: Mon Apr 11, 2005 7:01 pm Post subject: Simple Noob Question [SOLVED] |
|
|
How do you copy and paste code from a terminal to say the gentoo forums, or another text editor?
Last edited by xkalibur1554 on Mon Apr 11, 2005 11:47 pm; edited 1 time in total |
|
| Back to top |
|
 |
Earthwings Administrator


Joined: 14 Apr 2003 Posts: 7731 Location: Karlsruhe, Germany
|
Posted: Mon Apr 11, 2005 7:03 pm Post subject: |
|
|
| Just select it with the mouse and paste it with the middle mouse button. You might have to emerge gpm and start it first. |
|
| Back to top |
|
 |
xkalibur1554 Apprentice


Joined: 31 Mar 2005 Posts: 206 Location: USA
|
Posted: Mon Apr 11, 2005 7:19 pm Post subject: |
|
|
| i am on a laptop, i have two buttons. how do i start gpm? and what is the middle button when you only have two? |
|
| Back to top |
|
 |
Earthwings Administrator


Joined: 14 Apr 2003 Posts: 7731 Location: Karlsruhe, Germany
|
Posted: Mon Apr 11, 2005 7:27 pm Post subject: |
|
|
| You might need additional parameters, see the output when starting gpm. A third mouse button can be emulated by clicking the two mouse buttons simultaneously. Not sure where to enable that at the moment. |
|
| Back to top |
|
 |
xkalibur1554 Apprentice


Joined: 31 Mar 2005 Posts: 206 Location: USA
|
Posted: Mon Apr 11, 2005 7:31 pm Post subject: |
|
|
| thank you....when you know how to emulate that, could you let me know? Thank you again. |
|
| Back to top |
|
 |
Earthwings Administrator


Joined: 14 Apr 2003 Posts: 7731 Location: Karlsruhe, Germany
|
Posted: Mon Apr 11, 2005 7:44 pm Post subject: |
|
|
Looks like you don't need it.
| http://www.themanualpage.org/man/man8/gpm.8.php wrote: |
To select text press the left mouse button and drag the
mouse. To paste text in the same or another console,
press the middle button. The right button is used to
extend the selection, like in `xterm'.
Two-button mice use the right button to paste text. |
|
|
| Back to top |
|
 |
nightm4re Guru


Joined: 20 Jun 2004 Posts: 519 Location: Providence, RI, USA
|
Posted: Mon Apr 11, 2005 8:16 pm Post subject: |
|
|
i thought two button mice can use "3 button emulation", which means you press buttons 1 and 2 together to simulate the third. _________________ Nitrogen - GtkMM based background setter/restorer, please test!
Minuslab | d.minuslab.net |
|
| Back to top |
|
 |
russianpirate Veteran


Joined: 26 Sep 2004 Posts: 1167 Location: Detroit, MI
|
Posted: Mon Apr 11, 2005 9:31 pm Post subject: |
|
|
| ya u have to enable that in X.. and its only for X apps.. since in console u just select and right click |
|
| Back to top |
|
 |
xkalibur1554 Apprentice


Joined: 31 Mar 2005 Posts: 206 Location: USA
|
Posted: Mon Apr 11, 2005 11:01 pm Post subject: |
|
|
| i tired the whole select all in eterm, and it did nothing. i still cannot copy and paste. clicking both at the same time does not work either. can anyone tell me how to copy and paste? |
|
| Back to top |
|
 |
qanuta n00b


Joined: 04 Apr 2003 Posts: 43 Location: NJ, USA
|
Posted: Mon Apr 11, 2005 11:35 pm Post subject: |
|
|
To enable the three button emulation in X applications (i.e. clicking both buttons simultaneously to emulate a middle mouse button), you need to edit your /etc/X11/XF86Config file. In the "InputDevice" section which describes your mouse, add the line:
| Code: | | Option "Emulate3Buttons" |
You'll then need to restart X for the change to take effect. |
|
| Back to top |
|
 |
xkalibur1554 Apprentice


Joined: 31 Mar 2005 Posts: 206 Location: USA
|
Posted: Mon Apr 11, 2005 11:38 pm Post subject: |
|
|
| i cannot find that file in X11 is that where it is? |
|
| Back to top |
|
 |
qanuta n00b


Joined: 04 Apr 2003 Posts: 43 Location: NJ, USA
|
Posted: Tue Apr 12, 2005 12:11 am Post subject: |
|
|
| To find out where your XF86Config file is located, open up an xterm and type "xset q". One of the lines outputted will say "Config File:". This is the file you need to edit. |
|
| Back to top |
|
 |
|