reserved

DEPRECATED - no longer needed as it now autofixes on first boot

Fix for the Screen Density - Copy and Pasted from the Ubuntu Wiki.



Instructions (Run from shell with transfomer connected and on.)

adb shell

ubuntu_chroot shell

vi /usr/bin/ubuntu-session



Find and edit the values for the following entries (there are two entries for each:

GRID_UNIT_PX=10 (as suggested - read below)

QTWEBKIT_DPR=1.2 (looks best to me by trial and error)







SCREEN PIXEL RATIO



We have 2 important variables that define the pixel ratio behaviour of the system and the applications, ie. how they visually scale. Look at /usr/bin/ubuntu-session for GRID_UNIT_PX and QTWEBKIT_DPR. Add another device specific settings there based on your device, using the method below to calculate the desired DPR.



The number of pixels per grid unit (GRID_UNIT_PX) is specific to each device. Its goal is to make the user interface of the system and the applications of the same perceived size regardless of the device they are displayed on. It is primarily dependent on the pixel density of the device’s screen and the distance to the screen the user is at. That second value cannot be automatically detected and is based on heuristics. We assume that tablets and laptops are the same distance and that they are held at 1.235 times the distance phones tend to be held at.



A reference device has been chosen from which we derive the pixels per grid unit for all other devices. The reference device is a laptop with a 120 ppi screen and the pixels per grid unit is set to 8 px/gu.



Asus Transformer Tablet - 1280x800 - 149 ppi - 10 px/gu



There is no way for the system to dynamically identify the correct pixel ratio for the device, which as a side effect things might be bigger/smaller than expected. For each device you will have to visually verify the quality of the result and adjust the number if necessary. If unsure, send screenshots and screen specifications of the device to the Canonical design team.