You are not logged in.

#1 2015-08-03 23:13:18

nesneros
Member
From: Arizona
Registered: 2012-04-25
Posts: 20

gdm not processing $HOME/.Xresources

Good afternoon,

I am sorry if this is not the correct forum section for this to be placed, if it is not, please let me know and/or move it appropriately.

Earlier this afternoon I updated my installation of Arch and since then any time I reboot the machine, log in, and lauch my terminal (default urxvt) it starts urxvt with a pink border.  It would seem as though gdm is not taking in to account or processing the .Xresources file in my user home directory.

What I have tried so far is to edit the file /etc/gdm/Xsession changing the following:

if [ -f "$userresources" ]; then
    xrdb -nocpp -merge "$userresources"
fi

to:

if [ -f "$userresources" ]; then
    xrdb -merge "$userresources"
fi

Even then, it seems to then remove the pink border that encapsulates urxvt but does not fully load the settings (e.g. font settings, colors, etc.).  Has anyone else ran across this issue?  Also, here is a list of packages that were updated earlier this afternoon:

[2015-08-03 20:44] [PACMAN] Running 'pacman -Syyu'
[2015-08-03 20:44] [PACMAN] synchronizing package lists
[2015-08-03 20:45] [PACMAN] starting full system upgrade
[2015-08-03 20:45] [ALPM] transaction started
[2015-08-03 20:45] [ALPM] upgraded sqlite (3.8.10.2-1 -> 3.8.11.1-1)
[2015-08-03 20:45] [ALPM] upgraded colord (1.2.9-3 -> 1.2.11-1)
[2015-08-03 20:45] [ALPM] upgraded libdmapsharing (2.9.30-1 -> 2.9.31-1)
[2015-08-03 20:45] [ALPM] upgraded libsecret (0.18.2-1 -> 0.18.3-1)
[2015-08-03 20:45] [ALPM] installed libsodium (1.0.3-1)
[2015-08-03 20:45] [ALPM] installed libpgm (5.2.122-2)
[2015-08-03 20:45] [ALPM] installed zeromq (4.1.2-3)
[2015-08-03 20:45] [ALPM] upgraded libteam (1.14-2 -> 1.17-1)
[2015-08-03 20:45] [ALPM] transaction completed

Here is a copy of my .Xresources file:

! Base16 Ocean
! Scheme: Chris Kempson (http://chriskempson.com)

#define base00 #2b303b
#define base01 #343d46
#define base02 #4f5b66
#define base03 #65737e
#define base04 #a7adba
#define base05 #c0c5ce
#define base06 #dfe1e8
#define base07 #eff1f5
#define base08 #bf616a
#define base09 #d08770
#define base0A #ebcb8b
#define base0B #a3be8c
#define base0C #96b5b4
#define base0D #8fa1b3
#define base0E #b48ead
#define base0F #ab7967

*.foreground:   base05
*.background:   base00
*.cursorColor:  base05

*.color0:       base00
*.color1:       base08
*.color2:       base0B
*.color3:       base0A
*.color4:       base0D
*.color5:       base0E
*.color6:       base0C
*.color7:       base05

*.color8:       base03
*.color9:       base09
*.color10:      base01
*.color11:      base02
*.color12:      base04
*.color13:      base06
*.color14:      base0F
*.color15:      base07

URxvt*termName: rxvt
URxvt*scrollBar: false
URxvt*font: xft:monospace:pixelsize=10

In order to get urxvt to correctly display the colors and font settings defined in .Xresources I must run:

$ xrdb -load ~/.Xresources

And then reload urxvt.

Any assistance would be greatly appreciated.


{ github | arch }

Offline

#2 2015-08-04 16:13:55

Chazza
Wiki Maintainer
Registered: 2013-06-02
Posts: 506

Re: gdm not processing $HOME/.Xresources

I'm not sure how you would fix GDM properly but what you could do is put

xrdb -load ~/.Xresources

in ~/.xprofile
xprofile is executed by GDM on login.

Offline

Board footer

Powered by FluxBB