#10453 NORM 10.1.3: DPI is wrong when screen rotated sideways
Zarro Boogs per Child
bugtracker at laptop.org
Thu Dec 16 23:48:15 EST 2010
#10453: DPI is wrong when screen rotated sideways
---------------------------------------+------------------------------------
Reporter: greenfeld | Owner: cjb
Type: defect | Status: new
Priority: normal | Milestone: 10.1.3
Component: x window system | Version: Development build as of this date
Resolution: | Keywords:
Next_action: diagnose | Verified: 0
Deployment_affected: | Blockedby:
Blocking: 9350 |
---------------------------------------+------------------------------------
Comment(by jnettlet):
I just took a look at olpc-rotate and we can do this pretty easily. I
added this line below where the now variable is set.
{{{
output=$(echo $xrandrout | sed -n 's/.* \([a-z]*\) connected .*
*(.*/\1/p')
}}}
and then changed the xrandr command to
{{{
xrandr --output $output --rotate $new && test -e $CMD_FIFO && echo $new
>$CMD_FIFO
}}}
I have tested it on both an XO1 with default as the output name and an
XO1.5 with LCD as the output name.
--
Ticket URL: <http://dev.laptop.org/ticket/10453#comment:11>
One Laptop Per Child <http://laptop.org/>
OLPC bug tracking system
More information about the Bugs
mailing list