Daily Dairy

Change DPI in LXDE.

Today, I am going to show you how to change DPI in LXDE.

There is no need to change DPI in normal screens. But the screens with high resolution results in very small font size.

First of all find the right dpi for your resolution here.

Now create a file ~/.Xresources

sudo vim ~/.Xresources

And add the following content in it (Replace the DPI with your own)

! Xft settings-----------
Xft.dpi: 96
Xft.antialias: true
Xft.rgba: rgb
Xft.hinting: true
Xft.hintstyle: hintslight

Restart the LXDE

sudo service lightdm restart

Advertisements

1 thought on “Change DPI in LXDE.”

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s