You are not logged in.
sabooky wrote:no xclipboard support by default (I ended up writing a perl extension for it)
Could you share it? I would love to have urxvt with xclipboard support.
Shift+Insert or middle click works just fine for me.
deviantART | GitHub | Last.fm
Offline
sabooky wrote:no xclipboard support by default (I ended up writing a perl extension for it)
Could you share it? I would love to have urxvt with xclipboard support.
I'm using this to automatically copy any selection in urxvt to the X clipboard. I named it 'clipboard' and saved it /usr/lib/urxvt/perl. It requires xsel and needs to be enabled in the *perl-ext-common field in .Xdefaults. Mine looks like this: urxvt*perl-ext-common: default,matcher,clipboard
clipboard
#! /usr/bin/perl
sub on_sel_grab {
my $query = quotemeta $_[0]->selection;
$query =~ s/\n/\\n/g;
$query =~ s/\r/\\r/g;
system( "echo -en " . $query . " | xsel -ibp" );
}
Offline
About the clipboard, something I have found really nice was putting xsel -o -p and xsel -o -b in my system monitor (should be easy to add to conky).
I am trying out a toggle script (C-v/GTKClipboard? -> X11Clip and vice versa) after I accidentally erased my selection clipboard, but still had it in GTK Clipboard, but no way to get it out except pasting it in firefox and reselecting it. I suspect that it's a bit prone to bugs, but it works for simple things
#! /bin/dash
echo -n "$(xsel -p -o)" | xsel -i -s
echo -n "$(xsel -b -o)" | xsel -i -p
echo -n "$(xsel -s -o)" | xsel -i -b
Offline
Shift+Insert or middle click works just fine for me.
If you want to understand X selection; http://www.jwz.org/doc/x-cut-and-paste.html
You need to install an RTFM interface.
Offline
sen wrote:Shift+Insert or middle click works just fine for me.
If you want to understand X selection; http://www.jwz.org/doc/x-cut-and-paste.html
Thanks for the info! Personally I use Parcellite with the Clipboard setting "Use Primary Selection" which is why I failed to see the problem.
deviantART | GitHub | Last.fm
Offline
gnome-terminal has url support
Offline
I just Sakura. Veeeeeery simple terminal and extremely lightweight. Perfectly supports transparency and tabs!
Terminator looks interesting too though thanks to the extensive tab and horizontal/vertical splitting. I just can't figure out how to save my settings however..
sagara ~ $ pacman -Rsn sakura
checking dependencies...
Remove (2): sakura-2.3.3-1 vte-0.17.4-2
Total Removed Size: 3.04 MB
Offline
I use urxvt because it handles window resizing very well.
Offline
Terminator looks interesting too though thanks to the extensive tab and horizontal/vertical splitting. I just can't figure out how to save my settings however..
I had the same problem, finally what I did was create ~/.config/terminator/config and set there my settings manually.
Here is my config file, hope it helps:
http://isengrin.iespana.es/Config/config
Now I'm using Urxvtd/Urxvtc because it's fast as hell, configurable, good-looking and asdf. =)
The Wheel weaves as the Wheel wills, and we are only the thread of the Pattern."
—Moiraine Damodred
Offline
I use it for URL support, and transparency, and color schemes are easily changeable.
Last edited by haxit (2009-03-12 21:58:51)
Archi686 User | Old Screenshots | Old .Configs
Vi veri universum vivus vici.
Offline
You may find http://martin.ankerl.com/2007/09/01/com … omparison/ an interesting read.
Offline
I'm using this to automatically copy any selection in urxvt to the X clipboard. I named it 'clipboard' and saved it /usr/lib/urxvt/perl. It requires xsel and needs to be enabled in the *perl-ext-common field in .Xdefaults. Mine looks like this: urxvt*perl-ext-common: default,matcher,clipboard
¡THIS IS AWESOME! Copying from urxvt was a pain in the ass. I don't understand why this behavior isn't the standard for urxvt. Does anybody knows why?
EDIT: I've just added skottish script to the wiki: http://wiki.archlinux.org/index.php/Rxv … t_solution
Last edited by joephantom (2009-03-14 07:25:41)
By striving to do the impossible, man has always achieved what is possible. Those who have cautiously done no more than they believed possible have never taken a single step forward - Mikhail Bakunin
Offline
skottish wrote:I'm using this to automatically copy any selection in urxvt to the X clipboard. I named it 'clipboard' and saved it /usr/lib/urxvt/perl. It requires xsel and needs to be enabled in the *perl-ext-common field in .Xdefaults. Mine looks like this: urxvt*perl-ext-common: default,matcher,clipboard
¡THIS IS AWESOME! Copying from urxvt was a pain in the ass. I don't understand why this behavior isn't the standard for urxvt. Does anybody knows why?
EDIT: I've just added skottish script to the wiki: http://wiki.archlinux.org/index.php/Rxv … t_solution
I owe thanks to Xyne and Daenyth (and even string who I'm sure is hiding around here as some other user right now) for getting that script going. That original thread was a (my) mess, and they stuck it out with me.
Offline
joephantom wrote:sabooky wrote:no xclipboard support by default (I ended up writing a perl extension for it)
Could you share it? I would love to have urxvt with xclipboard support.
I'm using this to automatically copy any selection in urxvt to the X clipboard. I named it 'clipboard' and saved it /usr/lib/urxvt/perl. It requires xsel and needs to be enabled in the *perl-ext-common field in .Xdefaults. Mine looks like this: urxvt*perl-ext-common: default,matcher,clipboard
clipboard
#! /usr/bin/perl sub on_sel_grab { my $query = quotemeta $_[0]->selection; $query =~ s/\n/\\n/g; $query =~ s/\r/\\r/g; system( "echo -en " . $query . " | xsel -ibp" ); }
Hi Arch Forums, this is my first post
Firstly, I want to make it clear I am using Debian Sid at present and came across this thread whilst googling for a solution the urxvt clipboard problem, so I hope that's not to much of a problem.
I have used the code provided by skottish and i'm having some problems.
When I paste from urxvt to another app using the code above it also pastes the "-en" part of the echo command. For example...
I select "foo-bar" from urxvt and paste it into mousepad, it ends up as "-en foo-bar". I've been googling, reading perl documentation and trying to alter the code to make it work with no success which is why I have registered here so hopefully someone knows what the solution is.
perl -v
This is perl, v5.10.1 (*) built for x86_64-linux-gnu-thread-multi
urxvt version = 9.06-3
By the way, the arch wiki is fantastic and I actually refer to it alot even though i'm using Debian.
Trying out Arch after using Debian Sid for a long time...
Offline
jelloir - this thread is nearly a year old, so posting in it is not permitted, as outlined here.
Closed.
Offline