Profile Selector Help
How to use the Opera Mobile Profile Selector
This application allows you to start multiple instances of the browser in various configurations.
All these settings are stored in the Launcher.ini file that can be edited manually in a normal text editor. You can also reset everything to default by deleting it and letting the program regenerate it automatically.
Here is a tutorial to get you started: Opera Mobile Emulator for desktop article on Dev.Opera.
Profile
You can store all the settings together under a profile. This lets you quickly switch between various target phones or devices and also lets you define your own profiles.
- Add
- If you type in a new name in the dropdown box, it will take all the current settings and store them as a new profile under this name.
- Remove
- Delete the currently selected profile (unless it is the only available profile).
Resolution
Select the resolution you want to use. You can also use Default and type in a custom resolution in the Arguments edit box.
- Add
- Add a new resolution; this will show a dialog to let you enter the name and the dimensions.
- Remove
- Delete the currently selected resolution from the list.
Pixel Density
Select the pixel density (also known as zoom) you want to use. If you leave this as Default Zoom (Auto) it will try to figure out a decent value based on the resolution.
- Add
- Add a new pixel density; this will show a dialog to let you enter the name and pixel density.
- Remove
- Delete the current selected pixel density from the list.
User Interface
Select which browser interaction model you want to use. Available options are Touch, Keypad and Tablet.
User Agent String
Set the user agent option to the specified value. This can be one of the following: Default, Android, MeeGo, Desktop.
Window Scale
Control the scale factor of the device screen in the desktop window. Available options are 200%, 100%, 50%, 25%.
Arguments
Here you can pass any custom arguments to the browser: [OPTIONS] [URL] where the [OPTIONS] are given by any of the following command-line switches.
- -displaysize WIDTHxHEIGHT
-
Example: -displaysize 240x400.
Control the size of the emulated device screen. Default is 480x800.
- -displayzoom PERCENTAGE
-
Example: -displayzoom 200.
Control the scale factor of the device screen in the desktop window.
Default is 100, mutually exclusive to setting -ppi and -monitorppi together.
- -skinresolution
-
Example: -skinresolution 640x480.
Set the skin resolution independently of the display size.
- -fullscreen
-
Run in full screen using the current resolution.
- -notouch
-
Disable touch mode and use keypad mode instead.
- -notouchwithtouchevents
-
As -notouch, but it is still possible to use the mouse. Use for debugging purposes.
- -usemouse
-
Enable mouse mode, which is a setting that activates code for using a "real" mouse, rather than pointer emulation. Note that this disables the pinch zoom emulation.
- -mem MEM
-
Set the amount of heap memory that should be available, in bytes. Suffixes K and M for kilobytes and megabytes are supported. The default is 64M. When providing 0 as the argument, no heap limitation will be used.
- -lang LANG
-
Set the UI language to use, in the format LANG_REGION, or just LANG. Normally this is picked up automatically from the OS, but this argument can be used for overriding.
- -ppi PPI
-
Set the pixel density (PPI or DPI) you want to use. Note that setting this will cause the zoom setting to revert to the default value for that pixel density.
- -monitorppi PPI
-
Example: -monitorppi 120.
The pixel density of the desktop monitor. Using this together with -ppi will zoom the display such that the desktop window will match the physical
size of the device screen. No default, mutually exclusive to -displayzoom.
- -mobileui
-
Start the mobile version of the browser.
- -tabletui
-
Start the tablet version of the browser.
- -k
-
Start the browser in kiosk mode, which is a mode mainly suited for information stands.
- -extra-fonts DIR
-
Load the fonts in DIR in addition to the ones already existing in Opera Mobile Emulator.
- -profile-name NAME
-
Will include NAME of a profile.
- -user-agent-string UASTRING
-
Set the user agent option to the specified value. This can be one of the following: Default, Android, MeeGo, Desktop.
- -delaycorethread DELAY
-
Delay each message in core thread by DELAY ms, to emulate a slow device.
- -delayuithread DELAY
-
Delay each message in UI thread by DELAY ms, to emulate a slow device.
- -hasmenuandback
-
Make UI report that it has hardware menu and back keys.
- -debugproxy host[:port]
-
Specify which debug server to connect to. The host is by default 127.0.0.1:7001.
- -pd DIR
-
Specify a custom profile directory.
- -autotestmode
-
Automatic testing mode - disable the EULA for convenience.
- -url URL
-
Specify a URL to open on startup.
- URL
-
Any unknown argument is treated as a URL to open.
Full browser reset on startup
Reset the browser's profile settings, history, cookies, and more.
Other information:
- F1-F4 map to softkeys 1-4
- F5 and CMD/CTRL+R reload the current page
- Enter maps to the 'Enter' key and the newline character
- Keypad Enter and F8 map to the middle selection key (navigation key)
Features intended for testing/debugging:
- F6 maps to the "show/hide hardware keyboard" event
- F7 tells the application to suspend or resume from suspend
- ALT+R emulates a screen rotation from landscape to portrait or vice versa
- ALT+H emulates hiding/showing the screen
- CMD/CTRL+E opens the URL currently in the clipboard in a new tab
- ALT+N switches connection state between None, Phone (unspecified speed) and Wifi. It is set to unknown by default.
Third parties
The QtSingleApplication component is covered by the following license:
Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
- Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
- Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in
the documentation and/or other materials provided with the
distribution.
- Neither the name of Nokia Corporation and its Subsidiary(-ies) nor
the names of its contributors may be used to endorse or promote
products derived from this software without specific prior written
permission
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.