Xfce Forum

Sub domains
 

You are not logged in.

#1 2012-05-21 15:18:33

bub
Member
Registered: 2012-05-21
Posts: 5

Two X Sessions - Fonts Different - How to Adjust?

I have two displays each running an X session.

I adjusted the Window Manager and Appearance Font to my liking on my primary display.  How do I adjust the Font settings on my second display?

Thanks for any help!

XFCE 4.8.3
Fedora 16

Offline

#2 2012-05-21 16:29:44

bub
Member
Registered: 2012-05-21
Posts: 5

Re: Two X Sessions - Fonts Different - How to Adjust?

I noticed that the second display was defaulting to a DPI of 96.  I changed this to match the primary display with a default DPI of 143.  It looks much better.  I guess this is an X, video driver, or display issue.  Case closed.

Offline

#3 2012-05-22 15:59:20

bub
Member
Registered: 2012-05-21
Posts: 5

Re: Two X Sessions - Fonts Different - How to Adjust?

I can now see that the display information is being correctly read by the video driver and handed to X.

xdpyinfo | grep -B2 resolution
screen #0:
  dimensions:    1920x1080 pixels (341x191 millimeters)
  resolution:    143x144 dots per inch
--
screen #1:
  dimensions:    1920x1080 pixels (483x272 millimeters)
  resolution:    101x101 dots per inch

The question is:  How do I get the XFCE Desktop to display at the correct DPI?  If I set the DPI via the Appearance -> Fonts window, then it sets the same DPI for each desktop.  I want to either have XFCE pick up the correct DPI from X, or to set in manually in the xfce config files.  How do I do this?

Something like this would be nice:

xfconf-query -c xfce4-desktop -p /screen0/monitor0/DPI -s 143
xfconf-query -c xfce4-desktop -p /screen1/monitor0/DPI -s 101

- or - 

xfconf-query -c xsettings -p /Xft/Session0/DPI -s 143
xfconf-query -c xsettings -p /Xft/Session1/DPI -s 101

Last edited by bub (2012-05-22 17:32:19)

Offline

Board footer

Powered by FluxBB