On 2013/09/27 23:19, wolf...@gmail.com wrote:
It's possible, but difficult. This is issue 272
<https://github.com/mozilla/r2d2b2g/issues/272>.
Thanks Myk,

Until I can get the other questions answered - can you point me to the "how to" 
on running the simulator at different resolutions?  I've seen people mention it's 
possible if run from the command-line, but I can't find the actual details to do so.
The first step is to find the location of your Firefox profile <https://support.mozilla.org/en-US/kb/profiles-where-firefox-stores-user-data#w_how-do-i-find-my-profile>. Then, assuming you're using a Nightly or Aurora build of Firefox with the latest FxOS 1.2 Simulator <https://ftp.mozilla.org/pub/mozilla.org/labs/fxos-simulator/1.2/>, you can run the Simulator from the command line with something like the following command:

//path/to/Firefox/profile//extensions/fxos_1_2_simula...@mozilla.org/resources/fxos_1_2_simulator/data/mac64/B2G.app/Contents/MacOS/b2g-bin -dbgport 6000 -profile //path/to/Firefox/profile//extensions/fxos_1_2_simula...@mozilla.org/profile --screen=/<width>/x/<height>[@<dpi>]/

For example:

~/Library/Application\ Support/Firefox/Profiles/en4tohev.Default\ User/extensions/fxos_1_2_simula...@mozilla.org/resources/fxos_1_2_simulator/data/mac64/B2G.app/Contents/MacOS/b2g-bin -dbgport 6000 -profile ~/Library/Application\ Support/Firefox/Profiles/en4tohev.Default\ User/extensions/fxos_1_2_simula...@mozilla.org/profile --screen=640x960@160

The path within the Firefox profile to the "b2g-bin" binary will be different on Windows/Linux, but it should be easy to figure out via command-line autocomplete.

Note that setting the height of the screen to >480 might not work at the moment. At least it didn't in my testing.

cc: @ochameau, who may know more about that.

-myk

_______________________________________________
dev-webapps mailing list
dev-webapps@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-webapps

Reply via email to