View previous topic :: View next topic |
Author |
Message |
Cobo n00b
Joined: 30 Jan 2006 Posts: 42
|
Posted: Wed May 23, 2007 11:44 pm Post subject: Big fonts after update [UNSOLVED] |
|
|
Hi all!
I updated my gentoo a couple of days ago and also installed Beryl. Now, I don't know why, I have bigger fonts than before in every application. I haven't changed any configuration... and it happens on GTK2 apps and nonGTK apps like urxvt.
Where should I start looking? Could Beryl be related? I haven't found anything on its configuration related to fonts but I might have skipped it.
Any idea? Thanks! |
|
Back to top |
|
|
frostschutz Advocate
Joined: 22 Feb 2005 Posts: 2977 Location: Germany
|
Posted: Wed May 23, 2007 11:55 pm Post subject: |
|
|
chances are that you did not set your screen dimensions in your xorg conf, so that value has to be auto detected or assumed, which is unfortunately not at all reliable. Every time a different screen size is detected, your (assumed) dpi will change, and this change will be reflected in all sort of things, the most noticable being the font size.
check what xdpyinfo says about your screen size and dpi, measure and set the correct values manually in your xorg.conf and disable driver side auto detection if necessary. |
|
Back to top |
|
|
Cobo n00b
Joined: 30 Jan 2006 Posts: 42
|
Posted: Fri May 25, 2007 11:45 am Post subject: |
|
|
Hi!
Thank you for the pointing. That seems to be exactly the problem. When I run xdpy:
Code: | default screen number: 0
number of screens: 1
screen #0:
print screen: no
dimensions: 1680x1050 pixels (286x193 millimeters)
resolution: 149x138 dots per inch
depths (7): 24, 1, 4, 8, 15, 16, 32
root window id: 0x70
|
This is a laptop connected to an external display and those values seem to be the laptop's one even once I set Xorg to output just to the external display. I'm getting right resolution on the external screen but it seems it isn't being reflected in some way as xdpy reports.
I've already set the DisplaySize in Xorg to the external monitor's one, but anything has changed...
xorg.conf part:
Code: | Section "Monitor"
Identifier "External Monitor"
Option "DPMS"
DisplaySize 433 271
Modeline "1680x1050" 119.00 1680 1728 1760 1840 1050 1053 1059 1080 -hsync +vsync
EndSection |
Is there anything else that can be done?
Thank you for the support. |
|
Back to top |
|
|
wrdaniel n00b
Joined: 30 Dec 2006 Posts: 40
|
Posted: Fri May 25, 2007 1:47 pm Post subject: |
|
|
if you manually change the display size you also need a
Code: | Option "UseEdidDpi" "false" |
line in your DEVICE section. I use a nvidia card, dont know if its the same for ati, etc. |
|
Back to top |
|
|
Cobo n00b
Joined: 30 Jan 2006 Posts: 42
|
Posted: Fri May 25, 2007 2:01 pm Post subject: |
|
|
wrdaniel wrote: | if you manually change the display size you also need a
Code: | Option "UseEdidDpi" "false" |
line in your DEVICE section. I use a nvidia card, dont know if its the same for ati, etc. | Yeah, after a search on google I found a page on Gentoo Wiki that said so, but... it didn't work either. It must be just for nvidia as the examples in the page were on nvidia too.
For the record. mine is a Intel950 card.
Thanks anyway! Cheers! |
|
Back to top |
|
|
wrdaniel n00b
Joined: 30 Dec 2006 Posts: 40
|
Posted: Fri May 25, 2007 4:16 pm Post subject: |
|
|
i found this on http://wiki.beryl-project.org/wiki/Install_Beryl_on_Ubuntu_Edgy_with_XGL
Code: | GNOME & Intel embedded graphics (tested 3/15/07 on a Dell 700m w/ 915resolution driver for WXGA, works but defaults to metacity manager for now?)
#!/bin/sh
beryl-manager
sleep 4
exec gnome-session
(this other configuration worked for me, on a Fujitsu-Siemens with i810. Please, note that I added beryl-manager to the starting programs in in the session. ianni67)
#! /bin/sh
Xgl -fullscreen :1 -ac -br -accel glx:pbuffer -accel xv:pbuffer -dpi 96 &
sleep 4
export DISPLAY=:1
# Start GNOME
cookie="$(xauth -i nextract - :0 | cut -d ' ' -f 9)"
xauth -i add :1 . "$cookie"
exec gnome-session
|
maybe with this you can force the 96 dpi?! |
|
Back to top |
|
|
Cobo n00b
Joined: 30 Jan 2006 Posts: 42
|
Posted: Fri May 25, 2007 5:19 pm Post subject: |
|
|
Thanks for the interest, but that seems to be only when running on Xgl and I'm actually running on Xorg.
I've written to the Xorg list about the problem. More than forcing a DPI it should be detecting the Display Size well. If I get anything valuable I'll post it here.
Thanks you . Cheers! |
|
Back to top |
|
|
|