Pages

Showing posts with label unity 2d. Show all posts
Showing posts with label unity 2d. Show all posts

How to Install Unity 2D in Ubuntu 11.04 Natty Narwhal and 10.10?

As I've mentioned before, I never had that much of a success running the original Unity desktop interface, mainly because of my ATI GPU (+ Compiz). But as everyone knows Canonical does give you a Qt written 2D Unity desktop interface called Unity-2D (which was previously called Unity-Qt) if your hardware isn't capable of running the default 3D interface for which Canonical does deserve a "thank you" :D.

I'll be honest. I'm a dude who's got nothing that much to lose. No reputation, not that popular (wait!, isn't that the same ;-)) as being pretty much a "no-body" gives me the freedom to say things like, "well even it's been few months, I haven't tested the Unity 2D interface!, until today".What!... :/ parley ;-).

The main reason for this is actually because of the Qt toolkit. I have nothing against (well, at least not that much) nor the believe systems of the Qt "philosophy" which is clearly not that compatible with GNU after considering a bit of history, even though it's released under it, now owned by Nokia.

Because of the past "actions" I guess I'm a bit scared by it. Anyhow, let me come back to the topic. By default the original 3D Unity interface is actually a plug-in that runs on top of the Compiz (an OpenGL composition manager) thus it requires some GPU power + system resources in general which is the reason why my old Laptop cannot keep up with it any more.

Still comes with few effects such as app-launcher transparency, drop shadows, etc thanks to Metacity's advanced compositing effects...
So today I just gave a shot at the other side of the desktop interface called 2D which as the name suggests does not require a lot of GPU (VGA) power because, even though there are some 3D looking graphics, yet, Unity 2D does not use Compiz by default and uses the Metacity Window manager instead.

But you can still enable few of the options manually if you like by using a small app called 2d desktop settings, otherwise you'll miss that transparent applauncher, etc.

Installation...

This is pretty simple actually. Now they have a dedicated PPA for that which is enabled for the 11.04 version. You can install Unity 2D (Qt) in Ubuntu 11.04 Natty Narwhal by using the below command.
sudo apt-get install unity-2d
The installation in Ubuntu 10.10 requires the adding of the PPA since it's not enabled by default. So the 10.10 users, please use the below command instead.
sudo add-apt-repository ppa:unity-2d-team/unity-2d-daily

sudo apt-get update

sudo apt-get install unity-2d

sudo apt-get dist-upgrade
By default the 2D desktop comes the Compiz compositing manager completely disabled. But it still comes with few "advanced" Metacity WM compositing effects enabled such as drop shadows, transparency effects, etc nonetheless.

Notice the "non-transparent" application-launcher after disabling Metacity compositing effects completely...

First impressions...

Well as promised, when comparing with the default Unity 3D, it's a hell lot faster! (after disabling the Metacity compositing effects especially). Although the Unity 3D also comes with very little customizations... which is also the case with the 2D version but I guess we should give Ubuntu developers few more months and wait for the upcoming Ubuntu 11.10 release which "would" give the users a better controllability that it's now.

You can also change few of the (2 or 3 actually) Unity-2D's app-launcher related settings by using the below command in you Terminal.
gconf-editor

Then from the window that you get, from your left go to:"Desktop" -> "unity-2d" - "launcher".

Now when you click on the "launcher", you'll see to your right few options such as changing the hide-modes, super key enable/disable, preserve screen for the launcher all the time, etc.


Anyhow as a final note, if you're struggling to run the 3D default Unity desktop module with your "old" PC but still would like to get a "taste" of "that desktop" without buying a new PC or a Laptop :).... then apart from the fact that it's written using the Qt toolkit... I'm pretty impressed with its performance and stability, so far.

How To Install Qt Written Unity 2D Desktop in Ubuntu 10.10?

Like me, if you're having problems while trying to run Unity shell (the default 3D interface) on you Laptop/PC because of Compiz (Ubuntu has heavily customized it) and your GPU but still would like to run Unity without the "fancy" graphic effects (some like it though) under Ubuntu 10.10 then this post is for you.

Although it's quite easy to run Unity 2D interface in Ubuntu 11.04 Natty Narwhal since they support it officially (might come installed by default in the future releases) but with version below 11.04 of Ubuntu did not support the 2D interface.

But thanks to a cool developer called Roiban & his Cat, Oliver (who also plays a major role :P), now we can easily install Unity 2D in your Ubuntu 10.10 Linux PC/Laptop using a dedicated PPA channel (long live PPA :P).

Remember, unlike the default Unity 3D version, the 2D is written using Qt (there's nothing wrong with it in my point of view) and you won't get any "Compiz" graphic effects either.

2D interface...

Roiban gave his reasons for creating this PPA by saying that...

"I have tried and tested Ubuntu 11.04 during its development cycle and also after the final release and I really liked Unity 2D. It was the first shell that I did not felt the need for major customization. The fact that external monitor support is again broken, middle click emulation is no longer a default ... blocks me from using Ubuntu 11.04... I just want to use my computer now..."

Alright, enough talking, let's get busy :). If you want to install the fast loading Qt written Unity 2D interface in Ubuntu 10.10, then open your Terminal and enter the below command.

sudo add-apt-repository ppa:adiroiban/unity-2d-maverick
sudo apt-get update
sudo apt-get install unity-2d


The above command is for the stable PPA, but if you want daily builds (could be slightly unstable) then use the below command instead.
sudo add-apt-repository ppa:unity-2d-team/unity-2d-daily
sudo apt-get update
sudo apt-get install unity-2d
After the installation completes, make sure to log-out and from the GDM (log-in screen) menu, choose "Unity 2D". That's it, enjoy!.