Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Dual Monitors and Font Sizes
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
daniel4230877
n00b
n00b


Joined: 25 Jul 2013
Posts: 29

PostPosted: Wed Jan 22, 2014 5:48 am    Post subject: Dual Monitors and Font Sizes Reply with quote

On my setup, I have my Thinkpad and my television which I am using as a monitor. The resolution of the built in laptop screen is 1600x900, and the television's resolution is 1920x1080. I'm currently using the nVidia proprietary video driver. When I start the x server with both monitors connected, the fonts in my application menus are too small. I have to manually change them to a larger font size. Then when I switch back to using just the laptop LCD, the fonts are large, because I changed the size before when the HDTV was connected. Is there a way I can change it so the fonts will automatically adjust? I think it has something to do with the DPI of the larger monitor, but I'm not sure.
Back to top
View user's profile Send private message
Ralphred
Tux's lil' helper
Tux's lil' helper


Joined: 31 Dec 2013
Posts: 89

PostPosted: Wed Jan 22, 2014 10:58 am    Post subject: Reply with quote

I use display size in the monitor definition of xorg.conf. Below are examples for a 42 inch tv and a standard 19inch monitor.
Code:
Section "Monitor"
        Identifier   "Monitor0"
        VendorName   "Monitor Vendor"
        ModelName    "Monitor Model"
        DisplaySize       820   255
        HorizSync    31.5 - 80.0
        VertRefresh  35.0 - 75.0
        Modeline "1440x900" 106.47 1440 1520 1672 1904 900 901 904 932 -HSync +Vsync
        #Modeline "1280x1024" 102.24 1280 1296 1552 1736 1024 1024 1033 1070
        Modeline "1024x768" 68.33 1024 1040 1216 1400 768 768 775 802
        Modeline "800x600" 41.81 800 816 928 1072 600 600 606 626
EndSection

Section "Monitor"
        Identifier   "Monitor1"
        VendorName   "Monitor Vendor"
        ModelName    "TV"
        DisplaySize       930   520
        HorizSync    1-200
        VertRefresh  1-200
        # 1920x1080 @ 50 Hz (EDID) HSync: 56.25 kHz
        #ModeLine "1920x1080a" 148.50 1920 2448 2492 2640 1080 1084 1089 1125 +HSync +VSync
        # 1920x1080 @ 60 Hz (EDID) HSync: 67.4318 kHz
        ModeLine "1920x1080" 148.35 1920 2008 2052 2200 1080 1084 1089 1125 +HSync +VSync
        # 1920x1080 @ 60 Hz (EDID) HSync: 67.5 kHz
        #ModeLine "1920x1080c" 148.50 1920 2008 2052 2200 1080 1084 1088 1125 -HSync -VSync

EndSection
Back to top
View user's profile Send private message
dark-wulf
n00b
n00b


Joined: 02 Feb 2006
Posts: 38

PostPosted: Thu Jan 23, 2014 2:18 pm    Post subject: Reply with quote

I got two screens on my PC and the TV has something like font size 500 if i don't set DPI
try adding something like this to your xorg.conf in your TV section
Code:
Option         "DPI" "92 x 91"

_________________
Gentoo rulez!!!
Gentoo for every one!!!
Gentoo for president!!!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum