Install Ubuntu touch simulator on Ubuntu

Source: Internet
Author: User
Tags ubuntu touch
Canonical has released a UbuntuTouch simulator running Unity8 and Mir. Although there are some bugs, such as 64-bit system crash, we believe these will be fixed one by one. This article will teach you how to execute Ubuntu, install the UbuntuTouch simulator on 13.10 and 12.04. Because the installation instructions of the current UbuntuTouch simulator have some changes compared with the original ones, please follow the instructions below to create

Canonical has released a Ubuntu Touch simulator running Unity8 and Mir. Although there are some bugs, such as 64-bit system crash, but we believe these will be fixed, this article will teach you how, install the Ubuntu Touch simulator on 13.10 and 12.04.

As the installation instructions of the Ubuntu Touch simulator have some changes compared with those of the original one, please follow the instructions below to create a simulator instance.

For Ubuntu 14.04 users, run the following command on the terminal:

Sudo apt-get install ubuntu-emulator

If you are using Ubuntu 13.10 or 12.04, run the following command to install it:

Sudo add-apt-repository ppa: phablet-team/tools
Sudo apt-get update
Sudo apt-get install ubuntu-emulator

After installation, you can create and run instances.
First, we need to create an instance named 'ubuntu touch' and use the following command to create it:

Sudo ubuntu-emulator create UbuntuTouch

In Ubuntu 12.04, you may see the following error message:

Error while converting ~ /. Local/share/ubuntu-emulator/UbuntuTouch/system. img: Unknown option 'compat'

The specific reason is unclear, but it does not affect the normal operation of the Ubuntu Touch simulator, so you can ignore it.
Then you can run this instance:

Ubuntu-emulator run UbuntuTouch

It takes a long time to start the process during the first running, so you can wait patiently. After the startup is complete, a shell will be started, asking you to enter the user name and password:

If you want to interact with the simulator through an interactive ADB session, you can use phablet as the user name and password for login. This is not required if you want to use the GUI of the Ubuntu Touch simulator.

It may take several minutes to load the simulator program.

Modify the Ubuntu Touch simulator size

In the default setting, the UI of the Ubuntu Touch simulator may be too large. You need to set its size. To set it to half of the default size, run the following command:

Ubuntu-emulator run -- scale 0.5 UbuntuTouch

Delete Ubuntu Touch Simulator

To delete the Ubuntu Touch simulator, run the following command:

Sudo ubuntu-emulator destroy UbuntuTouch

If you do not remember the name of the instance you created, you can use the list command to list all instances:

Ubuntu-emulator list

Create/restore a snapshot

The Ubuntu Touch simulator supports creating snapshots. To create a snapshot, run the following command:

Ubuntu-emulator snapshot -- create = SNAPSHOT1 UbuntuTouch

SNAPSHOT1 is the snapshot name. You can also use another name.

To restore a snapshot, use:

Ubuntu-emulator snapshot -- revert = SNAPSHOT1 UbuntuTouch

You can also use snapshot -- revert-pristine to restore to the original snapshot.

Ubuntu Touch: Click here
Ubuntu Touch: Click here

Reading:

Install Ubuntu Touch 13.10 http://www.linuxidc.com/Linux/2013-10/91672.htm for your Nexus 4 or Glaxy Nexus in Ubuntu

Ubuntu Touch 13.10 experience http://www.linuxidc.com/Linux/2013-10/91671.htm

For more information about Ubuntu, see Ubuntu special page http://www.linuxidc.com/topicnews.aspx? Tid = 2

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.