You are not logged in.

#1 2014-04-13 16:49:19

madsravn
Member
Registered: 2013-05-12
Posts: 22

Can't seem to change my urxvt color scheme

Hi,

This might be a huge, huge stupid mistake from my part, but I seem to be unable to change the color scheme which my urxvt uses.

Here is my .xinitrc file:

 
#!/bin/sh

# ~/.xinitrc
xbindkeys
xrdb .Xresources
setterm -blength 0
#xset -b
#if [ -d /etc/X11/xinit/xinitrc.d ]; then
#    for f in /etc/X11/xinit/xinitrc.d/*; do
#        [ -x "$f" ] && . "$f"
#    done
#    unset f
#fi
setxkbmap dk

xrdb -merge ~/.Xresources
exec awesome

I am not exactly what the if statement is supposed to do, so I removed it.

Here is my .Xresources

! Jellybeans Terminal Colours

! vim: ft=xdefaults
*background: #151515
*foreground: #888888
! black
*color0: #1C1C1C
*color8: #404040
! red
*color1: #B85335
*color9: #CF6A4C
! green
*color2: #799D6A
*color10: #99AD6A
! yellow
*color3: #FFB964
*color11: #FAD07A
! blue
*color4: #667899
*color12: #8197BF
! magenta
*color5: #8787AF
*color13: #C6B6EE
! cyan
*color6: #668799
*color14: #8FBFDC
! white
*color7: #888888
*color15: #E8E8D3


!! URxvt COLORS --------------------------------------------------------
URxvt*depth                   : 32
URxvt*foreground              : #888888
URxvt*background              : #151515
URxvt.fading                  : 25
URxvt.fadeColor               : #121212
URxvt.scrollBar               : false
URxvt*visualBell              : false





URxvt*.scrollBar: false
URxvt*.cursorBlink: 1
URxvt*.font: xft:Dina:size=8:antialias=false
URxvt.iconFile: /usr/share/icons/Faenza/apps/scalable/terminal.svg



!! Remove ISO14755 Mode
URxvt.iso14755:     false
URxvt*iso14755_52:  false

!! URxvt EXTENSIONS ----------------------------------------------------
URxvt.perl-ext-common         : default,matcher,clipboard
URxvt.matcher.button          : 1
URxvt.url-launcher            : dwb
URxvt.colorUL                 : #268bd2

!! URxvt KEY BINDINGS
URxvt.keysym.Control-Shift-C  : perl:clipboard:copy
URxvt.keysym.Control-Shift-V  : perl:clipboard:paste
URxvt.keysym.Control-Shift-B  : perl:matcher:last
URxvt.keysym.Control-Shift-L  : perl:matcher:list


!! BUFFER AND SCROLLING ------------------------------------------------
URxvt.saveLines               : 65536
URxvt*scrollTtyOutput         : false
URxvt*scrollWithBuffer        : true
URxvt*scrollTtyKeypress       : true

!! URxvt EMULATE XTERM KEY CODES
URxvt.keysym.Control-Up       : \033[1;5A
URxvt.keysym.Control-Down     : \033[1;5B
URxvt.keysym.Control-Left     : \033[1;5D
URxvt.keysym.Control-Right    : \033[1;5C

And here is a screenshot of my urxvt terminal: http://i.imgur.com/4R5KGcY.png

As you can see my background color is not #151515 which is supposed to be a dark color. I'm trying to get this color scheme: https://github.com/zezhyrule/dotfiles .

Can anyone point out what I'm doing wrong here? I have no idea what is going on.




-- mod edit: read the Forum Etiquette and only post thumbnails http://wiki.archlinux.org/index.php/For … s_and_Code [jwr] --

Offline

#2 2014-04-13 17:09:39

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

Re: Can't seem to change my urxvt color scheme


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2014-04-13 17:13:59

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

Re: Can't seem to change my urxvt color scheme

I'm not sure if 'xrdb .Xresources' works, maybe you need to add the path or just reread the .Xresources file to make the terminal aware of the change.
The color scheme works for me.

Offline

#4 2014-04-13 19:21:17

jedijimi
Member
From: Hartford Wi
Registered: 2013-12-10
Posts: 93

Re: Can't seem to change my urxvt color scheme

Isn't it supposed to be 'xrdb -merge ~/.Xresources'

*why do you have two listings for .Xresources in your ~.xinitrc

**I'm editing cause I didn't read your ~/.xinitrc file all the way thru.

Last edited by jedijimi (2014-04-13 19:23:58)


Crude matter we are not, Luminous beings we are

Offline

#5 2014-04-14 04:24:19

frank604
Member
From: BC, Canada
Registered: 2011-04-20
Posts: 1,219

Re: Can't seem to change my urxvt color scheme

Colours work.  Try removing everything else.  Then manually run

xrdb ~/.Xresources

then close and open urxvt.  See if the colours are what you want.  If yes, then add back in the rest of the .Xresources a section at a time.

Last edited by frank604 (2014-04-14 04:24:54)

Offline

Board footer

Powered by FluxBB