Phantom Posted June 21, 2005 Report Share Posted June 21, 2005 [root@localhost phantom]# xdpyinfo | grep resolution resolution: 75x75 dots per inch How can I change this to 96x96 dpi ? I followed a guide here to activate the 100dpi fonts, so that's ok, but I would like the overall screen resolution to be 96dpi. I got it working through changing the /usr/X11R6/bin/startx file, but this seems only to work if I start "Startx" as root, during normal bootup (with auto logon as user) I still have 75x75. Quote Link to comment Share on other sites More sharing options...
daniewicz Posted June 21, 2005 Report Share Posted June 21, 2005 The screen size must be set correctly to get the correct DPI. Insert the DisplaySize line in /etc/X11/xorg.conf Section "Monitor" Identifier "monitor1" HorizSync 30.0-115.0 VertRefresh 50.0-160.0 DisplaySize 401 302 Option "DPMS" EndSection Now run xdpyinfo. Does it report the correct resolution? Quote Link to comment Share on other sites More sharing options...
Phantom Posted June 21, 2005 Author Report Share Posted June 21, 2005 DisplaySize 401 302 is that for my screen ? or how can I find the correct settings ? Quote Link to comment Share on other sites More sharing options...
daniewicz Posted June 21, 2005 Report Share Posted June 21, 2005 Those are the physical dimensions of your screen in mm Quote Link to comment Share on other sites More sharing options...
Phantom Posted June 21, 2005 Author Report Share Posted June 21, 2005 Those are the physical dimensions of your screen in mm <{POST_SNAPBACK}> [root@ferrari phantom]# xdpyinfo | grep resolution resolution: 100x100 dots per inch [root@ferrari phantom]# very much sir Grub gave me also the option go high-def for the boot screens, got those in 1400x1050, oh boy, things are getting better and better. Now of the optimise my fonts and firefox :P Thanks again. Quote Link to comment Share on other sites More sharing options...
ianw1974 Posted June 21, 2005 Report Share Posted June 21, 2005 I'm just trying to do the same on my machine as well. Do I just measure it horizontally/vertically to get the mm? It's not done off the diagonal is it? Quote Link to comment Share on other sites More sharing options...
daniewicz Posted June 21, 2005 Report Share Posted June 21, 2005 Yes, you need horizontal and vertical screen measurements. No diagonal measurements. Quote Link to comment Share on other sites More sharing options...
Phantom Posted June 21, 2005 Author Report Share Posted June 21, 2005 Stupid question, but how do you know what kind of sreen I have ? :s Quote Link to comment Share on other sites More sharing options...
ianw1974 Posted June 21, 2005 Report Share Posted June 21, 2005 OK, my laptop screen measurements seem to be: Width = 285mm Height = 215mm Sound about right?!? Quote Link to comment Share on other sites More sharing options...
ianw1974 Posted June 21, 2005 Report Share Posted June 21, 2005 OK, i went with those measurements, and it reports: [ian@ianlinux ian]$ xdpyinfo | grep resolution resolution: 91x90 dots per inch [ian@ianlinux ian]$ I did measure with a ruler though, so might have not been too accurate? Shall I just increase the values until it is reported correctly? Quote Link to comment Share on other sites More sharing options...
Phantom Posted June 21, 2005 Author Report Share Posted June 21, 2005 (edited) I used a calculation found on the net: screen size X 25.4 / 100 that gives for my 1400x1050, screen = 1400 x 25.4 = 35560 / 100 = 355 (no number after , ) 1050 x 25.4 = 26670 / 100 = 266 So my screen res is 355 266, and that gave me 100dpi Edited June 21, 2005 by Phantom Quote Link to comment Share on other sites More sharing options...
ianw1974 Posted June 21, 2005 Report Share Posted June 21, 2005 Brilliant, thanks for that :P Quote Link to comment Share on other sites More sharing options...
daniewicz Posted June 21, 2005 Report Share Posted June 21, 2005 Sorry ianw1974, I got distracted and I haven't been paying attention to this thread. So your DPI is set correctly now? Quote Link to comment Share on other sites More sharing options...
ianw1974 Posted June 21, 2005 Report Share Posted June 21, 2005 Hi daniewicz, yeah all cool now. I used the calculator that phantom posted to work it out (I was using a ruler to measure it, so it wasn't quite right). With the calculator my settings come through as width=260, height=195. Many thanks for your help, had to resize all the fonts from 10 to 8 though, as under 75dpi I needed to make them bigger to see them!! :P Quote Link to comment Share on other sites More sharing options...
daniewicz Posted June 21, 2005 Report Share Posted June 21, 2005 :D Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.