← Back to team overview

desktop-packages team mailing list archive

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

 

This bug was fixed in the package lightdm - 1.2.3-0ubuntu2.8

---------------
lightdm (1.2.3-0ubuntu2.8) precise; urgency=medium

  * debian/lightdm-session: Enable C preprocessor
    when loading X resources. (LP: #1244578).

 -- Jorge Niedbalski <jorge.niedbalski@xxxxxxxxxxxxx>  Mon, 15 Jun 2015
13:47:46 -0500

** Changed in: lightdm (Ubuntu Precise)
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to lightdm in Ubuntu.
https://bugs.launchpad.net/bugs/1244578

Title:
  lightdm-session runs xrdb with -nocpp option

Status in lightdm package in Ubuntu:
  Fix Released
Status in lightdm source package in Precise:
  Fix Released
Status in lightdm source package in Trusty:
  Fix Released
Status in lightdm source package in Utopic:
  Won't Fix
Status in lightdm source package in Vivid:
  Fix Released

Bug description:
  [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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lightdm/+bug/1244578/+subscriptions