You are not logged in.

#1 2014-09-19 22:09:55

3mpach3r
Member
Registered: 2011-10-18
Posts: 30

[SOLVED] .Xresources refuses to load except when loaded manually

I'm running i3+SLiM with my URxvt config in .Xresources and

xrdb -merge ~./Xresources

in my .xinitrc but every time I start i3, the config is not loaded and URxvt appears in its default form.  When I open the terminal and type the same xrdb command any subsequent terminals I open (even after closing the original) are now using the correct configuration.
I've tried all of the variations I've seen on various help threads including -load and

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

to no avail.

Any help is much appreciated!

EDIT: I can also put it in my .zshrc and watch as the first window is default and every other terminal I open is configured...

Last edited by 3mpach3r (2014-09-26 13:52:39)

Offline

#2 2014-09-19 22:15:34

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 9,003
Website

Re: [SOLVED] .Xresources refuses to load except when loaded manually

Sounds very similar to this thread:
https://bbs.archlinux.org/viewtopic.php?id=186914
Maybe try disabling any perl strings in the URxvt config...


Jin, Jîyan, Azadî

Offline

#3 2014-09-19 22:49:44

3mpach3r
Member
Registered: 2011-10-18
Posts: 30

Re: [SOLVED] .Xresources refuses to load except when loaded manually

Its similar but I get all default terminals until I manually load the config.

The following command returns nothing

xrdb -query

As far as I know there aren't any perl strings in my config, just a few lines similar to

URxvt*scrollBar:     false

Offline

#4 2014-09-19 23:08:48

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

Re: [SOLVED] .Xresources refuses to load except when loaded manually

Does it work without Slim?


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#5 2014-09-23 19:33:40

3mpach3r
Member
Registered: 2011-10-18
Posts: 30

Re: [SOLVED] .Xresources refuses to load except when loaded manually

I disabled slim and tried a bunch of variants of the xrdb command through startx.  It still wouldn't load the file.

Offline

#6 2014-09-23 19:39:15

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

Re: [SOLVED] .Xresources refuses to load except when loaded manually

Paste your .xinitrc and your .Xresources


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#7 2014-09-23 19:47:20

3mpach3r
Member
Registered: 2011-10-18
Posts: 30

Re: [SOLVED] .Xresources refuses to load except when loaded manually

.xinitrc

exec i3

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

.Xresources

! URxvt*termName:                       string
! URxvt*geometry:                       geometry
! URxvt*chdir:                          string
! URxvt*reverseVideo:                   boolean
! URxvt*loginShell:                     boolean
! URxvt*jumpScroll:                     boolean
! URxvt*skipScroll:                     boolean
! URxvt*pastableTabs:                   boolean
! URxvt*scrollstyle:                    mode
URxvt*scrollBar:                        false
! URxvt*scrollBar_right:                boolean
! URxvt*scrollBar_floating:             boolean
! URxvt*scrollBar_align:                mode
URxvt*thickness:                        0
! 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:                       #050505
URxvt*foreground:                       #eeeeee
! 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*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*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

Offline

#8 2014-09-23 19:55:27

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

Re: [SOLVED] .Xresources refuses to load except when loaded manually

Read the wiki page on .xinitrc, nothing after the exec line is read...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#9 2014-09-26 13:52:17

3mpach3r
Member
Registered: 2011-10-18
Posts: 30

Re: [SOLVED] .Xresources refuses to load except when loaded manually

Yup, nailed it...  Sorry it was so trivial on my part.  Thanks for all of your help!

Offline

Board footer

Powered by FluxBB