...
View Git file | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
|
DPI Scaling with .Xresource and Xft.dpi
You may want/need to change your DPI with i3. With my setup(s), I've never had success setting DPI with xrandr --dpi (which is often suggested). Instead, we can set the DPI directly by editing (or creating) ~/.Xresources.
You might need to experiment to find a DPI value that works for you. Create or edit .Xresources your preferred DPI by adding the following (in this example I've set my DPI to 88 dots per inch):
Code Block | ||
---|---|---|
| ||
Xft.dpi: 88 |
Override Chromium / Chrome (DPI) scaling
Recently Chromium appears to be respecting the Xft.dpi
setting (which previously it didn't). My preferred DPI was a bit hard to see now in Chromium. You can override this behaviour by set setting the --force-device-scale-factor
flag.
Create (or edit) the file ~/.config/chromium-flags.conf
and add the following (with your preferred scaling factor):
Info |
---|
If you use Chrome credit (or edit) |
Code Block | ||
---|---|---|
| ||
--force-device-scale-factor=0.96 |
Restart your browser windows and it should now no longer be using the Xft.dpi setting.
Ricing Conky (numix theme)
...