Hello, I am trying to set Xft.rgba value depending on the screen (0 is horizontal, 1 is rotated vertically). However, whenever I `startx`, the settings are not merged automatically, unless I manually do `xrdb -merge ~/.Xresources`.
How do I know? The output of `xrdb -query` right after X starts is:
[...]
! screen 0 resources
#if SCREEN_NUM == 0
#endif
! screen 1 resources
#if SCREEN_NUM == 1
#endif
and after I manually `xrdb -merge .Xresources`:
[...]
! screen 0 resources
#if SCREEN_NUM == 0
Xft.rgba: rgb
#endif
! screen 1 resources
#if SCREEN_NUM == 1
Xft.rgba: vrgb
#endif
.Xresources (only relevant parts):
------------
#if SCREEN_NUM == 0
Xft.rgba: rgb
#endif
#if SCREEN_NUM == 1
Xft.rgba: vrgb
#endif
------------
.xinitrc (only relevant parts):
------------
userresources=$HOME/.Xresources
if [ -f "$userresources" ]; then
xrdb -merge "$userresources"
fi
------------
Why doesn't it work?
Thanks.
--
< Regards, | S pozdravem >
Oleksii Vilchanskyi
PGP:0x8D3A0E046BDE941F2A53867CE3FD952D48C0B338
signature.asc
Description: OpenPGP digital signature
_______________________________________________ [email protected]: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: https://lists.x.org/mailman/listinfo/xorg Your subscription address: %(user_address)s
