domenica 7 aprile 2013

[How To] Run Unity Next on Ubuntu 12.10

unity-next-on-the-desktop

Unity Next, the next-generation Qt/QML version of Ubuntu’s Unity interface designed to intelligently adapt to multiple form factors, can now be tried, tested, and hacked-on right from the desktop.

You’ll need to be running Ubuntu 12.10 and know your way around the command line to get it up and running. It’ll also help if you’re a dab hand at being able to deal with compiling errors.
Now, the method below, taken from the Unity developers page, isn’t fool-proof. Indeed, due to a slight regression with the HUD I needed to manually install packages from the Phablet PPA – not something that’s recommended on the desktop! This error should be fixed shortly.
Warnings aside, if you’re brave, aware of the pitfalls, and want to proceed, just follow these instructions…

Step One: Source Grabbin’

First things first: create a folder to house all of the Unity Next code:

 mkdir ~/unity
 
Then install Bzr and pull the Unity Next source code:

 sudo apt-get install bzr

 bzr branch lp:unity/phablet ~/unity/unity-next

 cd ~/unity/unity-next

Step Two: Building Stuff

Next, run the following command:

./build -s
 
This step will add couple of PPAs to your system, build and install some required branches, and install a bundle of necessary dependencies.

 Step Three: Building More Stuff

Now build Unity Next by issuing the following:
./build

Step Four: Running Unity Next

Run the People Lens daemon to enable ‘contacts’ in your

~/unity/unity_build/libexec/unity-people-daemon
 
To run Unity Next in a window on your desktop run:
 
cd ~/unity/unity-next

./run
 
If all of the steps above have completed correctly you should see this:

Notes

To keep your Unity Next build updated run the following two commands every now and then:
 
./build_unity -u
./build_unity
 
To build a-fresh, run:

./build_unity --clean
 
Unity Next is currently designed for touch-input so you’ll need to pretend that your mouse is a finger – o.e click and drag your way around the interface.

To go from ‘phone’ to ‘tablet’ interface just resize the Unity Next window.

Lastly, please remember that this entire schaboodle is under active development. That means you can’t complain if something is missing, broken, or buggy. Seriously.

For further information on running Unity Next on your desktop, as well as building and developing for it, head over to the Unity Developer Pages.

Nessun commento:

Posta un commento