You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Today I Learned about xsettings. Under dwm, apps like chrome, inkscape, audacity, pavucontrol actively change their size when Xft/DPI is updated. Terminals alacritty, st and xterm do not read xsettingsd however that is to be expected.
Problem:
The Xft/DPI setting in ~/.xsettingsd needs to be created or updated. Appending a new value to the file results in an error when there is already a value. Clobbering the whole file would result in other settings being lost.
Possible Solutions:
Read ~/.xsettingsd if it's present, update or create Xft/DPI, write the file.
Use a text processor like sed or awk to update ~/.xsettingsd
https://github.com/derat/xsettingsd is a lightweight replacement for gnome-settings-daemon.
I use it together with i3wm.
It would be a nice if xlayoutdisplay would update
Xft/DPI
setting. see https://github.com/derat/xsettingsd/wiki/SettingsSettings-file is possibly always located at
$HOME/.xsettingsd
.killall -HUP xsettingsd
to reload the xsettingsd config.The text was updated successfully, but these errors were encountered: