Solarized in Xresources: rotes ist orange

yggdrasil

Well-Known Member
Servus,

da wir im Allgemeinen Forum leider kein Software-Unterforum haben schreibe ich im Hardwareforum, iss ja auch quasi das gleiche :D

Das Solarized-Theme ist ja ne feine Sache, leider scheint mir das Rot sehr Orange zu sein. Auch wenn ich die Farben im Terminal mit den Screenshots auf der Solarized Homepage vergleiche ist meine Ausgabe deutlich orange statt rot. Selbst wenn ich die .Xresources vom github-Repo 1:1 übernehme ist die Farbausgabe unverändert, siehe Screenshot im Anhang.

Ist ein urxvt mit zsh, aber auch andere Shells ändern nichts, meist unter tmux, was aber auch keinen Unterschied macht.

An welchen Faktoren bzw. Einstellungen kann das noch liegen?

Danke schonmal, und ein Mod darf gerne in ein evtl. besser passendes Forum verschieben :)
 

Anhänge

  • orange.png
    orange.png
    71 KB · Aufrufe: 566
Die Xresources meinst du? Ok, aber Achtung, alles wild zusammengeklaut

Code:
!Xft settings {
!Xft.antialias: 	true
!Xft.hinting:		true
!Xft.hintstyle: 	hintslight
!Xft.rgba:		none
Xft.dpi:		96
!Xft.lcdfilter:		lcdnone
!}

!Cursor theme {
Xcursor*theme:          aero
Xcursor*size:           16
!}

!URxvt Settings {
URxvt*title:rxvt-unicode
URxvt*iconName:urxvt
URxvt*termName:rxvt-unicode

!URxvt*background: Black
!URxvt*foreground: White


URxvt*geometry:98x28
URxvt*borderLess:false
URxvt*externalBorder:1
URxvt*internalBorder:0

URxvt*visualBell:true
URxvt*highlightSelection:True
URxvt*buffered:true
URxvt*saveLines:4000

!URxvt*perl-ext-common:matcher,selection,selection-autotransform,-searchable-scrollback,-readline
!URxvt.selection-autotransform.0: s/^([^:[:space:]]+):(\\d+):?$/vim +$2 \\Q$1\\E\\x0d/
!cutchars:"()*,<>[]{}|'"
!URxvt.matcher.button:1
!URxvt.underlineURLs:true
URxvt*perl-ext-common: font-size
URxvt.keysym.C-Up: perl:font-size:increase
URxvt.keysym.C-Down: perl:font-size:decrease
URxvt.perl-ext:url-select,keyboard-select
URxvt.keysym.M-u:perl:url-select:select_next
URxvt.keysym.M-Escape: perl:keyboard-select:activate
URxvt.url-select.launcher: midori
URxvt.url-select.underline: true
URxvt.url-select.button: 1

URxvt*eightBitInput:true
URxvt*inputMethod:SCIM
URxvt*multichar_encoding:utf-8
URxvt*preeditType:OverTheSpot,Root
URxvt*imLocale:en_US.UTF-8
!}

!Scroll and mousewheel {
URxvt*jumpScroll:true
URxvt*skipScroll:true
URxvt*scrollBar:false
URxvt*scrollBar_right:false
URxvt*scrollstyle:plain
URxvt*secondaryScroll:true
URxvt*scrollTtyOutput:false
URxvt*scrollWithBuffer:true
URxvt*scrollTtyKeypress:true
URXvt*mouseWheelScrollPage:false
!}

!URxvt Fonts {
!URxvt*font:			-*-terminus-medium-*-*-*-14-*-*-*-*-*-*-u
!URxvt.boldFont:		-*-terminus-bold-*-*-*-14-*-*-*-*-*-*-u
!URxvt*font:			xft:Droid Sans Mono:size=11
!URxvt*font:            xft:Dejavu Sans Mono:size=12
!URxvt*font:			xft:Liberation Mono:pixelsize=15
!URxvt*font:             xft:Ubuntu Mono derivative Powerline:size=13
!URxvt*font:             xft:Input-Regular_(InputMonoNarrow-Regular):size=14
!URxvt*font:             xft:Iosevka:size=12
URxvt*font:             xft:Anonymice Powerline:size=12
!URxvt*font:             xft:Droid+Sans+Mono+for+Powerline:size=13
!URxvt*font:             xft:mensch-Powerline:size=13
!}

!URxvt Color Settings {
! Color Scheme
!!#include "/usr/home/yggdrasil/.xcolors/solarized_light"
!!#include "/usr/home/yggdrasil/.xcolors/solarized_dark"
URxvt*depth:32
URxvt*dynamicColors:on

!URxvt*cursorColor:#888888
!URxvt*cursorBlink:false
!URxvt*cursorUnderline:false
!URxvt*pointerColor:gray
!URxvt*pointerColorBackground:black
!URxvt*pointerBlank:false
!URxvt*pointerBlankDelay:2

! 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

URxvt*background:              S_base03
URxvt*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
*color9:                  S_orange
*color8:                  S_base03
*color10:                 S_base01
*color11:                 S_base00
*color12:                 S_base0
*color13:                 S_violet
*color14:                 S_base1
*color15:                 S_base3

URxvt*intensityStyles: false
! vim:nospell foldmethod=marker:foldmarker={,}:foldlevel=0
!*faceName: inconsolata, font-awesome
! URxvt*termName:                       string
! URxvt*geometry:                       geometry
! URxvt*chdir:                          string
! URxvt*reverseVideo:                   boolean
! URxvt*loginShell:                     boolean
! URxvt*multiClickTime:                 number
! URxvt*jumpScroll:                     boolean
! URxvt*skipScroll:                     boolean
! URxvt*pastableTabs:                   boolean
! URxvt*scrollstyle:                    mode
! URxvt*scrollBar:                      boolean
! URxvt*scrollBar_right:                boolean
! URxvt*scrollBar_floating:             boolean
! URxvt*scrollBar_align:                mode
! URxvt*thickness:                      number
! URxvt*scrollTtyOutput:                boolean
! URxvt*scrollTtyKeypress:              boolean
! URxvt*scrollWithBuffer:               boolean
! URxvt*inheritPixmap:                  boolean
! URxvt*transparent:                    boolean
! URxvt*tintColor:                      color
! URxvt*shading:                        number
! URxvt*blurRadius:                     HxV
! URxvt*fading:                         number
! URxvt*fadeColor:                      color
! URxvt*utmpInhibit:                    boolean
! URxvt*urgentOnBell:                   boolean
! URxvt*visualBell:                     boolean
! URxvt*mapAlert:                       boolean
! URxvt*meta8:                          boolean
! URxvt*mouseWheelScrollPage:           boolean
! URxvt*tripleclickwords:               boolean
! URxvt*insecure:                       boolean
! URxvt*cursorUnderline:                boolean
! URxvt*cursorBlink:                    boolean
! URxvt*pointerBlank:                   boolean
! URxvt*background:                     color
! URxvt*foreground:                     color
! URxvt*color0:                         color
! URxvt*color1:                         color
! URxvt*color2:                         color
! URxvt*color3:                         color
! URxvt*color4:                         color
! URxvt*color5:                         color
! URxvt*color6:                         color
! URxvt*color7:                         color
! URxvt*color8:                         color
! URxvt*color9:                         color
! URxvt*color10:                        color
! URxvt*color11:                        color
! URxvt*color12:                        color
! URxvt*color13:                        color
! URxvt*color14:                        color
! URxvt*color15:                        color
! URxvt*colorBD:                        color
! URxvt*colorIT:                        color
! URxvt*colorUL:                        color
! URxvt*colorRV:                        color
! URxvt*underlineColor:                 color
! URxvt*scrollColor:                    color
! URxvt*troughColor:                    color
! URxvt*highlightColor:                 color
! URxvt*highlightTextColor:             color
! URxvt*cursorColor:                    color
! URxvt*cursorColor2:                   color
! URxvt*pointerColor:                   color
! URxvt*pointerColor2:                  color
! URxvt*borderColor:                    color
! URxvt*path:                           search path
! URxvt*backgroundPixmap:               file[;geom]
! URxvt*iconFile:                       file
! URxvt*font:                           fontname
! URxvt*boldFont:                       fontname
! URxvt*italicFont:                     fontname
! URxvt*boldItalicFont:                 fontname
! URxvt*intensityStyles:                boolean
! URxvt*inputMethod:                    name
! URxvt*preeditType:                    style
! URxvt*imLocale:                       string
! URxvt*imFont:                         fontname
! URxvt*title:                          string
! URxvt*iconName:                       string
! URxvt*saveLines:                      number
! URxvt*buffered:                       boolean
! URxvt*depth:                          number
! URxvt*visual:                         number
! URxvt*transient-for:                  windowid
! URxvt*override-redirect:              boolean
! URxvt*hold:                           boolean
! URxvt*externalBorder:                 number
! URxvt*internalBorder:                 number
! URxvt*borderLess:                     boolean
! URxvt*lineSpace:                      number
! URxvt*letterSpace:                    number
! URxvt*skipBuiltinGlyphs:              boolean
! URxvt*pointerBlankDelay:              number
! URxvt*backspacekey:                   string
! URxvt*deletekey:                      string
! URxvt*print-pipe:                     string
! URxvt*modifier:                       modifier
! URxvt*cutchars:                       string
! URxvt*answerbackString:               string
! URxvt*secondaryScreen:                boolean
! URxvt*secondaryScroll:                boolean
! URxvt*perl-lib:                       string
! URxvt*perl-eval:                      perl-eval
! URxvt*perl-ext-common:                string
! URxvt*perl-ext:                       string
! URxvt*iso14755:                       boolean
! URxvt*iso14755_52:                    boolean
! URxvt*xrm:                            string
! URxvt*keysym.sym:                     keysym
! URxvt*background.border:              boolean
! URxvt*background.expr:                string
! URxvt*background.interval:            seconds
! URxvt*bell-command:                   string
! URxvt*kuake.hotkey:                   string
! URxvt*matcher.button:                 string
! URxvt*matcher.launcher:               string
! URxvt*matcher.launcher.*:             string
! URxvt*matcher.pattern.*:              string
! URxvt*matcher.rend.*:                 string
! URxvt*remote-clipboard.fetch:         string
! URxvt*remote-clipboard.store:         string
! URxvt*searchable-scrollback:          string
! URxvt*selection-autotransform.*:      string
! URxvt*selection-pastebin.cmd:         string
! URxvt*selection-pastebin.url:         string
! URxvt*selection.pattern-0:            string
! URxvt*tab-bg:                         colour
! URxvt*tab-fg:                         colour
! URxvt*tabbar-bg:                      colour
! URxvt*tabbar-fg:                      colour
! URxvt*url-launcher:                   string
 
Hm, so direkt funktioniert's bei mir nicht. Damit habe ich zwar ein blaues urxvt, aber sonst keine Farben, sei es 'ls -G' oder in vim...
 
Ich hab's grad mal getestet um sicher zugehen, aber Farben in ls -G und vim sind unabhängig von diesen Xresources. Zeigt dir vim gar keine Farben an, selbst wenn du colorscheme, filetype und syntax korrekt gesetzt hast? Bzgl. ls kann ich dir spontan nicht helfen.
 
Wenn ich Syntax eingeschaltet habe, wurde nur alles unterstrichen. Ich gucke mir das aber noch mal in Ruhe an.
 
Ich hab das in meiner .profile gesetzt, nicht in .Xresources:
Code:
TERM=rxvt-unicode-256color
Wenn ich mich recht entsinne hab ich das dort gesetzt, weil es in diversen Dokumentationen hieß, Programm X bräuchte ein korrekt gesetztes $TERM
 
$TERM wird von Terminalemulator selbst gesetzt.

Code:
 export TERM=${TERM}

Aber man sollte halt in der .Xresources angeben wenn man 256color Farben will.
 
Zurück
Oben