Pages

Showing posts with label unity desktop. Show all posts
Showing posts with label unity desktop. Show all posts

About: Few Upcoming Major Features to the Unity Desktop Module

Mark Shuttleworth on his blog posted another interesting article that showed-off few of the major changes that are going to be integrated into the Unity desktop module with the upcoming Ubuntu 11.10 version. Now since it's introduction, Unity got caught up with a lot of "feedback". Although Canonical is certainly good at one thing, which as anyone can see, is planning (ahh! the "benefit" of a controlled "environment", kidding).

For instance, it's no secret that they've been thinking about the Unity desktop for sometime thus they slowly invented some of the major changes (although they seem "little") such as moving the buttons to the left side of the titles for instance which is a necessity within the Unity desktop module.

Although not everyone loved the locked application launcher that sits to your left and I still think that if they moved it to the bottom side of the screen would really help to preserve some of the screen since, especially most of the Laptops and Netbooks come with 16:9 screen ratios. For instance, a 10.1 inch Netbook after opening certain amount of applications would easily fill-up the launcher space thus after minimizing it one would require to "find" the appropriate icon on the application launcher.

Unity 2D in action...
But then again, as Mark said himself, Unity desktop is designed in a way that lets the users to do one thing at a time with less distractions. In that sense, it makes sense (kinda). Another thing that was criticized was the location of the "three musketeers" (also known as Close:Minimize:Maximize buttons :P).

After you maximize a window, the buttons are rendered around the upper left corner, right next to the Ubuntu Logo at the near beginning of the left side of the upper panel. Now some did not like it since not all the time that we use that Ubuntu Logo to manually launch our apps thus that space is wasted (every pixel counts, hey!).

So in some recent daily 11.10 images, some found out (I've never used the 11.10 alpha) that the buttons had finally move into that "space" but I think it was temporary, just for testing purposes, and I think you may not find it in the daily builds of the Alpha images.

Anyhow, as you can see with the below screenshot, Mark points out few interesting features actually. Although I won't be going into the details that much since I use Ubuntu 2D "thanks" to my ATI GPU that gives me a lot of headaches (crashing, etc) due to Compiz I think, but as you can see Unity 3D (including the 2D too) has gone some impressive changes, not just the little buttons dance :).

3 align looking buttons :), "Lenses", "Sources"... what are they?!...
Please read the full post from this page by Mark himself and give him some feedback (including angry ones too :D). Personally, with all the due respect to KDE developers, I'm a bit scared by the Qt integration in Ubuntu + many other philosophical differences that it carries, thus it may not be my primary desktop (who cares what you use Gayan! ... :) ).

Not because I find it difficult to handle (seriously, it's got issues! but...) I gotta admit, I actually like the Unity 2D module, although I ain't a hacker, but in a way, GNU/Linux is a part of my identity as with many of ya folks, thus I ask more from a desktop rather than it's been seen as a user friendly "tool" by the "usual users".

Creating a Cheap "Unity Desktop Replica" Out of Gnome Classic (Yikes!)

I used to think that I'm a bit of a moderately experienced GNU/Linux user rather than an absolute beginner who's starting to learn it from scratch. But after seeing few things, I'm re-considering my identity (shi* ;-)). Okay, Okay, let's forget about the usual boring, bragging... and let me start this right-away.  

Now here's the thing... I kinda like the Unity desktop apart from all those criticism against it . But that's not to say it's perfect nor I love it (I was one of the dudes who heavily criticized it, still do)... But from all the good things about it, perhaps it will never be my primary desktop because of the fundamental, scary philosophical belief that it carries.

But for those of you who love Unity desktop ... the issue as many has pointed out is, it, like Gnome 3 needs a lot of your GPU resources because it uses the 3D, advanced composting manager, the Comipz. The issue at the moment is not so much because of the resource actually... it's due to the unstable Compiz customizations done to it, I think.

Anyhow, you can still use the Unity 2D module but that's written in Qt-toolkit and for some reason I'm always a bit skeptical about Qt (maybe I'm a freak after all, oh you think Gayan? :/).

So after like 4 months of the initial 11.04 Natty release... two days ago I thought, "hmm, I wonder if there's a way to make Gnome classic looks like Unity, by any chance..." I'm pretty sure many already knows how to achieve this and it took my dull bran like 1.5 Hours to figure it out and finally I came up with the below one :/.

Except for the Dash-Search bar, missing :/... but a much better one is achieved at the end of the post...

Below one is how it looks like when a Window is maximized.

The "launcher" is hidden which is revealed when you move your mouse to the left side as with Unity...

How the heck did you do it?

Now remember, I did this without using any third-party software what-so-ever (except for a small Gnome applet). This was build using the Gnome classic desktop that Ubuntu 11.04 gives you.


Things that has to be done

1. As you all know, Unity desktop module displays the application menu using the Unity dash (thanks Apple). So we gotta figure out a way to do that.

2. And also when you maximize an application window, the borders (title bar) is automatically removed and the Buttons are also moved into the Unity dash.

3. Then there's the Unity application launcher that does not change its location and Ubuntu will not let you do that since according to themselves, if they do then the OS would be going against the design goals, so they say.

But personally for the 16:9 wide screens... unlike with the bottom-dock like in Mac OSX, this left app-launcher is a bad move.

These are the most prominent things that make the difference between Gnome classic and Unity desktop concerning the GUI of course. So if you're ready, then let's dress-up the ex-Gnome and make her look like the new Unity girly ;-).

Now I assume that you're already logged into the Gnome classic desktop. 

1. Remove the menu-bar - Just right-click on the top Gnome panel and from the menu choose "Remove from panel".




If you've filled it with app-shortcuts, then you may need to remove them to make some space for the "application menu-bar".

2. Now let's replace that "vacuum" with a Unity desktop "icon" type thingie called the classic menu-bar-icon which is very useful since it lets you easily launch apps (it's basically a simplified version of the menu that we just removed but doesn't take much room since it display itself as an icon).

Again right-click on the top panel and from the menu choose: "Add to Panel". Now scroll down until you see an applet called "Main Menu". Select it and click on the add button. Now you should see a small Unity icon on the top panel, move it to the left-edge of the panel.






3. Adding the Title-bar Buttons to the panel - By default, once we maximize a window Unity displays the title-bar button (maximize, restore, close) on its top panel. Luckily with Gnome, there is a separate applet that does exactly that!.

It's called "Gnome Window Applets". You can install it easily in Ubuntu 11.04 Natty Narwhal using the below commands in your Terminal window.

sudo add-apt-repository ppa:tsbarnes/misc

sudo apt-get update

sudo apt-get install gnome-window-applets


After installing, log-out and log-in again to complete the integration.

After that, as usual, again right-click on the top panel and choose "Add to Panel..." and again scroll down until you see the applet called "Window Buttons" and click on the add button.


Depending on your current theme (It supports all the official Ubuntu themes), you can change between a lot of different button-themes. To access the preference, just maximize a window and you'll see another "three-buttons" on the top panel. Right click on it and choose "preference" and make you selections.

Now also move this buttons-applet next to the above mentioned "menu-bar icon" to the left. To make things a bit neat, you can also add a separator applet if you like. To do that, again open the applet adding window and chose "Separator" then move it between the "Menu-bar icon" and the "Buttons-applet".

Add another separator right next to the buttons applet and after you've done all that, the panel look something like in the below screenshot. Again this is not necessary.. but it looks good.  



4. Removing Title-bars for Maximized Window (This is a bit tricky, not really :P) -

When you maximize a window in Unity desktop, it removes the title-bar from the windows and only displays the buttons. How can we do that?. Simple, for that we'll be using the Gconf-editor (advanced Gnome desktop settings manager).

Press "Alt" + "F2" keys and enter the below command.

gconf-editor


Now from the new window that you get, from your left, navigate to : "Applications" -> "Metacity" -> "General".

To your right side, look for an option called "show_maximized_titlebars" (as in below screenshot) and remove the check mark.



That's it. From now on, whenever you maximize a window, the title-bars will be automatically hidden and should look exactly like below (which is a bit closer to what the Unity does).

Getting a bit closer...

6. Adding the "Unity application menu-bar" -

As said, Unity displays all the selected apps menu in its top panel. How can we to this in Gnome?. Thankfully, Ubuntu does have it implemented universally thus a Gnome classic applet is installed into 11.04 by default. It's called "Indicator Applet App Menu".

To add this to your top panel, again right click on the panel and choose "Add to Panel..." and from the list scroll down until you see "Indicator Applet App Menu" and click on the "add" button.



After that, you should see the default menu for whatever the application that you use (well the ones that supports Ubuntu's new menu-protocol), their menus now should be displaying in the top panel just like in Unity.

This is not 100% perfect, since when not maximized, the button are hidden in Unity (so as here but)... but with this applet, it leaves a "space" as you can see (between menu-icon and the app-menu-bar) if you know a way around this, I'm more than willing to hear it :D. Other than that, everything looks a lot like Unity.



7. The Application launcher - 

Ah yes, the launcher. Well in the first screenshot at the beginning the of the post, i have something a bit similar to that. All I did was took the already existing bottom panel in Gnome and changed the width/height (made it transparent, etc) and added few shorts of my own. But that has few limitations.

For instance, with the application launcher in Unity, we can switch between multiple windows of the same app, it has notifications, etc but with the Gnome classic, you can't do that.

But luckily, you can get almost all those features by simply installing an application dock such as Avant Window Navigator which I also did and then after adding apps, etc it looked like the below one. If you do this, then delete the bottom Gnome panel as well.

Final Desktop with third-party application dock: Note the "Grey three buttons" - As a fix to that ugly space for the window-buttons applet, I used its settings so it'll always display the button which makes it looks good actually :)


Current issues ?

*. Well, when you haven't chosen any apps, the Unity panel does not show any menu in its dash, but this one does display a menu that is drawn from the Nautilus. The reason is simple. By default Nautilus is the one that handles the desktop (both Unity and Gnome classic).

So Ubuntu developers have disabled it somehow (I don't know how to do that). But I do like that menu since it allow me to do things without right-clicking on the desktop (changing the background, create a folder, access computer, etc) on the bright side :D.

It's kinda cute ;-)...

*. The only other thing is that as said the applet-window does take the "space" for its button even when the windows aren't maximized so the "application-menu-bar" and the "Menu-Icon" have a gap but for that, as said, you can make the applet always show the buttons...


Benefits ?

*. Well, when you use the Gnome classic (without no effects), then we don't have Compiz running. So we have a cheap Unity desktop (somewhat) running with less system resources.

*. Both the Gnome left panel and the Avant Window Navigator (or whatever your choice is) do let you changes a lot of settings by default and most importantly you can change their locations!.

So if you have a netbook with 16:9 screen aspect ratio, then you might do really well by moving that app-dock to your bottom. But with Unity this is not possible. But with this "thing" you can do whatever the heck you want it it! + you can even add shorcuts to the top panel which is also prohibited in Unity as well.

Some of the settings (transparency, etc) in AWN type docks are only available if you have enabled compositing in Metacity although it won't be as bad as Compiz, but after enabling compositing effects, remember it require a little more of your GPU nonetheless.

I like the Gnome panel to replace it with other third-party docks although it do lack few options as said before, at least it needs even lower system resources. But the issue with it is,  window switcher applet does not work well after changing the size and transparency, etc. Otherwise, it's just perfect for me. Does anyone know a batter window switching applet for Gnome panels??..

Final desktop with Gnome panel: I removed the window-switcher applet since it doesn't integrate well with the transparency and changed size...

As said, if you have any suggestions and perhaps a way to fix those "current issues", you're more than welcomed here... What do you think ? ...

Few Ubuntu Unity Desktop Themes

By default there are handful of GNU/Linux distributions that come with absolutely gorgeous themes (Linux Mint and Fedora for instance). But I think everyone would agree on the fact that it's the choices of the colors that makes them easy on the eyes and look attractive rather than any other "genius touch"... ahh the art of creative controlling :P. 

It doesn't matter how robust and stable the GNU/Linux distribution because from my own personal experience, not that long ago while I was really new to GNU/Linux and starting to learn it from scratch, the first few impressions are usually created by the colors rather than the durability which had a major "effect" and lasts forever.

After all, most of the time, emotions do play a major role controlling my own "logic" for the good or the worse :/.

In that sense as I've said before, Ubuntu started off with the wrong foot. If you remember the old version of Ubuntu came with an ugly looking theme/colors in general. But with the introduction of the Ambiance theme they're certainly making an effort by slightly changing the colors to darker ones + drifting towards more pleasant looking Orange color, not bad not bad.

The thing is that, in the past you could find thousands of new themes for Ubuntu since it was based on the Gnome classic desktop. But with the introduction of the Unity desktop (both the default 3D and the Qt toolkit written 2D versions), although you can still use those old GTK themes in Unity but those themes won't be able to change the Unity panel and the look-n-feel of the application launcher which literally define the Unity desktop module. So I thought the below 4 or 5 Unity themes might come in handy for ya all :D.

Let me go with the Blue first dudes!...

Almost everyone is fond of the Color Blue. If you do then you'll love the theme called

*. Union Blue.  

This is actually a "refreshed" version of the Elementary theme (even has the popular "e" icon) and looks beauuuuuuuuuutiful, I should be thankful to Wiseguy for pointing out this one. Thanks dude.


The installation is pretty straight forward. Just download the archive from here and use the theme manager and drag-n-drop... that it. Credits goes to NanaBuluku.

*. The Minty Freshness -



Another very beautiful theme. And as the name suggests... it's inspired by the Greeny Linux Mint theme suite. The unity panel is also changed to a version of Grey which is not too bright not too low... just perfect.

First download the archive from here and then please follow the steps as shown in this original developer's page.

*. Union Electric Blue -


This is similar version to the above mentioned Union blue. The main difference is that the panel gets a two Blue borders. Installation is pretty straightforward. Get the archive from here and drag-n-drop it into the theme manager in Unity desktop as usual.

*. Elementary Lion 1.1 -


Another cool Unity theme for Mac OSX geeks :D. The archive can be downloaded from here. It's about 8MB in size. That's because inside of it you'll find a lot other things such as panel backgrounds, classic theme for Gnome desktop, etc.

To install, open the downloaded archive and extract the "unity" version of the them inside to the theme manager as usual.  Read more from this developer's page.

*. gekosMac -


Another pretty cool Mac OSX theme. When combined with the Faenza mac icon theme... they both together will make your Unity desktop look prettier for sure. I've already written a post about how to install it. So read it and install it too if you have a thingies for Mac :/.

Guys, most of these themes are based on the Elementary theme and to integrate well (icons and stuff) you'd better have it installed first. And for applying the theme you'll have to either log-out or restart Nautilus. If you're too lazy to log-out then use the below command instead.
nautilus -q
Final word : I know these theme do look a bit alike (a bit! :/) I'm sorry for that. As said.. finding themes that are designed for Ubuntu 11.04 Unity desktop isn't that easy. If you know better ones (with wide variety of colors, etc), I'm more then willing to hear :D. Enjoy!.

How to Make the Ubuntu Unity Desktop run Faster?


Unlike in the past, these days almost all the GNU/Linux distributions that pack both Gnome (GTK written) and the Qt/KDE require us to have at least 512MB of RAM by default. Although with the introduction of the Gnome 3, distributions like Fedora 16 for instance now requires you to have about 640MB of RAM or else it even refuse to get installed as well.

This "RAM" jump is actually due to the fact of using much more GPU for drawing the GUI by these desktop. Although it's certainly not the only reason since the Kernel and other applications in general get more heavier as well. Anyhow concerning Ubuntu, with the introduction of the Unity desktop module which uses the Compiz compositing manager by default thus it needs more resources than usual.

So in an attempt to make the Unity desktop run faster disabling the Compiz completely is the mots sensible thing but unfortunately we cannot do that since Unity 3D is a plug-in for Compiz.

But there are few things that we can do. For instance...

*. Use the Unity 2D (Qt written) desktop interface instead -

Update: Starting with 11.10 version, now Ubuntu ships the Unity 2D by default, so you don't have to install it manually anymore.

I know it doesn't sound appealing and when considering the fact that the 2D version does not have all the features of the default 3D GUI ... but this is the single most important thing if you're really concerned about reducing system resources.

*. Get rid of unnecessary start-up applications -

By default Ubuntu (including the Gnome Classic desktop) loads few apps during the start-up process of the desktop that are not required to some users.

So click on the icon next to your user name in the Unity panel and from the menu choose: "System Settings" -> "Personal" -> "Startup Applications" as shown in the below screeshots.

1


2


3



This should bring you a new window that lets you enable/disable start-up applications as shown above. But remember, you should not disable all of these apps since some are necessary to let your desktop function properly.

I've written about this in the past concerning the Gnome desktop ... but it still applies to the Unity as well. So go ahead and read that post if you need more information.

But for most of us, things like Bluetooth manager, Evolution alarm notify, Gnome login-sound, personal file sharing (if you don't have any networked environment), Print queue applet (if you don't use a printer at all), Remote desktop, Ubuntu One and Visual assistance are few of the apps that can be disabled safely. But I humbly advice you to read that post.

*. Install Preload -

This is actually an excellent utility that runs in the background as a system service and act very similar to the Microsoft app pre-fetch. What this does is simple. Say that you usually use 10 main apps. But from that 10, there are 3 applications that are the most prominent.

Lets say that the parts of the applications are scattered all over your HDD which makes them loading a time consuming task for the OS. What the "Preload" does is simple, it makes an index of those most used 3 apps thus accessing them in the future is made easy for the GNU/Linux operating system since now it doesn't have to look all over the HDD... it just reads the index and finds their locations faster than ever which result in a faster application loading times!.

This of course is a very simple analogy and I'm pretty sure the actual scenario is much more complicated.

You can install preload in Ubuntu 11.04 Natty Narwhal by using the below command.
sudo apt-get install preload
Not just for Unity desktop actually, this will help to decrease loading times of any app under GNU/Linux in General. You don't have to tweak or anything, after installing it'll run in the background and will take care of everything automatically for you.

But remember "preload" also loads portions of your mostly used apps during the system boot-up process which could result in a slightly slower booting times (what! :/) but this for most of us will be almost unnoticeable + when considering the enhanced app loading times, in my experience this is more than forgivable :D.

*. "Lower" your Compiz Effects -


Compiz... weird by default ;-)...
Although if you have a powerful GPU then having Compiz with a lot of cool effects enabled by default may not be a big deal. But if you care about making Unity as speedy as possible then you may want to do some manual editing and lower some of the Compiz effects which require significant amount of GPU power. As said this alone should speed-up things quite significantly.

*. Create a Swap partition -

I'm pretty sure you've already done this and have a dedicated partition for your Swap space. But I'm a bit of a freak (bit of a ?, really? :P) and I don't like having partition after partition in my HDD because it gives me headaches.

So I don't have separate swap partition. As a result every time I install Ubuntu Linux I tell the setup wizard to install it without a swap partition. Now this is fine as long as you have 3GB or more RAM on your PC/Laptop (ahh to be rich ;-) ).

But I'm pretty sure many of us don't have that amount of RAM thus even if you have like 1GB and like me don't have a separate swap partition and use Ubuntu without a one, thet seriously create one!.

This is a highly recommended procedure and the only reason that I skip this while installing is that we cannot create a virtual swap space using the installation wizard. But after the installation is completed you can easily add a virtual swap space in Ubuntu which is again, highly recommended + it'll help heavily to make your entire operating system more stable as well.

*. Clean your apt-get Cache -

apt-get is one of the most powerful command-line apps out there that lets you do almost anything under the sun when it comes to dealing with application installations, uninstallations, downloads, etc.

Before installing the applications, apt-get cache them in your HDD (a backup of the downloaded packages). Now one certainly don't need this cache (unless you want to re-install the packages without re-downloading them) + if forgotten for a while then the cache folder can get really big (talking about Gigabytes here). So it's always best to clear this cache.

Don't worry, clearing the cache won't remove the installed apps... so no worries dudes :D. To do this open your GNU/Linux Terminal and enter the below command.
sudo apt-get clean

Make sure to do this from time to time.

*. Remove packages that are no-longer necessary -

This is another big headache for the GNU/Linux users. This is caused by "dependencies". As the name suggest, say that you were installing a package called "A". But to install it Ubuntu may say that it has to download 10 other small packages, these are the "dependencies".

So after installing "A" and after playing with it for a while  (not talking about ex-girlfriends here :/) you got bored and decided to remove it.

But what could happen most likely is that although the app "A" will be removed but the other 10 apps (called dependencies) may not all be removed due to various reasons.

But again using our excellent apt-get, we can safely remove, unwanted dependencies using a single command. This will again help you to cleanup your HDD space + app registry entries which makes your operating system a pain in the *$s to use.

So again open your Terminal and enter the below commands.
sudo apt-get autoremove

*. Clean your Gconf registry entries -


Just like MS Windows Registry, GNU/Linux also has its own way of storing app related information which vary depending on the desktop environment. Unity and Gnome classic use a such "app-registry" called "Gconf configuration system".

So the more apps that you install and remove, as the time goes, some of their "portions" may be left inside of this registry entries thus slowing down your desktop or the OS in general.

Luckily we have an excellent tool called Gconf-Cleaner, a GUI that automatically scans this database and remove these app entries. So within seconds it can remove tens of hundred of registry entries in Unity which should help to enhance the speed.

So use that app and do a bit of a software registry/database cleaning in Ubuntu. Although other than not letting me backup my current database before cleaning ... I did not encounter any issues with it... but use it at your own risk.

*. Update your Web Browser - 

This is another critical thing. These days most of us spend our time with a web browser rather than any other application. But in general all these web browser do consume a lot of system resources (RAM especially). There could be many reasons. One is that it has to!.

Say that you've opened like 20 tabs.. oh well then, you should be willing to sacrifice some system resources mate! :D. But a web browser could also be using unnecessary amount of system resource due to a software bug.

So keeping an updated web browser will not only make it a secure one but also should help to fix those memory leaks which helps you to preserve the system resources as well. 

*. Try to avoid using Ubuntu Software Center -

Although we're being warned by Canonical that with the upcoming Ubuntu 11.10 version there won't be the "synaptic" (the GUI front-end for the apt-get command-line tool) installed by default. But you should be able to install it via their repositories in the future nonetheless.

The point is... as I've said before, the reason I said to avoid USC is not because it uses a lot of RAM but most of the time it requires a lot of CPU usage which make the Ubuntu OS in general a bit unstable (for instance, if you have both Firefox and USC opened at the same time, you're asking for trouble).

"Oi!, at least I'm pretty!" ... yeah right :P

This is because USC heavily depends on using a lot of online source to fetch those pretty icons and other details of packages, user reviews, screenshots, etc (so it's more like a web browser actually) thus it needs a lot of CPU usage when comparing with Synaptic.

So I'm not saying you to not to use it (I know you won't :P) but try not to keep it open for a longer periods at least. But if you have a fast processor and RAM, etc... then this may not be a big deal but unnecessary usage of system could easily drain your Laptop's batter life on the darker side as well :).

*. Remove unnecessary applets -

Since the Unity panel is the application menu bar Canonical's decision not to let users add applets like with Gnome classic panels makes sense. But as a workaround the geeks have come up with another type of applets that runs in your notification area.

Unlike with the old panel applets, these applets do consume a bit more memory since to display at the notification area these applets have to be loaded into the memory where the "old fashioned" applets are just shortcut-icons and require a very little of your RAM, in comparison of course. 

So if you have installed third party applets that you no longer use, then uninstall them or removing the currently running ones should help.

*. Try to limit your Workspace Usage -

Workspace are like virtual desktops in GNU/Linux. The more you use them (more than 1 I mean) the more system resource you're gonna be needing. + With Compiz enabled, every time you click on your "workspace icon" in the Unity application launcher, it uses fancy effects which again needs a bit of a your system resource in general.

So try to limit them to a singe workspace if you can. But because of the way Unity desktop is designed ("doing a single task at once", according to Mark Shuttleworth's own words) for dealing with multiple apps you may have to use the workspace switcher a bit often, but as said, this also needs more system resource in general. So try to limit that.

*. Make Thunar the default file management utility -

By default Unity (both 3D and 2D) use Nautilus as the file management utility. Although Nautilus is already highly simplified still if you're looking for a more lighter version (loads fast, etc) then I highly recommend Thunar which is the Xfce desktop's file manager.



First install Thunar and then follow these official Ubuntu steps to replace Nautilus completely. I personally like Thunar a lot because unlike with Nautilus, newer versions of Thunar even displays a drop-list of information (size, created date, type) for files that you move your mouse hover. This is not possible with Gnome Nautilus since they think that implementing such thing means complexity and scare away the user >:(. 

And also with Thunar you can even edit Tags of audio files directly from the properties window which is also not possible with Nautilus!. If you want multimedia file (both audio and video) thumbnail generating in Thunar, then install the Parole multimedia player as well.

These area actually a handful of things that I could think of helping make Ubuntu Unity desktop runs a bit faster but if you have suggestions and "complaints" :P, then please throw some comments.

How to add the Classic Applications Menu in Ubuntu 11.04 Unity Desktop Panel?

The Unity desktop is the all new, original Canonical (well inspired by many others, especially Mac OSX, its true -;)) desktop interface officially available through the Ubuntu 11.04 Release. If your GPU doesn't support advanced 3D OpenGL rendering via Compiz then Ubuntu does give you the ability to run the 2D version of Unity (written in Qt) which closely resembles the original desktop's features.

Anyhow, one of the main changes with the introduction of the Unity desktop is the main panel becomes the "menu-bar" of the running applications (borrowed from Apple) thus, unlike with the classical Gnome panel where you could add application shortcuts, etc the only possibility with the Unity panel is installing applets that runs in the notification area thus "revealing" themselves as shortcut icons.

And also because of the new desktop GUI now we don't have the classical "application menu-bar" (similar to MS Windows start-menu, not really :D) by using which we can launch all the installed programs in GNU/Linux. Although we can launch apps via the Unity's dash but yet for all you GNU/Linux Geeks who're familiar with the classical menu-bar... well it certainly has its values.

What's up! ;-)...

Did you know that there is an experimental (eeeh ;-)) indicator applet called ClassicMenu Indicator (developed by a sensible dude) that does exactly that!.

Yep, once installed, it'll display itself as an icon near the "notification" area (the area where your clock, date, etc settings appear) which lets you access the original classical application menu in the Unity desktop interface!.

You can easily install the Classic-Menu Indicator applet in Ubuntu 11.04 Natty Narwhal by using the its PPA channel. As usual, open your GNU/Linux terminal and enter the below commands.
sudo add-apt-repository ppa:diesch/testing

sudo apt-get update

sudo apt-get install classicmenu-indicator


From now on, as you can see with the first screenshot, now you can enjoy the old-fashioned classical menu in the Ubuntu Unity desktop!.

After the installation completes, just press "Alt" + "F2" keys and in the box, search for "classicmenu" and as with the above screenshot, Unity should "reveal" you this awesome little app!. Good luck.

How to Update to the Latest Unity Desktop Version in Ubuntu Linux 11.04?

When first introduced, both the GTK3 written Gnome desktop and the Ubuntu Linux developers latest desktop module called the Unity were both heavily criticized by many. Not just beginners who were learning about GNU/Linux but also experts were among who complained :).

Even though both these desktops modules address total different philosophies when it comes to computing and giving the "best" GNU/Linux experience in general, yet they both seems to be heavily optimized for the electronic devices that come with a touchscreens such as Tablet PCs, netbooks, etc for instance.

It could be because it's so new, the Unity desktop, currently gives very little options when it comes to customizing the desktop according to the needs of the users. Things like changing the application launcher will be impossible (unless some hacker comes up with a little plan :P) but other customizations such as changing launcher look-n-feel or various other related customizations etc aren't "implemented", yet.

The "Unity" desktop interface...
Most importantly, since Unity desktop is actually a plugin that runs on top of the Compiz (a 3D graphic rendering utility for GNU/Linux operating system), although they do have a Qt written 2D version as well, having a properly installed GPU drivers such as AMD/ATI, Nvidia, etc is also a must since the desktop heavily rely on the performance of your GPU unlike any other times in Ubuntu's history.

Although Canonical themselves don't recommend this for professionals who want a highly stable desktop, but if you're having little issues with Unity (small bugs :D) and hoping when they're gonna release an updated version of the desktop itself, etc... then few days ago they did release an update for the Unity desktop!.

I don't know why, but for the first time in my, somewhat short experience with GNU/Linux (what a learning curve it's been so far :D), I feel like updating something "whole", rather than updating a lot of libraries, apps which is something that both Gnome and KDE make you feel, sometimes.

Remember you won't be receiving new features with this 3.8.16 (the version) update, since if you want features, then you'll have to wait till they release the next version of the entire Ubuntu operating system. But according to the official change-log page it seems to carry out few bug fixes, especially concerning the application launcher, etc.

So, if you use the default Unity desktop in Ubuntu 11.04 Natty Narwhal, then you can make Unity to receive automatic updates by enabling the PPA. So to do that, open your Linux command line (Terminal) and enter the below commands.
sudo add-apt-repository ppa:ubuntu-desktop/ppa

sudo apt-get update

sudo apt-get upgrade
That should do it, but as said before, updating your entire operating system is not recommended since these updates can contain bugs, etc thus making your OS a bit unstable (may not always be true). Other than that, it's pretty much safe to use this method to update on other occasions (in your personal Laptop/PC, etc) nonetheless.

Install the Indicator-Forceclose Applet in Ubuntu 11.04 Natty Narwhal (Apps Hang-up"Killer")

I honestly don't know if it's my old Laptop having 512MB of RAM, it's actually 480MB because the VGA card has taken 32MB (thanks Ati), but whenever I used both Firefox and Ubuntu software center, geeeeez, it just sucks.

They both work together extremely well by (especially that "Ubuntu Software Center") eating my RAM and most of the time, I have to kill Ubuntu software center. Although I don't use Unity that much yet even while on that Gnome classic desktop on Natty (condolences accepted) I make sure to use the excellent Gnome "Forcequit" applet.

Anyhow, for all you Unity fans, if you're looking for a similar, simple applet that can be used to forcefully "kill" all those notorious applications in Ubuntu, well then you'll be glad there is a very new utility called "Indicator-Forceclose" (which is actually a GUI for the old "xkill" command) for that exact purpose.

Just like with Gnome's Forcequit, whenever you're confronted by an application hang-up, "eh, them buggers >:(" ... just drag the Indicator-Forceclose and get rid of it!.

"Well come on then, let's kill some apps!" :)...

Installing instructions...

1. You can easily install it in Ubuntu 11.04 Natty Narwhal by first downloading the package from here and extract its content.

2. Then go to that folder in your Terminal and enter the below command.
sudo python setup.py install
This should install it. If however you got an error message such as below one (as in my Laptop)...
To build indicator-forceclose you need https://launchpad.net/python-distutils-extra

3. In that case, enter the below command in your Terminal and let's install that "python distutils" package first.
sudo apt-get install python-distutils-extra

Now run the first command again, which should work and the Indicator-Forceclose should be installed. If it doesn't load automatically, then press "Alt" + "F2" keys and enter the below command int the box.
indicator-forceclose
Now you should see its icon as shown in the above screenshot. Enjoy!. 

gekosMac (GTK Theme) - Make Ubuntu 11.04 Natty Narwhal Looks Like Mac OSX!

It's no secret that GNU/Linux community, Gnome developers (especially) are admirers of Apple's Mac OS usability. Although to be honest I haven't used it, but from the screenshots and few videos I've seen, Gnome desktop 2+ version (including the Shell as well) resembles Mac OSX look-n-feel heavily.

And when considering Unity's application dock, windows title buttons to the left-side, wallpaper etc and even Mark Shuttleworth said when asked whether he'd prefer iPhone over Android phones, he said, "Yes!"... so Natty Narwhal is also much closer to OSX.

In that sense if you want to make your GNU/Linux Laptop completely looks like a Mac OSX, then all you gotta do at this point is to install a theme!. Well then you might be interested in a GTK written theme for Gnome called gekosMac.

As you can see with below screenshot, in resembles Leopard and the creator advices you to install Nautilus elementary + the Faenza Mac icon theme after installing the main gekosMac GTK theme as well. Lets install the theme in 11.04 Natty Narwhal first.



1. Open your Terminal and enter the below command.
sudo apt-get install aurora
sudo apt-get install gtk2-engines-aurora
2. Use the below command to install Nautilus Elementary (remember, this is not necessary, but Elementary looks more like the OSX fm).
sudo add-apt-repository ppa:am-monkeyd/nautilus-elementary-ppa
sudo apt-get update
sudo apt-get upgrade 
also make sure to restart Nautilus. To do that, use the below command.
nautilus -q
3. Now the final part. Lets install the FaenzaMac icon theme. Use the below command for that.
sudo add-apt-repository ppa:tiheum/equinox
sudo apt-get update
sudo apt-get install faenza-icon-theme

If you don't like the buttons on the panel, then the developer advices that you do the following (quoting himself)...

#######IF YOU USE UNITY#########

Look at buttons in panel. You do not like this. You can fix that!!!!

0) All that is written to it except 4 step
1)You need to open terminal and write command

gksu nautilus

2)than go to /usr/share/themes
3) Backup Ambiance(copy to some place or add to archive)
4)extract Ambiance.tar.gz that you download
5)Replace folder that you extract from archive (delete Ambiance at /usr/share/themes and copy extract Ambiance theme to them)

THAT ALL Then Logot and login :)

That's it. Now you've successfully converted your Unity (also works on LinuxMint as well) to Mac OSX!. Enjoy.  

Wanna Install the "Old" Netbook Launcher in Ubuntu 11.04?

Ubuntu used have few main "variations" in their distribution in the recent past (they still do) and for Intel Atom based Netbooks/Laptops, they had a dedicated version called the Ubuntu Netbook edition. But then they decided to remove netbook edition and merge it with Ubuntu (with numerous improvements of course) and came up with their cool looking (for some) desktop module called Unity.

Although it's based on the Netbook edition (as far as I know) yet it has a lot of different aspects in comparison. For instance, Netbook edition used to have a composting window manager (written in GTK+) called Mutter. But with Unity they decided to replace it with Compiz instead. And also the completely redesigned the Application launcher and its behavior in Unity as well.

But for some reason, if you still would like to have that old Netbook launcher in Natty Narwhal... using Mutter, then our friend DoctorMo has been kind enough to do that as well. What a cool doctor after all :). And remember you cannot run this in Unity Shell (the default 3D interface)... only for Classic Gnome desktop under Natty Narwhal.


If you want to install 3D Netbook launcher in Ubuntu Natty, then paste the below command in your Terminal window. Have fun with it :).
sudo add-apt-repository ppa:doctormo/netbook-launcher
sudo apt-get update
sudo apt-get install yeold-netbook-launcher

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!.

Wanna Change the Location of Ubuntu 11.04 Natty Narwhal's Dock/Launcher?

Note: Guys... I think I made a mistake :). This won't work because... what this option enables is, the corner that you have to bring your mouse pointer (left or right) to make the launcher "show" not the app launcher location. So, sorry about all this. :) (pretty embarrassing).

Previously I posted something very similar but forgot (it didn't hit me at that time :D) to mention a very important step. Again don't get your hopes up so high because... I still can't confirm if this works. Reason for that is my buggy ATI GPU, so thanks to Compiz... even without doing any tweaks, most of the time I can't get a fully working unity-shell.

So I'm not sure if this works, but if you're really angry at Canonical because they wouldn't give you the ability to change the location of that launcher (most call it "dock") other than the "left", then why not give this a try.

First things first...

Guys and gals, with all the due respect, please don't blame me if this method breaks your OS (it may not but who knows, shi* happens).

Anyhow, before moving any further, let's take few precautions which should keep your primary data secure (again there are no guarantees)

First, make sure that after booting you're prompted at the log-in screen rather than automatic login. To make sure the "automatic login is disabled" (it is disabled by default).

1. Open your Terminal and issue the below command.
gdmsetup
Now, this should bring a window similar to the below one, once opened, unlock the screen by clicking on the "unlock" button and when asked give your administer password.



After that, make sure you've "checked/chosen" the below two main options.

"show list of users"

"show the screen for choosing who will login"

If the "login as" is enabled, disable it by click on the "show the screen for choosing who will login" option.

Now close the window.

Let's create a new temporary user account for this "experiment", if anything bad happens, we can simply delete it later. For that...

2. Again open your Terminal and enter the below command.
users-admin
From the left side, click on the "add" button and give a user name (let's call him "gates" and a password when prompted.


3. Now log off your current desktop and login using the newly created user account, "gates" ;-). Once your unity desktop loads again open your Terminal and enter the below command.

gconf-editor

Now you should get a similar window as shown below.



From that window, from your left side go to:

"apps" -> "compizconfig-1" -> "profiles" -> "default" -> "plugins" -> "unityshell" -> "screen0" -> "options". 

Once you're inside of "options" you'll see a screen similar to the below one.


To your right side, you'll see an entry (highlighted in the screenshot) called "launcher_reveal_edge" and its default value is "Left" aha! ;-).

Now just click on that "Left" value or right click on it and choose "edit key" and change the value to "Right" and click "OK". Now close the window and again open the "gconf-editor" and make sure the value is set as "Right".

Now all you gotta do is log off from the temporary user account and when at login window again choose the same user name ("gates" :P) and, this is important:

After entering the password and before you hit the enter key, from the session type (right below your "password/user name field") chose "User defined session".

Now just click login and if this works ... then you should be greeted with the usual Unity desktop but the launcher to your right rather than left!.

As I said before, I'm having some real troubles while logging into the unity-shell interface and after doing this my panel and launcher got disappeared (this is normal even with the "default" settings) and the screenshots are from the Gnome desktop rather than Unity-Shell.

However, when I moved my mouse around right corner after logging in with these changes, and once I got my mouse closer to the right side of the screen, something did come to the front ... but couldn't say what it was (again I'm really struggling with the unity-shell).

But if you have a working unity-desktop (good for you ;-) ) then who knows this might help you to change the location of launcher/dock in your Ubuntu Natty Narwhal!.

If anything goes wrong and this doesn't work, simply log out of your desktop. If your desktop does not show anything and seems like stuck, then you'll have to reset your PC using the "reset button" or you can try this method first.

After rebooting and once you're prompted at the log-in screen, choose your usual user account and once logged in, simply delete the temprorary user account that we created.

Note - Please use this at your Own risk...

How To Edit Compiz Settings in Ubuntu 11.04 Natty Narwhal Easily?

OK, first of all, I think everyone is aware of the fact that Ubuntu Linux (especially the Unity desktop) heavily depends on Compiz (one of the best window-manager that uses your GPU - ATI/Nvidia and Intel, etc.. 3D hardware accelerations or 3D Graphics rendering in general). So configuring Compiz in Ubuntu Linux can be pretty handy, only if you know what you're doing, no disrespect intended.

Although you can easily do this by installing a well known front-end but still, even without having to install anything at all, you can change a lot of Compiz related settings in Ubuntu 11.04 using the Gnome configuration manager called "Gconfig-editor".

And I think it's always best to start with the somewhat the "hard-way", which always helps me, when it comes to quickly learning GNU/Linux and its other aspects. Don't you think? :). Okay, let's get started. 

1. Open your Terminal and issue the below command.
gconf-editor

2. This should bring you the Gnome Configuration editor as shown below. From the left side choose:"apps" -> "compiz-1".


Now under "compiz-1", go to "plugins". There you'll see a hell lot of options :P that can be used to configure compiz pretty easily. But as I said before, even the most smallest change can have a significant effect on Ubuntu 11.04 because Unity desktop is actually a plug-in that runs on top of Compiz 3D rendering engine!.

Oh you can change a lot... but be careful!...

So, if you successfully messed up Compiz then you can actually reset all those value to the default ones by issuing the below commands in your Terminal.
gconftool-2 --recursive-unset /apps/compiz-1
unity --reset 
It's advisable to log out of your desktop and to log in or do a reboot. Still this is not a guarantee that this command will fix everything..., so change Compiz at your own risk or try to remember the changes (which is not that easy anyway).

Don't try to change settings like the "refresh rate" values in those options, for instance, if you don't know what you're doing, because it can easily "burn" your GNU/Linux Laptop or PC's monitor!.

And if you change Compiz settings related to Unity only via: "apps" -> "compizconfig-1" -> "profiles" -> "unity",

Then use the below command in your Linux Terminal to reset all the values to default ones.
unity --reset
And remember although there can be small risks involved, yet when it comes learning to use GNU/Linux, we all have to do a little bit of testing :D. Good luck.

How to Install GNOME Activity Journal 0.6 in Ubuntu 11.04 Natty Narwhal!

GNOME Activity Journal is an automated log creator based on user activities in GNU/Linux environments. So as with a the conventional system log, activity journal lets you view your past "activities". Do I really need one?.

GAJ in action...

It depends, for instance say that your wife asked you ..."Man what the heck were you doing with your computer around 2pm yesterday?, no lies!" :P. And being a brain-damaged geek you couldn't possibly remember what you were doing at that time, wouldn't it be nice if you could remember it (only things that you were doing using the PC of course).

If you had GAJ installed, then all you had to do was open it and simply navigate around "history" and Gnome Activity Journal would have an entry about the thing that you were doing at that time!. Savvy!.

Even if you have cleared the cache of your Web browser, etc still GAJ will have an entry, in this case, concerning your web browser's activities. 

Importantly GAJ uses a technology called Zeitgeist, which actually is a software layer (framework) that has the ability to collect and "read" activities based of users thus makes "predictions" about what programs they like the most or what they could be doing as soon as they logged into the desktop at the starting of their day, etc.

Gnome activity journal runs on top of Zeitgeist technology, then store the data and even intelligently categorize them such as ...

*. Data type.

*. Date/Time.

*. Name/Source.

*. Location of use (GPS).

*. Bookmark your favorite "activities".

*. Search... are among few of the main feature.

If you haven't used this type of a Journal in a while, then it would take few minutes to get used to it. But being a Gnome app, it has a simple GUI and quite easy to get used to nonetheless.

If you use the Ubuntu 11.04 Natty Narwhal you can easily install Gnome activity journal 0.6 by entering the below command (using a PPA channel). Enjoy!.
sudo add-apt-repository ppa:zeitgeist/ppa
sudo apt-get update
sudo apt-get install zeitgeist gnome-activity-journal

Do not run GAJ as the root user because it raises security concern since it uses Zeitgeist (if someone breaks into your system then they can easily see your history, etc). 

Will Your Graphic Card Let You Run Ubuntu 11.04 Natty Smoothly?

I always had troubles with Ubuntu (started around 10.04 I think) with my ATI GPU, which is an old one actually - Raedon Express 200m. But the same VGA or the Laptop, had no problems whatsoever with Fedora or Debian in general. This was due to the fact that Ubuntu heavily depends on a OpenGL widow render manager called Compiz

Is it that important?...

If you don't know what the heck that means, then Compiz is the one behind all these fancy effects that you get in Ubuntu, you know things like transparency window borders, various effects such as minimizing effect/fading effects and other various "fancy" VGA related 3D effects.

Here's the "thing"...

All the VGA cards that are manufactured by ATI and Nvidia are closed sourced ones (although Intel seems to approach a bit open minded). Meaning that if you want to get the best 3D effects then you have currently have two options.

1. Use the proprietary drivers (which usually come with major GNU/Linux distros... but with Ubuntu, you can easily install then via the "Software Center". So it's easily fixable in Ubuntu.

OR...

2. You can use the free and true GNU VGA drivers that are written by developers by figuring out the hardware and how it works all by themselves called reverse engineering. Both ATI and Nvidia refuse to give away how their GPU (graphic processor in VGA cards) work... thus the GNU developers have to figure it out all by themselves.

Not to say the truth that even though most of the time they "just" work, but... the never the graphic card is the more time it's gonna take for these poor developers to figure out how it work :(. Although, impressively, some of these drivers actually work better than the original drivers written by the vendors them selves!. But they could be buggy under heavy/complex usage such as with Compiz window manger.

So most of the time you'll be better off with the official drivers. But if you use something other than Ubuntu the installation might be a bit difficult.


Back to the story...

Weird things that you can do with Compiz ;-)...

There are certain hardware which Compiz does not work or tends to be very buggy :(. But according to Compiz, Canonical no longer uses the original code written by Compiz developers, they've created a lot of bug fixes and have added better compability of Compiz with Ubuntu by changing the code. So this buggy driver list of original Compiz utility may not be applicable with the Ubuntu due to those changes.

But you should still consider about your VGA card and its compability with Compiz before running Ubuntu 11.04 Natty Narwhal since the Unity desktop now runs as a plugin on top of Compiz!. So a buggy VGA driver can do some serious annoyance for the PC + most importantly for the users as well.

If you own a Laptop or a Desktop PC directly from HP, Dell or other manufactures... then you can read this official Ubuntu certified hardware list first. Although the 11.04 version is not there, but if your hardware is there, you're good to go.

Secondly you can read this Compiz hardware page which addresses few of the known problems that can occur with certain Nvidia, ATI, Intel... graphic cards and how to resolve them. Again remember, some of these "issues" may not be applicable with Ubuntu, yet it's well worth the read.

Finally, after or to prior to the Ubuntu 11.04 Natty installation, if you're having problems or questions, you can ask them from this ask Ubuntu community maintained web site. Before posting your question, try searching it first. Who knows... maybe it's already been answered (oh you lucky geek :P).

"One of the best 2D/3D graphic "creators"... competing with Microsoft's DirectX..."

As mentioned before, in Ubuntu, using the "Software Center" or the "property hardware drivers" wizard, most of the time you should be able to install the official GPU drivers.

In that case, simply open the "Software Center" and enter Ati or Nvidia and do a search. Then follow the instructions on the screen. Also try to read few of recommendations/feedback given by others as well (usually appears below the "description" section).   

Good luck.