[SailfishDevel] How to change Virtual box's screen orientation

itviewer itviewer at jolladev.net
Tue Apr 14 16:00:33 UTC 2015


Hi,
    Thanks you all,I  understand now



ma xinjun
 
From: Reto Zingg
Date: 2015-04-14 20:37
To: devel
Subject: Re: [SailfishDevel] How to change Virtual box's screen orientation
Hi,
 
On 14.04.2015 14:48, Chris Walker wrote:
> On Tue, 14 Apr 2015 19:08:42 +0800
> itviewer <itviewer at jolladev.net> wrote:
>
>> Hi,
>>      I have tried build nemo for VirtualBox,and now it can start into
>> glacier ui. In the kickstart file(.ks),the bootloader option is :
>>          bootloader --timeout=20 --append="vga=0x343
>> vt.global_cursor_default=0" --location=mbr so,the screen mode is
>> 800*600*32.
>>
>>      I tried to set vga=ask,then boot it,but all options for select
>> do not include 600*800(width*height mode?) I don't familiar with
>> Virtual box and Linux kernel,the question is how to change the
>> screen orientation,rotate 90 degrees to 600*800? Thanks every friend.
>
> Under ~/<userid>/SailfishOS/emulator/SailfishOS Emulator/ there is an
> XML file SailfishOS Emulator.vbox.
>
> The resolution for the Emulator is shown there as :-
> <ExtraDataItem name="CustomVideoMode1" value="540x960x32"/>
>
 
You can find information on how to change that here:
 
http://www.virtualbox.org/manual/ch09.html#idp99599360
 
so eg
 
if you add to your VM:
VBoxManage setextradata "VM-NAME" "CustomVideoMode2" "600x800x32"
 
you have to set
 
vga=865
 
in the kernel command line.
 
br
Reto
 
> But.... there is a comment at the top of the file which says :-
> ** DO NOT EDIT THIS FILE.
> ** If you make changes to this file while any VirtualBox related
> application ** is running, your changes will be overwritten later,
> without taking effect. ** Use VBoxManage or the VirtualBox Manager GUI
> to make changes.
>
> So have you tried VBoxManage to check/change the resolution?
> _______________________________________________
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to devel-unsubscribe at lists.sailfishos.org
>
 
_______________________________________________
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscribe at lists.sailfishos.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.sailfishos.org/pipermail/devel/attachments/20150415/c2eba50b/attachment.html>


More information about the Devel mailing list