You are not logged in.

#1 2006-09-04 15:27:31

wd
Member
Registered: 2005-09-10
Posts: 28

[solved]How can I copy from urxvt and paste in firefox?

I can't copy anything from urxvt to firefox,but I can copy from firefox to urxvt.

I use fluxbox,anyone can help me?

Offline

#2 2006-09-04 15:50:56

cheer
Member
From: Russia, St. Petersburg
Registered: 2006-08-02
Posts: 131

Re: [solved]How can I copy from urxvt and paste in firefox?

Try to select the text via mouse and press the scroll button in your browser.

Offline

#3 2006-09-04 18:02:40

zen_guerrilla
Member
From: Greece
Registered: 2002-12-22
Posts: 259

Re: [solved]How can I copy from urxvt and paste in firefox?

Add these lines to your .Xdefaults:

URxvt*perl-ext:                 default,mark-urls
URxvt*urlLauncher:              firefox

and source it with xrdb ~/.Xdefaults. Then double-click on the url on urxvt, press Ctrl and right click the url. Select 'run firefox' and you're good to go.

Offline

#4 2006-09-04 18:21:17

stonecrest
Member
From: Boulder
Registered: 2005-01-22
Posts: 1,190

Re: [solved]How can I copy from urxvt and paste in firefox?

zen_guerrilla wrote:

Add these lines to your .Xdefaults:

URxvt*perl-ext:                 default,mark-urls
URxvt*urlLauncher:              firefox

and source it with xrdb ~/.Xdefaults. Then double-click on the url on urxvt, press Ctrl and right click the url. Select 'run firefox' and you're good to go.

...or you can just middle-click the link and it'll open in firefox.


I am a gated community.

Offline

#5 2006-09-04 19:51:40

zen_guerrilla
Member
From: Greece
Registered: 2002-12-22
Posts: 259

Re: [solved]How can I copy from urxvt and paste in firefox?

stonecrest wrote:

...or you can just middle-click the link and it'll open in firefox.

And you're right smile. I was using it my laptop with the touchpad (which needs both buttons to be clicked to act as a middle click) and it never crossed my mind. Thanks stonecrest.

Offline

#6 2006-09-05 02:01:23

wd
Member
Registered: 2005-09-10
Posts: 28

Re: [solved]How can I copy from urxvt and paste in firefox?

cheer wrote:

Try to select the text via mouse and press the scroll button in your browser.

Yeah! It worked,thanks.
But why I can't paste when I use ctrl+v ?

Offline

#7 2006-09-05 16:29:43

jaboua
Member
Registered: 2005-11-05
Posts: 634

Re: [solved]How can I copy from urxvt and paste in firefox?

There are several different copy/paste systems. There might be others too, but I actively use these:

- ctrl-c/ctrl-x/ctrl-v in most GTK and QT apps, in urxvt it's shift-insert to paste (but I dunno if you can copy/cut from urxvt)
- select text and it will automaticly be copied to a special clipboard which you can paste from with [middle click,click scrollwheel or click right+left mousebutton at the same time] in most (all?) X applications

Offline

#8 2006-09-05 16:45:56

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: [solved]How can I copy from urxvt and paste in firefox?

wd wrote:

But why I can't paste when I use ctrl+v ?

That's the way X does it's clipboard... middle click pastes what is selected (the PRIMARY selection).  It gets odd at times, especially in the scenario: select text, go to firefox, hit Ctrl-L, which highlights the url and blows away the previously selected text.

You might want to look into autocutsel to sync the selection to the clipboard.

Offline

#9 2006-09-06 02:57:35

wd
Member
Registered: 2005-09-10
Posts: 28

Re: [solved]How can I copy from urxvt and paste in firefox?

phrakture wrote:

You might want to look into autocutsel to sync the selection to the clipboard.

Yes, autocutsel is what I want.Very thx.

Offline

Board footer

Powered by FluxBB