You are not logged in.

#1 2008-04-08 23:08:34

xd-0
Member
From: Sweden
Registered: 2007-11-02
Posts: 327
Website

Clipboard support in xterm or urxvt?

I've been going nuts over the fact that xterm and urxvt only uses the primary copy (selected text is copied to primary), since its like rolling a dice every time you try to paste it when switching to other apps.

Is there a patch or configure option that makes (preferably) xterm to copy selected text also to the clipboard (and hence not being flushed by mistake)?
If not, all suggestions on low-memory terminals supporting clipboard copy is welcome. smile (and few dependencies)

Offline

#2 2008-04-09 00:36:10

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: Clipboard support in xterm or urxvt?

I ended up switching to Terminal for that exact reason that you laid out. I loved xterm for its speed and simplicity, but the cut and paste thing was really not working out for me. Terminal may be a bit high on dependencies for your taste though.

Offline

#3 2008-04-09 00:42:23

bender02
Member
From: UK
Registered: 2007-02-04
Posts: 1,328

Re: Clipboard support in xterm or urxvt?

I'm pretty sure that you can cook up something with urxvt and its perl extension - but I don't understand perl and wasn't able to google up something useful yet.

EDIT: 'man urxvtperl' seems useful smile

Last edited by bender02 (2008-04-09 00:45:55)

Offline

#4 2008-04-09 05:34:55

dolby
Member
From: 1992
Registered: 2006-08-08
Posts: 1,581

Re: Clipboard support in xterm or urxvt?

try autocutsel its in [community]. it synchronises the 2 xorg buffers

there is also urxvt mouseless url yanking which may come handy if you are interested in urls

Last edited by dolby (2008-04-09 07:10:09)


There shouldn't be any reason to learn more editor types than emacs or vi -- mg (1)
[You learn that sarcasm does not often work well in international forums.  That is why we avoid it. -- ewaller (arch linux forum moderator)

Offline

#5 2008-04-09 09:23:16

xd-0
Member
From: Sweden
Registered: 2007-11-02
Posts: 327
Website

Re: Clipboard support in xterm or urxvt?

autocutsel does the job, thanks for the tips smile

But I still, if you have any more suggestions, I love to hear about them smile

Offline

#6 2008-04-09 11:42:48

pressh
Developer/TU
From: Netherlands
Registered: 2005-08-14
Posts: 1,719

Re: Clipboard support in xterm or urxvt?

xd-0 wrote:

But I still, if you have any more suggestions, I love to hear about them smile

I think all VTE based terminals have clipboard support (sakura, xfce terminal, gnome-terminal, and some others (not sure what they are called)

Offline

#7 2008-04-09 19:25:21

iBertus
Member
From: Greenville, NC
Registered: 2004-11-04
Posts: 2,228

Re: Clipboard support in xterm or urxvt?

I always just highlight the text and press the middle mouse button. Seems to work in everything.

Offline

#8 2008-04-09 21:15:30

faelar
Member
From: Amiens (FR)
Registered: 2007-12-18
Posts: 232
Website

Re: Clipboard support in xterm or urxvt?

On Sakura I just right-click "copy", and then ctrl+v in firefox for exemple.
So pressh must be right about VTE term wink

Offline

Board footer

Powered by FluxBB