Install Ubuntu Touch Simulator on Ubuntu

Source: Internet
Author: User
Tags ubuntu touch

Canonical Company has released an Ubuntu touch simulator running Unity8 and Mir . Although there are some bugs, such as a system crash on a 64-bit system, we believe these will be repaired by one by one and this article will teach you how to install Ubuntu Touch Simulator on Ubuntu 14.04, 13.10 and 12.04.

Since the installation instructions for the Ubuntu Touch Simulator now have some changes compared to the original, please follow the instructions below to create a simulator instance.

For users of Ubuntu 14.04, use the following command at the terminal to install:

sudo apt-get install Ubuntu-emulator

For Ubuntu 13.10 or 12.04 users, use the following command to install:

sudo add-apt-repository ppa:phablet-team/tools
sudo apt-get update
sudo apt-get install Ubuntu-emulator

Once installed, you are ready to create and run the instance.
First we need to create an instance, we call it ' Ubuntu Touch ' and use the following command to create it:

sudo ubuntu-emulator create Ubuntutouch

In Ubuntu 12.04 you may see an error message:

Error while converting ~/.local/share/ubuntu-emulator/ubuntutouch/system.img:unknown option ' compat '

The specific reason is not clear, but it does not affect the normal operation of the Ubuntu Touch Simulator, so you can ignore it.
You can then run this instance:

Ubuntu-emulator Run Ubuntutouch

The startup process takes a long time to run for the first time, so you can wait patiently, and when the boot is complete, a shell is launched that asks you to enter your user name and password:

If you want to interact with the simulator through an interactive ADB session, you can log in using phablet as your username and password. This is not required if you want to use the Ubuntu Touch Simulator's graphical interface.

It may take a few minutes after the emulator program to load.

Modify the size of the Ubuntu touch Simulator

In the default settings, the Ubuntu Touch Simulator interface may be too large, you need to set its size, if you want to set the default size of half, you can use the following command:

Ubuntu-emulator Run--scale 0.5 ubuntutouch

Delete Ubuntu Touch Simulator

To remove the Ubuntu Touch Simulator, use this 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 enumerate all instances:

Ubuntu-emulator List

Create/Resume Snapshots

Ubuntu Touch Simulator supports snapshot creation, use this command to create a snapshot:

Ubuntu-emulator Snapshot--create=snapshot1 Ubuntutouch

SNAPSHOT1 is the name of the snapshot, and of course you can use a different name.

to recover a snapshot, use :

Ubuntu-emulator Snapshot--revert=snapshot1 Ubuntutouch

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

more about Ubuntu Touch : please click here
Ubuntu Touch : please click here

Install Ubuntu Touch Simulator on Ubuntu

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.