You are not logged in.

#1 2019-01-20 13:08:51

sudoku
Member
Registered: 2012-10-31
Posts: 96

[SOLVED] urxvtc -name not honoring Xresources

Hi,

When I launch a program in a new named window through urxvtc, .Xresource settings are not honored.

For example, when I run:

urxvtc -e ncmpcpp

I get a nice black terminal with my favourite font but

urxvtc -name ncmpcpp -e ncmpcpp

gives me a white terminal with an unreadable font.

I run i3 with LightDM and my settings are all in .profile, including

[[ -f ~/.Xresources ]] && xrdb ~/.Xresources

.
And here is the urxvt part of my .Xresources:

! --- urxvt ---
! base
urxvt.font:             xft:DejaVu Sans Mono:size=12
urxvt.termName:         rxvt
urxvt.perl-ext-common:  default,clipboard
urxvt.url-launcher:     /usr/bin/firefox
urxvt.matcher.button:   1
urxvt.geometry:         135x36
! scroll
urxvt.scrollTtyOutput:  false
urxvt.scrollTtyKeypress:true
urxvt.secondaryScroll:  true
urxvt.saveLines:        500
urxvt.scrollBar:        false
urxvt.transparent:  	true
urxvt.shading:      	10
! keys
urxvt.keysym.Shift-Ins: perl:clipboard:paste
! colors
! base
urxvt.foreground:		15
urxvt.background:		0
urxvt.cursorColor:		14
! man pages
urxvt.colorIT:			11
urxvt.colorBD:			7
urxvt.colorUL:			14
! tabs
URxvt.tabbed.tabbar-fg: 8
URxvt.tabbed.tabbar-bg: 0
URxvt.tabbed.tab-fg:    14
URxvt.tabbed.tab-bg:    0

Why is this and how can I make urxvtc properly display a named terminal?

Last edited by sudoku (2019-01-20 13:24:48)

Offline

#2 2019-01-20 13:24:17

sudoku
Member
Registered: 2012-10-31
Posts: 96

Re: [SOLVED] urxvtc -name not honoring Xresources

Nevermind. I finally understood the difference between

urxvt.font: xft:DejaVu Sans Mono:size=12

and

URxvt.font: xft:DejaVu Sans Mono:size=12

Offline

Board footer

Powered by FluxBB