You are not logged in.

#51 2009-02-27 23:57:56

sen
Member
From: .de
Registered: 2007-02-18
Posts: 153
Website

Re: Why do people use urxvt over everything else?

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.

Shift+Insert or middle click works just fine for me.

Offline

#52 2009-02-28 00:10:10

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

Re: Why do people use urxvt over everything else?

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" );
}

Offline

#53 2009-02-28 00:28:21

Procyon
Member
Registered: 2008-05-07
Posts: 1,819

Re: Why do people use urxvt over everything else?

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

#54 2009-02-28 15:18:07

anrxc
Member
From: Croatia
Registered: 2008-03-22
Posts: 834
Website

Re: Why do people use urxvt over everything else?

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


You need to install an RTFM interface.

Offline

#55 2009-02-28 19:30:35

sen
Member
From: .de
Registered: 2007-02-18
Posts: 153
Website

Re: Why do people use urxvt over everything else?

anrxc wrote:
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.

Offline

#56 2009-03-01 18:59:06

Obi-Lan
Member
From: Finland
Registered: 2007-05-23
Posts: 179

Re: Why do people use urxvt over everything else?

gnome-terminal has url support tongue

Offline

#57 2009-03-03 15:54:32

Howitzer
Member
From: Belgium (Antwerp)
Registered: 2006-09-29
Posts: 43
Website

Re: Why do people use urxvt over everything else?

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

#58 2009-03-12 08:52:57

listdata
Member
Registered: 2008-12-23
Posts: 102
Website

Re: Why do people use urxvt over everything else?

I use urxvt because it handles window resizing very well.

Offline

#59 2009-03-12 21:53:31

Isengrin
Member
Registered: 2008-08-07
Posts: 166

Re: Why do people use urxvt over everything else?

Howitzer wrote:

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

#60 2009-03-12 21:58:46

haxit
Member
From: /home/haxit
Registered: 2008-03-04
Posts: 1,247
Website

Re: Why do people use urxvt over everything else?

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

#61 2009-03-13 12:45:06

Ertu
Member
Registered: 2009-03-10
Posts: 21

Re: Why do people use urxvt over everything else?

You may find http://martin.ankerl.com/2007/09/01/com … omparison/ an interesting read.

Offline

#62 2009-03-14 07:09:04

joephantom
Member
From: Latinoamérica
Registered: 2008-01-09
Posts: 94
Website

Re: Why do people use urxvt over everything else?

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

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

#63 2009-03-14 15:15:37

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

Re: Why do people use urxvt over everything else?

joephantom wrote:
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

#64 2010-03-02 06:35:41

jelloir
Member
From: Rye, VIC, Australia
Registered: 2010-03-02
Posts: 4

Re: Why do people use urxvt over everything else?

skottish wrote:
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 smile

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

#65 2010-03-02 07:11:19

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Why do people use urxvt over everything else?

jelloir - this thread is nearly a year old, so posting in it is not permitted, as outlined here.

Closed.

Offline

Board footer

Powered by FluxBB