Topic: Urxvt - Ultralight terminal

Urxvt or rxvt-unicode is an interesting alternative to terminator.

It has same 'eye-candy' features such as tabs, transparency, copy&paste etc, being as light as xterm.
All config should be done in ~/.Xdefaults

An example of ~/.Xdefaults urxvt part:

URxvt.termName: rxvt-unicode
URxvt.imLocale: pl_PL.UTF-8
   # <- set your own!
URxvt.saveLines: 5000
URxvt.cursorBlink: false
URxvt.fading: 30%
URxvt.foreground: #bcbcbc
URxvt.background: #000000
URxvt.cursorColor: #e0e080
URxvt.throughColor: #8080f0
URxvt.highlightColor: #343434
URxvt.transparent: #000000
URxvt.inheritPixmap: true
URxvt.tintColor: #666666
URxvt*font: -misc-fixed-medium-r-normal-*-*-120-*-*-*-*-iso8859-2
URxvt*scrollBar:true
URxvt*scrollBar_right: true
URxvt.geometry: 85x30
urxvt.urlLauncher: firefox
urxvt.perl-ext-common: selection-autotransform,matcher
URxvt.color0: #2E3436
## red
URxvt.color1: #CC0000
## green
URxvt.color2: #4E9A06
## yellow
URxvt.color3: #C4A000
## blue
URxvt.color4: #3465A4
## purple
URxvt.color5: #75507B
## cyan
URxvt.color6: #06989A
## white
URxvt.color7: #D3D7CF
## bright-black
URxvt.color8: #555753
## bright-red
URxvt.color9: #EF2929
## bright-green
URxvt.color10: #8AE234
## bright-yellow
URxvt.color11: #FCE94F
## bright-blue
URxvt.color12: #729FCF
## bright-purple
URxvt.color13: #AD7FA8
## bright-cyan
URxvt.color14: #34E2E2
## bright-white
URxvt.color15: #EEEEEC  

Home page - http://software.schmorp.de/pkg/rxvt-unicode.html

To run tabbed urxvt –> type: urxvt -pe tabbed

To open new tab → press: shift + down arrow
To move between tabs → press: shift + left/right arrow
To close tab → press: ctrl+d

Re: Urxvt - Ultralight terminal

Copy & paste, I didn't think rxvt-unicode supported copy & paste. It didn't the last time I tried it.

Re: Urxvt - Ultralight terminal

Raffles10 wrote:

Copy & paste, I didn't think rxvt-unicode supported copy & paste. It didn't the last time I tried it.

Shift+Ins copies highlighted text, and Shift+Ins pastes copied text smile

works with parcellite very well wink

Last edited by klanger (2009-10-15 18:12:18)

Re: Urxvt - Ultralight terminal

I know a lot of the guys over at the Arch forums like urxvt, probably because they can get it to show all sorts of fancy colours....:)

Re: Urxvt - Ultralight terminal

roll might be the reason why I like it so much then...

HANNA (without "h" in the end) likes green and #! smile
Also know as ultraturquoise online / #! last.fm / #! DeviantART / U / Q

Re: Urxvt - Ultralight terminal

I just love Terminator's split screens...makes a tiling wm redundant.

http://omploader.org/tMmp2MA

Last edited by Raffles10 (2009-10-15 21:52:47)

Re: Urxvt - Ultralight terminal

I'm a big fan of urxvt.  I'm using it paired with screen as a lightweight "quake console".  It's amazingly versatile.

<'(((><  I am not ashamed of the gospel, because it is the  ><)))'>
<'(((><  power of God, the salvation of everyone who believes.  ><)))'>

EeePC 900a : #! 9.04 : Atom 1.60 GHz : 1 GB RAM : 4 GB SSD

Re: Urxvt - Ultralight terminal

Help me out with a quick question. How do you comment lines in .Xdefaults ? Do you use # or ! In some .Xdefault examples I've seen !

Re: Urxvt - Ultralight terminal

Raffles10 wrote:

Help me out with a quick question. How do you comment lines in .Xdefaults ? Do you use # or ! In some .Xdefault examples I've seen !

i would be very surprised if it didnt use '#' , i cant think of any other config file that uses anything else.
i suppose you could use #! to be on the safe side, plus its fitting smile

- - - - - - - - Wiki Pages - - - - - - -
#! install guide           *autostart programs, modify the menu & keybindings
configuring Conky       *installing scripts

Re: Urxvt - Ultralight terminal

Raffles10 wrote:

Help me out with a quick question. How do you comment lines in .Xdefaults ? Do you use # or ! In some .Xdefault examples I've seen !

/* */ and ! are used to comment lines in .Xdefaults. (https://engineering.purdue.edu/ECN/Supp … efaultsFil)

HANNA (without "h" in the end) likes green and #! smile
Also know as ultraturquoise online / #! last.fm / #! DeviantART / U / Q

Re: Urxvt - Ultralight terminal

Hanna wrote:
Raffles10 wrote:

Help me out with a quick question. How do you comment lines in .Xdefaults ? Do you use # or ! In some .Xdefault examples I've seen !

/* */ and ! are used to comment lines in .Xdefaults. (https://engineering.purdue.edu/ECN/Supp … efaultsFil)

well thats a bit stupid, what else uses '!' for the config files?

- - - - - - - - Wiki Pages - - - - - - -
#! install guide           *autostart programs, modify the menu & keybindings
configuring Conky       *installing scripts

Re: Urxvt - Ultralight terminal

Thanks. smile

Interesting and surprising stuff...

/* this is a comment */

Bizarre isn't it. hmm

Re: Urxvt - Ultralight terminal

the /* */ is used by several programming languages...I've never seen ! used for comments though

I say never be complete, I say stop being perfect, I say lets evolve, let the chips fall where they may.

Re: Urxvt - Ultralight terminal

benj1 wrote:
Hanna wrote:
Raffles10 wrote:

Help me out with a quick question. How do you comment lines in .Xdefaults ? Do you use # or ! In some .Xdefault examples I've seen !

/* */ and ! are used to comment lines in .Xdefaults. (https://engineering.purdue.edu/ECN/Supp … efaultsFil)

well thats a bit stupid, what else uses '!' for the config files?

Arch Linux - in rc.conf (eg. deamons)

Re: Urxvt - Ultralight terminal

I've been playing around with Urxvt for a while and one of the things I didn't like about it was that it didn't have real transparency, only pseudo transparency. The problem was that when you drag the Urxvt window around it holds your desktop image beneath it and then adjusts when you release it. After digging around for a bit I found a way of getting proper transparency, I found this in the Arch forums:

URxvt*depth: 32
URxvt*buffered: true
URxvt*foreground: #909090
URxvt*background: rgba:0000/0000/0000/dddd
URxvt*transparent:false
URxvt*fading: 2%
URxvt*fadeColor: grey
URxvt*shading:75

Which gives a nice effect. Having got this sorted I'm quite liking Urxvt especially the tabs and Klanger's font is quite an attractive alternative to my usual Monospace. big_smile

Is there a way of getting another icon to show in tint besides the plain white box ? Which I think is the default when no icon is present.

Re: Urxvt - Ultralight terminal

benj1 wrote:

what else uses '!' for the config files?

.Xdefaults isn't only for urxvt. It does various "X" things:
http://wiki.archlinux.org/index.php/Xdefaults

(I like Klanger's font '-misc-fixed-medium-r-normal-*-*-120-*-*-*-*-iso8859-2' too.)

Last edited by johnraff (2009-10-17 04:07:29)

John
------------------------
( a boring Japan blog , and idle twitterings )
“Good morning sir, which way up would you like your reality today?”  "As it comes, Jeeves, as it comes..."

Re: Urxvt - Ultralight terminal

I found nice terminal colour link http://phraktured.net/terminal-colors/ (it's from the arch wiki page... arch wiki is fabulous big_smile )

HANNA (without "h" in the end) likes green and #! smile
Also know as ultraturquoise online / #! last.fm / #! DeviantART / U / Q

Re: Urxvt - Ultralight terminal

johnraff wrote:

(I like Klanger's font '-misc-fixed-medium-r-normal-*-*-120-*-*-*-*-iso8859-2' too.)

To be honest, it is not my font, I've just copied it from web (a Polish linux blog - don't remember the url adress though), but I'm glad that I could help smile

Re: Urxvt - Ultralight terminal

johnraff wrote:
benj1 wrote:

what else uses '!' for the config files?

.Xdefaults isn't only for urxvt. It does various "X" things:
http://wiki.archlinux.org/index.php/Xdefaults

i know, my point is the standard for comments in config files is # not !, and its not exactly a new standard drempt up after X was was invented.
you shouldn't have to post a question on a forum, or read through the man pages to check what the comment character is.

- - - - - - - - Wiki Pages - - - - - - -
#! install guide           *autostart programs, modify the menu & keybindings
configuring Conky       *installing scripts

Re: Urxvt - Ultralight terminal

I found the answer to my own question about setting an icon:

URxvt*iconFile: ~/.icons/hydroxygen/48x48/apps/terminal.png big_smile

I've started having a problem where ctrl+d or exit closes the whole application and not just a tab. I don't know why this started it was working ok. sad

Last edited by Raffles10 (2009-10-17 13:47:21)

Re: Urxvt - Ultralight terminal

benj1 wrote:

my point is the standard for comments in config files is # not !, and its not exactly a new standard drempt up after X was was invented.
you shouldn't have to post a question on a forum, or read through the man pages to check what the comment character is.

Quite true, but unfortunately this isn't the only kind of comment there is. The php config file, php.ini, uses a semicolon to start a comment line, html uses <!-- (comment here) -->, and so on... It's just our good luck that most of the time it's a #, not really a "standard".

Last edited by johnraff (2009-10-17 17:03:19)

John
------------------------
( a boring Japan blog , and idle twitterings )
“Good morning sir, which way up would you like your reality today?”  "As it comes, Jeeves, as it comes..."

Re: Urxvt - Ultralight terminal

OK well, I've been trying urxvt and it's proving to be very flaky. Ctrl+d still closes the whole application and not just one tab which is pretty annoying when you're editing something with vim and you close a tab you don't need and the whole lot goes. mad

However I've been looking at some others and Roxterm is a very nice alternative, it doesn't have real transparency which is a shame but not a show stopper but you can hide the tab bar which I like, and is something you can't do with Terminator. It is very configurable through profiles and is proving very impressive. smile

Re: Urxvt - Ultralight terminal

johnraff wrote:

Quite true, but unfortunately this isn't the only kind of comment there is. The php config file, php.ini, uses a semicolon to start a comment line, html uses <!-- (comment here) -->, and so on... It's just our good luck that most of the time it's a #, not really a "standard".

it is a standard, just an informal one, i know many programming langauges have other comments '/**/'- C '//'- C++, ';'- lisp, interrestingly fortran uses '!' as a comment (read into that what you will), the thing is you are likely to spend more than 5 minutes with any one of these, so the effort of learning what the comment is, is insignificant compared to the rest of the language, plus there isn't really a standard in programming languages (except perhaps loosely '#' for some scripting languages and '<!---->' for html like markup languages), so you expect to have to find out what the comment syntax is.

with a config file on the other hand you are unlikely to spend more than 5 minutes editing it, so its less acceptable to spend time learning the syntax.
i imagine the X people had grand plans for having .xdefaults as one centralised file for all defaults for graphical apps, i suppose in that context it may be more acceptable to introduce new syntax, but in its present state its a config file for a few terminal emulators, default x apps and not much else, and just introduces uncertainty when editing other files.

- - - - - - - - Wiki Pages - - - - - - -
#! install guide           *autostart programs, modify the menu & keybindings
configuring Conky       *installing scripts

Re: Urxvt - Ultralight terminal

johnraff wrote:

Quite true, but unfortunately this isn't the only kind of comment there is. The php config file, php.ini, uses a semicolon to start a comment line, html uses <!-- (comment here) -->, and so on... It's just our good luck that most of the time it's a #, not really a "standard".

it is a standard, just an informal one, i know many programming langauges have other comments '/**/'- C '//'- C++, ';'- lisp, interrestingly fortran uses '!' as a comment (read into that what you will), the thing is you are likely to spend more than 5 minutes with any one of these, so the effort of learning what the comment is, is insignificant compared to the rest of the language, plus there isn't really a standard in programming languages (except perhaps loosely '#' for some scripting languages and '<!---->' for html like markup languages), so you expect to have to find out what the comment syntax is.

with a config file on the other hand you are unlikely to spend more than 5 minutes editing it, so its less acceptable to spend time learning the syntax.
i imagine the X people had grand plans for having .xdefaults as one centralised file for all defaults for graphical apps, i suppose in that context it may be more acceptable to introduce new syntax, but in its present state its a config file for a few terminal emulators, default x apps and not much else, and just introduces uncertainty when editing other files.

- - - - - - - - Wiki Pages - - - - - - -
#! install guide           *autostart programs, modify the menu & keybindings
configuring Conky       *installing scripts

Re: Urxvt - Ultralight terminal

klanger wrote:
benj1 wrote:

well thats a bit stupid, what else uses '!' for the config files?

Arch Linux - in rc.conf (eg. deamons)

It's not exactly commenting out something in it's literal sense, it's more like "don't process the next given module" as a replacement for the mathmatical symbol not, wich is not part of old charsets.

I'm so meta, even this acronym