[Bug 1244578] [NEW] lightdm-session runs xrdb with -nocpp option

Launchpad Bug Tracker 1244578 at bugs.launchpad.net
Wed Jun 17 19:32:47 UTC 2015


You have been subscribed to a public bug by Jorge Niedbalski (niedbalski):

[Impact]

lightdm-session runs xrdb for .Xresources file with the -nocpp option
(Line 37 and 43), which prevents the xrdb from preprocessing the
.Xresources file. Many configurations like the popular solarized color
theme (https://github.com/solarized/xresources/blob/master/solarized)
use this and you find some complaints about in on the internet

https://bbs.archlinux.org/viewtopic.php?id=164108
https://bugs.launchpad.net/ubuntu/+source/unity/+bug/1163129
http://superuser.com/questions/655857/urxvt-uses-pink-instead-of-solarized-until-i-run-xrdb-xresources/656213

I don't see a reason for not using the preprocessor and so did the
editor of Xsession (the option is not used in
/etc/X11/Xsession.d/30x11-common_xresources)

[Test Case]

 - Install solarized theme
https://github.com/solarized/xresources/blob/master/solarized

- Load default Xresources file (xrdb < .XDefaults )

- Now every macro supported by CPP will not work.


[Regression Potential] 

* No regression potential advised, small (0.001%) load average increase
on startup time because of enabling Cpp.

[Solution]

Backport default wily session to older releases.

** Affects: lightdm (Ubuntu)
     Importance: Undecided
         Status: Fix Released

** Affects: lightdm (Ubuntu Precise)
     Importance: Undecided
     Assignee: Jorge Niedbalski (niedbalski)
         Status: In Progress

** Affects: lightdm (Ubuntu Trusty)
     Importance: Undecided
     Assignee: Jorge Niedbalski (niedbalski)
         Status: In Progress

** Affects: lightdm (Ubuntu Utopic)
     Importance: Undecided
     Assignee: Jorge Niedbalski (niedbalski)
         Status: In Progress

** Affects: lightdm (Ubuntu Vivid)
     Importance: Undecided
     Assignee: Jorge Niedbalski (niedbalski)
         Status: In Progress

-- 
lightdm-session runs xrdb with -nocpp option
https://bugs.launchpad.net/bugs/1244578
You received this bug notification because you are a member of Ubuntu Sponsors Team, which is subscribed to the bug report.



More information about the Ubuntu-sponsors mailing list