Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Forum Archive > Main Support Categories > Desktop Environments
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

Hello, Unregistered You are browsing a READ only archive of the main support categories pre 4/21/2008. You will not be able to post or reply any threads in this section.
Ubuntu 9.10 is out!!!

When downloading Ubuntu 9.10 please consider using bittorrent to get your copy of Ubuntu.

The Ubuntu Developers Summit for Lucid Lynx will be held the week of 16-Nov-2009 till 20-Nov-2009 in Dallas, TX USA. Visit the the Ubuntu wiki for more information about UDS and how to participate remotely.

Desktop Environments
Support for your Ubuntu desktop. Including Gnome, KDE and XFCE.

 
Thread Tools Display Modes
Old January 12th, 2006   #1
Rumpty
A Carafe of Ubuntu
 
Join Date: Sep 2005
Location: Auckland
Beans: 108
KDE font resolution

Running a clean install of Kubuntu. Monitor resolution 1024x768. In the quest for nicer looking fonts, I have been trying to change the system resolution to 96dpi, without success. Had no trouble doing it in Ubuntu (Gnome) which is on another partition, but in Kubuntu, no luck.

Tried the DisplaySize 270 203 entry in xorg.conf, which worked in Ubuntu, but it has no effect in KDE on my machine. Then I tried putting -96 dpi into the ServerArgsLocal line in /etc/kde3/kdm/kdmrc. This changes things, but the result is strange. With the entry -96 dpi, xdpyinfo reports a resolution of 77x72 dpi. If the -96 dpi entry is changed to (for instance) -124 dpi, xdpyinfo reports a resolution of 99x93 dpi! (After rebooting)

Can anyone tell me what is going on, and why I don't get the expected resolution please? Should I expect xdpyinfo to report 96x96 with the -96 dpi entry in kdmrc, or have I got things wrong?
Rumpty is offline   Reply With Quote
Old January 13th, 2006   #2
skript
First Cup of Ubuntu
 
Join Date: Jan 2006
Beans: 1
Re: KDE font resolution

Yes, you should expect xdpyinfo to display 96x96 dpi after adding the -dpi 96 parameter to kdmrc... At least that's how I got it to work, but I have no idea why it isn't working in your setup... good luck anyway !
skript is offline   Reply With Quote
Old January 13th, 2006   #3
obibok
Just Give Me the Beans!
 
obibok's Avatar
 
Join Date: Nov 2005
Location: linuxtuneup.blogspot.com
Beans: 48
Kubuntu Breezy 5.10
Re: KDE font resolution

Double check that you put DisplaySize 271 203 in Section "Monitor". Instead of 270, try 271 or more (276, 280,... experiment). Same for the other value.
obibok is offline   Reply With Quote
Old January 13th, 2006   #4
Rumpty
A Carafe of Ubuntu
 
Join Date: Sep 2005
Location: Auckland
Beans: 108
Re: KDE font resolution

Thanks for the tip. I'll experiment more with the numbers.
Rumpty is offline   Reply With Quote
Old January 14th, 2006   #5
mo_x
Way Too Much Ubuntu
 
Join Date: Jul 2005
Location: The Netherlands
Beans: 259
Kubuntu 6.06
Re: KDE font resolution

Maybe the dpi is calculated for the wrong screen resolution.
Can you post /etc/X11/xorg.conf and /var/log/Xorg.0.log (as attachments).
mo_x is offline   Reply With Quote
Old January 14th, 2006   #6
pelle.k
100% Pure Ubuntu
 
pelle.k's Avatar
 
Join Date: Nov 2005
Location: Scandinavia
Beans: 900
Ubuntu 9.04 Jaunty Jackalope
Re: KDE font resolution

Sorry for hijacking this thread, but the issue i'm having is <kindof> the same.
Everytime i make a clean install, using the nv driver gives me the correct font size. And also, everytime i install the "nvidia" driver all fonts get rather big. This bugs the *hell* out of me really, and i havent figured out how to get my old state back. why, is this happening?
I dont think DisplaySize was set before, and it isn't now so what made the difference...
As always, any suggestions would be greatly appriciated.
__________________
Quote:
- "though It seems that I know that I know, what I would like to see Is the I that sees me, when I know that I know that I know" / Alan Watts
pelle.k is offline   Reply With Quote
Old January 14th, 2006   #7
obibok
Just Give Me the Beans!
 
obibok's Avatar
 
Join Date: Nov 2005
Location: linuxtuneup.blogspot.com
Beans: 48
Kubuntu Breezy 5.10
Re: KDE font resolution

Quote:
Originally Posted by pelle.k
Sorry for hijacking this thread, but the issue i'm having is <kindof> the same.
Everytime i make a clean install, using the nv driver gives me the correct font size. And also, everytime i install the "nvidia" driver all fonts get rather big. This bugs the *hell* out of me really, and i havent figured out how to get my old state back. why, is this happening?
I dont think DisplaySize was set before, and it isn't now so what made the difference...
As always, any suggestions would be greatly appriciated.
Yep, the nv driver does that indeed. I solved the oversized font issue by setting DisplaySize to get 96dpi.
__________________
real men don't click
:: Linux tune-up ::
obibok is offline   Reply With Quote
Old January 15th, 2006   #8
codejunkie
Dark Roasted Ubuntu
 
codejunkie's Avatar
 
Join Date: Apr 2005
Beans: 1,084
Ubuntu 7.04 Feisty Fawn
Re: KDE font resolution

Quote:
Originally Posted by pelle.k
Sorry for hijacking this thread, but the issue i'm having is <kindof> the same.
Everytime i make a clean install, using the nv driver gives me the correct font size. And also, everytime i install the "nvidia" driver all fonts get rather big. This bugs the *hell* out of me really, and i havent figured out how to get my old state back. why, is this happening?
I dont think DisplaySize was set before, and it isn't now so what made the difference...
As always, any suggestions would be greatly appriciated.
i was having the same problem with my nvidia card using the latest nvidia driver on debian stable and heres how i fixed it, the same steps should work just fine with ubuntu also.
edit your /etc/X11/xorg.conf file and scroll down to the "Device" section and add this after the BusID
Code:
	Option		"UseEdidDpi" 		"FALSE"
it should look something like this
Code:
Section "Device"
	Identifier	"NVIDIA Corporation NV18 [GeForce4 MX 4000 AGP 8x]"
	Driver		"nvidia"
	BusID		"PCI:1:0:0"
	Option		"UseEdidDpi" 		"FALSE"
	Option		"NoLogo"
	Option 		"RenderAccel" 		"true"	
EndSection
then follow the steps here http://www.ubuntuforums.org/showthread.php?t=20976
to find the display size option for your resolution
i use 1024x768@85hz so mine would be
Code:
	DisplaySize	270	203
and add that to the "Monitor" section mine looks like this
Code:
Section "Monitor"
	Identifier	"COMPAQ FS7600CPQ"
	HorizSync	30-70
	VertRefresh	50-160
	Option		"DPMS"
	DisplaySize	270	203
EndSection
save the file and restart the xserver now when you run
xdpyinfo | grep resolution
it should display
resolution: 96x96 dots per inch
hope this helps.
codejunkie is offline   Reply With Quote
Old January 15th, 2006   #9
pelle.k
100% Pure Ubuntu
 
pelle.k's Avatar
 
Join Date: Nov 2005
Location: Scandinavia
Beans: 900
Ubuntu 9.04 Jaunty Jackalope
Re: KDE font resolution

I acctually followed this guide
http://www.ubuntuforums.org/showthre...e+fonts+nvidia
yesterday, wich is essentially what you recommended, but it didn't work. But with your UseEdidDpi option it did

Quote:
Option "UseEdidDpi" "FALSE"
Thanks man, you truly are my hero
__________________
Quote:
- "though It seems that I know that I know, what I would like to see Is the I that sees me, when I know that I know that I know" / Alan Watts
pelle.k is offline   Reply With Quote
Old January 15th, 2006   #10
obibok
Just Give Me the Beans!
 
obibok's Avatar
 
Join Date: Nov 2005
Location: linuxtuneup.blogspot.com
Beans: 48
Kubuntu Breezy 5.10
Re: KDE font resolution

Instead of calculating DisplaySize, apparently you can simply set DPI in a clear way:

Code:
Option   "UseEdidDpi"   "FALSE"
Option   "DPI"   "96 x 96"
I haven't tested this but if you want to give it a shot and post your comments, others could learn something too
__________________
real men don't click
:: Linux tune-up ::
obibok is offline   Reply With Quote

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 10:27 AM.


vBulletin ©2000 - 2009, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. bilberry