You are not logged in.

#1 2014-01-12 18:24:23

RobotGymnast
Member
Registered: 2013-06-10
Posts: 24

Where can I find rxvt-unicode .Xdefaults options?

I have yet to find a comprehensive, straightforward listing of the rxvt-unicode settings.
The Arch wiki is incomplete, and links to http://pod.tst.eu/http://cvs.schmorp.de … rxvt.1.pod, which doesn't seem to list any tab options.
Moreover, some options in .Xdefaults seem to only work with the prefix .URxvt (e.g. tab-fg and tab-bg), and some only seem to work with the prefix .urxvt (e.g. scrollTtyKeypress). I really can't figure out when to use which, aside from trial and error.
And even though every resource seems to agree that URxvt.tabbed.new-button: false should disable the clickable New tab button, it doesn't.
urxvt --help still doesn't distinguish between which case-sensitive prefixes are required.

Can anybody shed some light on this?

.Xdefaults:

urxvt.depth: 32
urxvt.background: [80]#0C0020
urxvt.scrollBar: false
urxvt.scrollTtyOutput: false
! scroll in relation to buffer (with mouse scroll or Shift+Page Up)
urxvt.scrollWithBuffer: true
! scroll back to the bottom on keypress
urxvt.scrollTtyKeypress: true
URxvt.foreground: [100]#FFFFFF
URxvt.font: xft:monospace:size=11
URxvt.perl-ext-common: tabbed
URxvt.cursorBlink:       true
URxvt.keysym.M-c:   perl:clipboard:copy
URxvt.keysym.M-v:   perl:clipboard:paste
URxvt.keysym.M-C-v: perl:clipboard:paste_escaped
URxvt.tabbed.new-button: false
URxvt.tabbed.tab-fg:    1
URxvt.tabbed.tab-bg:    0

Last edited by RobotGymnast (2014-01-12 19:03:36)

Offline

#2 2014-01-12 18:38:16

β ™
Member
Registered: 2014-01-12
Posts: 11

Re: Where can I find rxvt-unicode .Xdefaults options?

http://linux.die.net/man/1/urxvt

Just search for resource.

Offline

#3 2014-01-12 18:44:39

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Where can I find rxvt-unicode .Xdefaults options?

I think the tabs are an extension. Post your .Xdefaults. Did you merge them after adding 'URxvt.tabbed.new-button: false'?

Offline

#4 2014-01-12 19:03:17

RobotGymnast
Member
Registered: 2013-06-10
Posts: 24

Re: Where can I find rxvt-unicode .Xdefaults options?

β ™ wrote:

http://linux.die.net/man/1/urxvt

Just search for resource.

Still doesn't tell me whether the prefix should be URxvt or urxvt, and doesn't include any information about tabs.

karol wrote:

I think the tabs are an extension. Post your .Xdefaults. Did you merge them after adding 'URxvt.tabbed.new-button: false'?

Oh that would make sense.. I'll modify the original post with my .Xdefaults. Did I merge what with what?

Offline

#5 2014-01-12 19:09:14

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Where can I find rxvt-unicode .Xdefaults options?

Did you run 'xrdb -merge ~/.Xresources'?


Edit:

URxvt.perl-ext-common: tabbed

loads the extension. Comment out or delete this line if you don't want the tabs at all.

Last edited by karol (2014-01-12 19:10:05)

Offline

#6 2014-01-12 19:10:31

RobotGymnast
Member
Registered: 2013-06-10
Posts: 24

Re: Where can I find rxvt-unicode .Xdefaults options?

I don't have an ~/.Xresources file, and all the other changes to ~/.Xdefaults have been picked up immediately. xrdb -merge ~/.Xdefaults doesn't make a difference.

I like having the tab functionality, although I don't want the new tab button.

Last edited by RobotGymnast (2014-01-12 19:12:43)

Offline

#7 2014-01-12 19:12:58

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Where can I find rxvt-unicode .Xdefaults options?

~/.Xdefaults is deprecated, see the note in https://wiki.archlinux.org/index.php/X_resources

Offline

#8 2014-01-12 19:14:22

RobotGymnast
Member
Registered: 2013-06-10
Posts: 24

Re: Where can I find rxvt-unicode .Xdefaults options?

Huh I was having trouble with ~/.Xresources.. I guess because I wasn't merging it. Thanks for the info!

Last edited by RobotGymnast (2014-01-12 19:15:53)

Offline

#9 2014-01-12 19:15:58

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: Where can I find rxvt-unicode .Xdefaults options?

The correct prefix is URxvt. See man 7 urxvt for examples. This also includes some information about tabs.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#10 2014-01-12 19:16:37

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Where can I find rxvt-unicode .Xdefaults options?

Did you fix the new button issue too?

Offline

#11 2014-01-12 19:18:08

RobotGymnast
Member
Registered: 2013-06-10
Posts: 24

Re: Where can I find rxvt-unicode .Xdefaults options?

jasonwryan wrote:

The correct prefix is URxvt. See man 7 urxvt for examples. This also includes some information about tabs.

For me, urxvt.scrollTtyKeypress: false disables scrolling on keypress, but URxvt.scrollTtyKeypress: false does not.

karol wrote:

Did you fix the new button issue too?

Nope!

Last edited by RobotGymnast (2014-01-12 19:20:48)

Offline

#12 2014-01-12 19:29:24

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Where can I find rxvt-unicode .Xdefaults options?

I did some testing and I think this option refers to urxvt-tabbedex package: https://wiki.archlinux.org/index.php/Rx … management
The 'NEW' button is off by default, but you can enable it, just like it says in the wiki.
I'm also using

URxvt.tabbed.autohide:  yes

to disable the tab bar if only one tab is present.

Last edited by karol (2014-01-12 19:29:55)

Offline

#13 2014-01-12 19:31:16

RobotGymnast
Member
Registered: 2013-06-10
Posts: 24

Re: Where can I find rxvt-unicode .Xdefaults options?

karol wrote:

I did some testing and I think this option refers to urxvt-tabbedex package: https://wiki.archlinux.org/index.php/Rx … management
The 'NEW' button is off be default, but you can enable it, just like it says in the wiki.

The article is wrong; the New button isn't disabled by default, at least it wasn't for me. I only added lines pertaining to it when I accidentally clicked it and got a new tab.

karol wrote:

I'm using

URxvt.tabbed.autohide:  yes

to disable the tab bar if only one tab is present.

Thanks, but I don't want tab bar autohiding. I don't like my window shifting around when I open a second tab (which I almost always do).

Last edited by RobotGymnast (2014-01-12 19:32:35)

Offline

#14 2014-01-12 19:33:11

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Where can I find rxvt-unicode .Xdefaults options?

RobotGymnast, you're using a different extension:

URxvt.perl-ext-common: tabbed

is not the same as

URxvt.perl-ext-common: tabbedex

tabbed v. tabbedex.

Offline

#15 2014-01-12 19:34:29

RobotGymnast
Member
Registered: 2013-06-10
Posts: 24

Re: Where can I find rxvt-unicode .Xdefaults options?

Oh god you're right. Looks like I didn't read the wiki too closely, and missed a little mistake which should have been obvious:

Install the urxvt-tabbedex package, then add the tabbedex value to the URxvt.perl-ext-common X resource in your ~/.Xresources:

URxvt.perl-ext-common: ...,tabbed,...

The New button is now thankfully gone. Thanks!
And I can definitely at least get the resource options for tabbedex from https://github.com/stepb/urxvt-tabbedex … r/tabbedex

Looks like the only remaining issue is URxvt vs urxvt prefixes.

Last edited by RobotGymnast (2014-01-12 19:40:32)

Offline

#16 2014-01-12 20:13:59

freddie
Member
Registered: 2010-10-02
Posts: 35
Website

Re: Where can I find rxvt-unicode .Xdefaults options?

Offline

#17 2014-01-12 20:18:35

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Where can I find rxvt-unicode .Xdefaults options?

freddie wrote:

How?

Offline

#18 2014-01-12 20:21:39

RobotGymnast
Member
Registered: 2013-06-10
Posts: 24

Re: Where can I find rxvt-unicode .Xdefaults options?

karol wrote:
freddie wrote:

How?

Although this does bring up another question I'd forgotten: are * and . interchangeable?

Offline

#19 2014-01-12 20:36:32

orschiro
Member
Registered: 2009-06-04
Posts: 2,136
Website

Re: Where can I find rxvt-unicode .Xdefaults options?

Offline

#20 2014-01-12 20:37:35

RobotGymnast
Member
Registered: 2013-06-10
Posts: 24

Re: Where can I find rxvt-unicode .Xdefaults options?

orschiro wrote:

Ah cool, thanks.

Offline

Board footer

Powered by FluxBB