You are not logged in.
Hello,
I'm trying to use solarized color theme with urxvt and tmux, and I don't even succeed in activating 256 colors in urxvt.
Can someone help me ?
The problem is that 'tput colors' always says "8" (colors), whatever I try ;(
How am I supposed to configure my .Xdefaults, .Xresources and .tmux.conf to make this work ?
thanks a lot ![]()
Last edited by almandin (2014-12-18 07:55:38)
Offline
Offline
Stop forcing a TERM variable by exporting it from your shell initialisation file...
Offline
Ok my terminal now use 256 colors (urxvt, tmux still use only 8 but anyway ...)
I try to use solarized theme, and I don't understand the difference beetwen .Xresources and .Xdefaults ![]()
I've found this .Xresources :
! Solarized color scheme for the X Window System
!
! http://ethanschoonover.com/solarized
! Common
#define S_yellow #b58900
#define S_orange #cb4b16
#define S_red #dc322f
#define S_magenta #d33682
#define S_violet #6c71c4
#define S_blue #268bd2
#define S_cyan #2aa198
#define S_green #859900
! Dark
#define S_base03 #002b36
#define S_base02 #073642
#define S_base01 #586e75
#define S_base00 #657b83
#define S_base0 #839496
#define S_base1 #93a1a1
#define S_base2 #eee8d5
#define S_base3 #fdf6e3
! Light
! #define S_base03 #fdf6e3
! #define S_base02 #eee8d5
! #define S_base01 #93a1a1
! #define S_base00 #839496
! #define S_base0 #657b83
! #define S_base1 #586e75
! #define S_base2 #073642
! #define S_base3 #002b36
! To only apply colors to your terminal, for example, prefix
! the color assignment statement with its name. Example:
!
! URxvt*background: S_base03
*background: S_base03
*foreground: S_base0
*fading: 40
*fadeColor: S_base03
*cursorColor: S_base1
*pointerColorBackground: S_base01
*pointerColorForeground: S_base1
*color0: S_base02
*color1: S_red
*color2: S_green
*color3: S_yellow
*color4: S_blue
*color5: S_magenta
*color6: S_cyan
*color7: S_base2
*color8: S_base03
*color9: S_orange
*color10: S_base01
*color11: S_base00
*color12: S_base0
*color13: S_violet
*color14: S_base1
*color15: S_base3but if I put this on my .Xresources, my terminal stay black and white.
I probably miss something, can you help me to find what ? ![]()
Edit : And if I put the code in my .Xdefaults, the terminal is totally pink !
Last edited by almandin (2014-12-20 12:12:18)
Offline
If you searched the wiki for either "Xdefaults" or "Xresources" you would be sent directly to the page that has the answer you need. I'll leave it to you to determine what article your should look for in the wiki to know how to configure tmux.
Please don't become a help vampire. Try searching for yourself first.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline