Last updated on February 24, 2016

Portrait Apps on the Edge 340

This article provides instructions to configure your Edge 340 media player for portrait applications.

Important

In order to achieve a full orientation of the app and the device’s display orientation, you need to change the orientation of the device via the Web GUI and run the orientation switching script via SSH.


Setting the Orientation via the Web GUI

Please follow the instructions below to set the orientation via the Web GUI:

  1. Login to the Web GUI for the Edge 340 by typing in the IP address of the device in the browser.


  2. Select Resolution on the System tab.


  3. Click the Rotation drop-down menu and select the desired rotation.


  4. Click Apply.


  5. Click OK on the confirmation message. The device will then reboot and apply the setting change.


Running the Orientation Switching script via SSH

Please follow the instructions below to set the orientation via SSH:

  1. SSH into the device.

    ssh root@(device IP address)
    
  2. Navigate to /apps/nexus2.

    # cd /apps/nexus2/
    
  3. Run ./switchorientation.sh [portrait/landscape] [0/90/180/270] and the device will reboot and switch the orientation.

    ./switchorientation.sh portrait 90
    

Note

Use 90 to rotate app to the right or 270 to rotate app to the left and be sure to match the rotation settings on the device Web GUI.