provide tool to set dpi for kdm

Bug #25656 reported by Michael Blakeley
10
Affects Status Importance Assigned to Milestone
kde-guidance (Ubuntu)
Won't Fix
Wishlist
Unassigned
kdebase (Ubuntu)
Invalid
Medium
Jonathan Riddell

Bug Description

(RFE)

Xorg sometimes gets the dpi wrong (defaults to 75 on a laptop display that's at
least 96 dpi, for example). While it's possible to set the dpi manually, Kubuntu
should provide a simple control-center module to set the dpi at the kdm level,
using kdmrc:

/etc/kde3/kdm/kdmrc:
ServerArgsLocal=-nolisten tcp -dpi 100

The Kubuntu tool should also display the current X resolution - available via:

xdpyinfo | grep resolution
  resolution: 75x75 dots per inch

Users should be encouraged to use 75 dpi or 100 dpi, whichever is more
appropriate, since fonts for those values need not be scaled.

The Kubuntu tool should also set the gtk configuration to use the same dpi
value, so that gtk applications use the same dpi value as the rest of X. I'm not
sure how this is done, but the gnome-control-center > fonts > details UI seems
to manage that information for gnome.

Revision history for this message
Luka Renko (lure) wrote :

This is even bigger issue as DPI is wrongly detected (15" 1920x1200 display got 145 DPI which have caused that all fonts
are too big to fit in windows - setting it to 120 DPI has solved the issue).
See https://wiki.ubuntu.com/LaptopTestingTeam/HPNW8240

It should also be taken properly during the upgrade of kdm package in order not to overwrite previous seeting.

Revision history for this message
Alwin Garside (yogarine) wrote :

Wouldn't it be more usefull to make the X.org configuration tool get the default DPI's right (perhaps by even asking the size of the monitor during configuration)? Novice users probably don't even know what DPI stands for and what it does... They'll just notice that their fonts strangely large / small.

These kind of things Should Just Work.

Revision history for this message
Luka Renko (lure) wrote :
Revision history for this message
Luka Renko (lure) wrote :

I have to correct my initial note: X.org properly detects DPI (147), oly default fonts were too huge on Kubuntu.

After todays apt-get upgrade, the new font sizes defauls makes display very good looking on mine 147 DPI screen.

The only open issue is that GTK apps now have huge fonts (as default GTK font sizes are oviously still above 10pt). BTW, I test this only with Firefox (only GTK App I use).

Kenny Duffus (kduffus)
Changed in kde-guidance:
assignee: nobody → kubuntu-team
Luka Renko (lure)
Changed in kdebase:
status: Unconfirmed → Rejected
Revision history for this message
Luka Renko (lure) wrote :

KDE 3.5.5 has at least option to force fonts DPI with Appearance -> Fonts module. Not sure how this interacts with KDE Guidance.

Revision history for this message
Bharat Rajagopalan (mendred) wrote :

Hi,

I noticed something when using compiz fusion especially.

When i set the DisplaySize parameter to set the dpi to 96 (as per this guide http://wiki.archlinux.org/index.php/Xorg7#Display_Size.2FDPI) , compiz fusion performance increased dramatically. It felt like i was using a new high end card, the performance was so smooth, and the UI felt more responsive

I think its not compiz fusion, but rather X performance itself which benefits from setting the DPI, (as regular KDE without compiz also seems more responsive), therefore for gutsy it might be a good idea to actually focus on getting it right on installation.

I am using Kubuntu Gutsy with the radeon driver on a 15" laptop screen (1024x768). X had set my dpi by default to 75 after setting dpi manually, UI responsiveness is fantastic!

Thanks and regards,
Bharat

Revision history for this message
mathew (meta23) wrote :

I'd suggest a simple dialog that prompts the user to measure some lines on the screen and indicate which one is closest to an inch in length. The system could then configure X.org correctly.

Attached is a PNG I send people with Windows systems to help them fix their DPI issues.

Revision history for this message
Jonathan Thomas (echidnaman) wrote :

Displayconfig is dead and will not receive any more features.

Changed in kde-guidance:
assignee: kubuntu-bugs → nobody
status: New → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.