Earnestly / sx

Start an xorg server
MIT License
231 stars 16 forks source link

xrdb in the sx script doesn't work #14

Closed tleydxdy closed 4 years ago

tleydxdy commented 4 years ago

In my ~/.config/Xresources file I have

Xft.dpi: 192

and in my sx file I have

xrdb -merge ~/.config/Xresources

However the dpi is not set on start. running the command manually after start will correctly set the dpi

Earnestly commented 4 years ago

Neither sx nor startx do anything which would be responsible for this. When I was using startx long ago I also used to experience similar issues with -merge which is why as a result I started using -load instead. E.g. https://github.com/Earnestly/dotfiles/blob/master/local/cfg/sx/sxrc#L5

There may be interactions with daemons such as gnome-settings-daemon which sets various resources in the RESOURCE_MANAGER, overriding xrdb. You can perhaps try xprop -root -spy RESOURCE_MANAGER to monitor for changes and try determine what's going on.

tleydxdy commented 4 years ago

turns out it was xwallpaper that was resetting it. I moved the merge after that and it works now.