FS#44746 - [lightdm] Loading X resources with the C preprocessor enabled
Attached to Project:
Community Packages
Opened by Marten Lienen (cqql) - Monday, 27 April 2015, 12:41 GMT
Last edited by Maxime Gauduin (Alucryd) - Tuesday, 28 April 2015, 07:31 GMT
Opened by Marten Lienen (cqql) - Monday, 27 April 2015, 12:41 GMT
Last edited by Maxime Gauduin (Alucryd) - Tuesday, 28 April 2015, 07:31 GMT
|
Details
Description:
lightdm does automatically loads ~/.Xresources on logging in, but with the -nocpp switch, so that you cannot use #define statements in your .Xresources. This is a confirmed bug upstream[1] and I have sent a patch there as well[2]. The arch package however comes with a custom version of the /etc/lightdm/Xsession script, so it has to be modified here as well. This means in particular, that the -nocpp switch should be removed from line 19 of the arch-specific Xsession script[3]. [1] https://bugs.launchpad.net/ubuntu/+source/lightdm/+bug/1244578 [2] http://bazaar.launchpad.net/~cqql/lightdm/cpp/revision/2140 [3] https://projects.archlinux.org/svntogit/community.git/tree/trunk/Xsession?h=packages/lightdm#n19 Steps to reproduce: Install lightdm and have a ~/.Xresources, that uses #defines. |
This task depends upon
Closed by Maxime Gauduin (Alucryd)
Tuesday, 28 April 2015, 07:31 GMT
Reason for closing: Implemented
Additional comments about closing: 1:1.14.0-2
Tuesday, 28 April 2015, 07:31 GMT
Reason for closing: Implemented
Additional comments about closing: 1:1.14.0-2