You are not logged in.

#1 2013-08-31 12:54:08

hughitt1
Member
Registered: 2010-02-18
Posts: 82
Website

[Solved] Xresources #include not loaded by GDM

Hello,

I am having some trouble getting GDM to parse my .Xresources completely.

It seems like most of the file is read fine, but the the contents of an external file which is added via an #include is ignored. However, when I then manually do an xrdb -merge ~/.Xresources, the settings are loaded just fine.

Initially I was just using a simple xinitrc to load my WM, which does not have the same problem with Xresources. After encountering some issues with pulse-audio, however, I've gone back to using GDM, and am now running into this issue.

Any ideas?

Last edited by hughitt1 (2013-11-14 12:03:45)

Offline

#2 2013-11-14 12:03:35

hughitt1
Member
Registered: 2010-02-18
Posts: 82
Website

Re: [Solved] Xresources #include not loaded by GDM

In case anyone runs into the same issue, the problem is caused by the use of the '-nocpp' flag in /etc/gdm/Xsession.

Removing the parameter fixes the issue:

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

Offline

Board footer

Powered by FluxBB