<html><head><meta http-equiv="content-type" content="text/html; charset=UTF-8"><style>body { line-height: 1.5; }blockquote { margin-top: 0px; margin-bottom: 0px; margin-left: 0.5em; }body { font-size: 11pt; font-family: 微软雅黑; color: rgb(0, 0, 0); line-height: 1.5; }</style></head><body>
<div><span></span>Hi,</div><div><span style="background-color: rgba(0, 0, 0, 0); font-size: 11pt; line-height: 1.5;"> </span>Thanks you all,I understand now</div>
<div><br></div><hr style="width: 210px; height: 1px;" color="#b5c4df" size="1" align="left">
<div><span><div style="FONT-SIZE: 10pt; FONT-FAMILY: verdana; MARGIN: 10px">
<div>ma xinjun</div></div></span></div>
<blockquote style="margin-top: 0px; margin-bottom: 0px; margin-left: 0.5em;"><div> </div><div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm"><div style="PADDING-RIGHT: 8px; PADDING-LEFT: 8px; FONT-SIZE: 12px;FONT-FAMILY:tahoma;COLOR:#000000; BACKGROUND: #efefef; PADDING-BOTTOM: 8px; PADDING-TOP: 8px"><div><b>From:</b> <a href="mailto:reto.zingg@jolla.com">Reto Zingg</a></div><div><b>Date:</b> 2015-04-14 20:37</div><div><b>To:</b> <a href="mailto:devel@lists.sailfishos.org">devel</a></div><div><b>Subject:</b> Re: [SailfishDevel] How to change Virtual box's screen orientation</div></div></div><div><div>Hi,</div>
<div> </div>
<div>On 14.04.2015 14:48, Chris Walker wrote:</div>
<div>> On Tue, 14 Apr 2015 19:08:42 +0800</div>
<div>> itviewer <itviewer@jolladev.net> wrote:</div>
<div>></div>
<div>>> Hi,</div>
<div>>> I have tried build nemo for VirtualBox,and now it can start into</div>
<div>>> glacier ui. In the kickstart file(.ks),the bootloader option is :</div>
<div>>> bootloader --timeout=20 --append="vga=0x343</div>
<div>>> vt.global_cursor_default=0" --location=mbr so,the screen mode is</div>
<div>>> 800*600*32.</div>
<div>>></div>
<div>>> I tried to set vga=ask,then boot it,but all options for select</div>
<div>>> do not include 600*800(width*height mode?) I don't familiar with</div>
<div>>> Virtual box and Linux kernel,the question is how to change the</div>
<div>>> screen orientation,rotate 90 degrees to 600*800? Thanks every friend.</div>
<div>></div>
<div>> Under ~/<userid>/SailfishOS/emulator/SailfishOS Emulator/ there is an</div>
<div>> XML file SailfishOS Emulator.vbox.</div>
<div>></div>
<div>> The resolution for the Emulator is shown there as :-</div>
<div>> <ExtraDataItem name="CustomVideoMode1" value="540x960x32"/></div>
<div>></div>
<div> </div>
<div>You can find information on how to change that here:</div>
<div> </div>
<div>http://www.virtualbox.org/manual/ch09.html#idp99599360</div>
<div> </div>
<div>so eg</div>
<div> </div>
<div>if you add to your VM:</div>
<div>VBoxManage setextradata "VM-NAME" "CustomVideoMode2" "600x800x32"</div>
<div> </div>
<div>you have to set</div>
<div> </div>
<div>vga=865</div>
<div> </div>
<div>in the kernel command line.</div>
<div> </div>
<div>br</div>
<div>Reto</div>
<div> </div>
<div>> But.... there is a comment at the top of the file which says :-</div>
<div>> ** DO NOT EDIT THIS FILE.</div>
<div>> ** If you make changes to this file while any VirtualBox related</div>
<div>> application ** is running, your changes will be overwritten later,</div>
<div>> without taking effect. ** Use VBoxManage or the VirtualBox Manager GUI</div>
<div>> to make changes.</div>
<div>></div>
<div>> So have you tried VBoxManage to check/change the resolution?</div>
<div>> _______________________________________________</div>
<div>> SailfishOS.org Devel mailing list</div>
<div>> To unsubscribe, please send a mail to devel-unsubscribe@lists.sailfishos.org</div>
<div>></div>
<div> </div>
<div>_______________________________________________</div>
<div>SailfishOS.org Devel mailing list</div>
<div>To unsubscribe, please send a mail to devel-unsubscribe@lists.sailfishos.org</div>
</div></blockquote>
</body></html>