[HOWTO] Disable Unity Interface and restore original (classic) interface in Ubuntu Natty Narwhal

Unity interface is the default interface in Ubuntu 11.04 Natty Narwhal. It consists of the dock and launchers. However, if you don’t like the dock, animations and the interface as a whole, you can just disable it and login to Ubuntu Classic Desktop.

Logout and type in(or select) your username and in the bottom panel, select “Ubuntu Classic Desktop” instead of “Ubuntu Desktop Edition”. When you login next time, the same will be selected by default.

To re-enable Unity interface, just select “Ubuntu Desktop Edition” during login.

Compiz in November 27 daily build of Ubuntu 11.04 Natty Narwhal

I just used zsync to download the latest daily build of Ubuntu 11.04 Natty Narwhal. It features Ubuntu Unity Plugin for Compiz among other changes.

Compiz version is 0.9.2 and it features several plugins by default for functionality and effects. However, extra plugins are not available in current repository (0.8.6 version is available, which breaks 0.9.2)

Clicking the Workspace Switcher icon on Unity brings up Expo interface and it is easy to switch to another workspace and move windows between workspaces.

You can enable autohide in Unity by installing compizconfig-settings-manager:

sudo apt-get install compizconfig-settings-manager

After it is installed, you can launch it by pressing Alt+F2 to bring up the Run Application Dialog and then typing in ccsm.

The hidden unity dock can be brought back by putting mouse over the Ubuntu icon in the top left corner.

It also features a global menu (indicator-appmenu) which removes the menu bar from the applications and puts it up on the top panel. The menu shown is the menu of the application in focus. This feature is similar to Mac OS X. However, only GTK Applications are supported currently. This means, Openoffice and Firefox are not supported till date.

The current interface lacks an easy way to launch applications (it has to be done via Alt+F2 if compiz is enabled), compiz crashes a lot, sometimes when opening up Appearance Preferences, sometimes when changing compiz settings and sometimes just while doing something arbitrary.

Currently compiz in Natty is far from being perfect, but this is quite some change considering the fact that even the final relase is scheduled in April 28, 2011. The first alpha however, should arrive shortly and hope we see something better.

[SOLVED] “Error: Dependency is not satisfiable: libnautilus-extension1 (>= 1:2.22.2)” while installing dropbox

I downloaded nautilux-dropbox Ubuntu deb package from Dropbox Linux Download Page. When I tried to install it via gdebi deb installer in Debian, I got the following error:

Error: Dependency is not satisfiable: libnautilus-extension1 (>= 1:2.22.2)

If you add repos and try to install it from there via Synaptic, you will get the error:

Depends: libnautilus-extension1 (>=1:2.22.2) but 2.30.1-2 is to be installed

If you install it with dpkg -i, you will get the following error:

Selecting previously deselected package nautilus-dropbox.
(Reading database … 229404 files and directories currently installed.)
Unpacking nautilus-dropbox (from nautilus-dropbox_0.6.7_i386.deb) …
dpkg: dependency problems prevent configuration of nautilus-dropbox:
nautilus-dropbox depends on libnautilus-extension1 (>= 1:2.22.2); however:
Version of libnautilus-extension1 on system is 2.30.1-2.
dpkg: error processing nautilus-dropbox (–install):
dependency problems – leaving unconfigured
Processing triggers for gnome-menus …
Processing triggers for desktop-file-utils …
Processing triggers for hicolor-icon-theme …
Processing triggers for man-db …
Errors were encountered while processing:

Using the dpkg method will result in broken packages.

I had downloaded the version 0.6.7 32 bit (i386) i.e. nautilus-dropbox_0.6.7_i386.deb and was unable to install it cleanly. However, when I ran it by force installing, it ran without problems but the package was broken. So, the problem was not with the unmet dependencies but the deb file wrongly specifying dependencies.

So, I decided to fix the deb file. I unpacked the deb:

mkdir -p extract/DEBIAN
dpkg-deb -x nautilus-dropbox_0.6.7_i386.deb extract/
dpkg-deb -e nautilus-dropbox_0.6.7_i386.deb extract/DEBIAN/

Then edited the extract/DEBIAN/control file with gedit. You can use any other text editor of your choice.
The “Depends:” line looks like the following:

Depends: libatk1.0-0 (>= 1.20.0), libc6 (>= 2.4), libcairo2 (>= 1.6.0), libglib2.0-0 (>= 2.16.0), libgtk2.0-0 (>= 2.12.0), libnautilus-extension1 (>= 1:2.22.2), libpango1.0-0 (>= 1.20.1), python (>= 2.5), python-gtk2 (>= 2.12)

Notice the entry “libnautilus-extension1 (>= 1:2.22.2)”. In my installation, the version of libnautilus-extension1 is 2.30.1 and not 1:2.30.1 (which is the version format for libnautilus-extension1 in Ubuntu). So, I edited the version number to 2.22.2 instead of 1:2.22.2. So, the new depends line looks like the following:

Depends: libatk1.0-0 (>= 1.20.0), libc6 (>= 2.4), libcairo2 (>= 1.6.0), libglib2.0-0 (>= 2.16.0), libgtk2.0-0 (>= 2.12.0), libnautilus-extension1 (>= 2.22.2), libpango1.0-0 (>= 1.20.1), python (>= 2.5), python-gtk2 (>= 2.12)

After the change, create a directory called build and run the dpkg-deb command with -b switch to build the new deb file:

mkdir build
dpkg-deb -b extract/ build/

You will find a deb file in build/ directory which should install without dependency problems.

After installing, install the service by running the following as root and you are all done:

dropbox start -i

Hope this helps.

[HOWTO] Install Greasemonkey Firefox Addon in Firefox 4

I have installed Firefox 4 in my Debian Testing installation from Launchpad PPA. It is quite stable and I have decided to use it instead of Firefox 3. Most of the addons I used is compatible with Firefox 4 by now. However, the version of Greasemonkey available in Mozilla Firefox Addons Site is not compatible with Mozilla Firefox v4 latest build. To install the latest nightly build of Greasemonkey, I went to Greasemonkey Nightly Download and installed it. However Greasefire is not available, we can install userscripts directly from Userscripts website for now.

[HOWTO] Change Debian Testing to Linux Mint Debian Edition (LMDE)

Linux Mint Debian Edition is a rolling release distro based on Debian Testing. It is currently only available in 32bit and not for other architectures.

If you already have a Debian Testing installation, you will not have problems changing it to Linux Mint, if you wish to. This can be achieved by changing apt sources and preferences and installing Linux Mint meta packages.

Open /etc/apt/sources.list as root and append the following line at the end of the file:

deb http://packages.linuxmint.com/ debian main upstream import

If you want real Linux Mint Debian, you will need to remove other software sources like Unstable repos but have the following at least:

deb http://ftp.debian.org/debian testing main contrib non-free
deb http://security.debian.org/ testing/updates main contrib non-free
deb http://www.debian-multimedia.org testing main non-free

Now, open up /etc/apt/preferences and add the following:

Package: *
Pin: release o=linuxmint
Pin-Priority: 700

Package: *
Pin: origin packages.linuxmint.com
Pin-Priority: 700

Package: *
Pin: release o=Debian
Pin-Priority: 500

The above change will make sure that Linux Mint repos will be favored over Debian.

First upgrade your installation:

apt-get update
apt-get upgrade

Now, install the following packages:


by running:

apt-get install mint-meta-debian mint-wallpapers-extra mint-wallpapers-previous-releases

If some installed packages conflict with the new packages, remove them and try again.

Now, change the default theme to Shiki-wise, remove upper panel and add notification area, mintmenu to lower panel and you are done.

[SOLVED] Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR= and run Make again. Stop.

I was trying to run Oracle Virtualbox in my Debian testing installation in which I have just installed Ubuntu Natty Kernel from Ubuntu repositories. I got an error followed by a dialog prompting me to run:
/etc/init.d/vboxdrv setup
as root.

However, it could not compile the kernel modules and I got the following error:

Uninstalling modules from DKMS
removing old DKMS module vboxhost version 3.2.10

——– Uninstall Beginning ——–
Module: vboxhost
Version: 3.2.10
Kernel: 2.6.32-5-686-bigmem (i686)

Status: Before uninstall, this module version was ACTIVE on this kernel.

– Uninstallation
– Deleting from: /lib/modules/2.6.32-5-686-bigmem/updates/dkms/
– Original module
– No original module was found for this module on this kernel.
– Use the dkms install command to reinstall any previous module version.

– Uninstallation
– Deleting from: /lib/modules/2.6.32-5-686-bigmem/updates/dkms/
– Original module
– No original module was found for this module on this kernel.
– Use the dkms install command to reinstall any previous module version.

– Uninstallation
– Deleting from: /lib/modules/2.6.32-5-686-bigmem/updates/dkms/
– Original module
– No original module was found for this module on this kernel.
– Use the dkms install command to reinstall any previous module version.


DKMS: uninstall Completed.

Deleting module version: 3.2.10
completely from the DKMS tree.
Attempting to install using DKMS

Creating symlink /var/lib/dkms/vboxhost/3.2.10/source ->

DKMS: add Completed.
You can use the –kernelsourcedir option to tell DKMS where it’s located, or you could install the linux-headers-2.6.37-6-generic-pae package.
Failed to install using DKMS, attempting to install without
Makefile:159: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR= and run Make again. Stop.

I realized that I had just installed linux-image package only and not installed linux-headers while manually installing packages. This can be avoided by installing the corresponding headers. An easy way to do so is to run the following command:

sudo apt-get install dkms
sudo apt-get install linux-headers-`uname -r|cut -d'-' -f3`-`uname -r|cut -d'-' -f4`

If you are using the older kernel and not the latest version available in the repost\itory, run the following:

sudo apt-get install dkms
sudo apt-get install linux-headers-`uname -r`

If you are on Debian, sudo may or may not be installed and it may or may not be configured for your user. Just use su to login as root and run the commands without sudo.

Hope this helps.

[SOLVED] User not authorized to run the X server

My friend recently installed Ubuntu 11.04 Natty Narwhal. He is not able to boot into the Desktop Environment. As he was trying to fix things up, he got this error while running startx:

User not authorized to run the X server , aborted

With a little bit of searching, we were able to find a solution in Ubuntu Forums.

The trick is to reconfigure x11-common for “Anyone”. This can be done by running the following command in the terminal:

sudo dpkg-reconfigure x11-common

Then, select the option “Anyone” and then run startx.

Ubuntu to become a rolling release distro

UPDATE: Rick Spencer, Ubuntu Desktop Development Team Lead, wrote in his blog:

Ubuntu is not changing to a rolling release. We are confident that our customers, partners, and the FLOSS ecosystem are well served by our current release cadence. What the article was probably referring to was the possibility of making it easier for developers to use cutting edge versions of certain software packages on Ubuntu.This is a wide-ranging project that we will continue to pursue through our normal planning processes.

The Register, OMG Ubuntu, Webupd8, Ostatic and a few other sites that feature articles about Ubuntu have recently posted articles regarding Ubuntu becoming a rolling release distro. However, it has not been officially announced, there has been quite a buzz.

Ubuntu has started as a release-cycle-based distro, in that a new version is rolled out every 6 months (and not daily). However, for a desktop based distro, it is not unrealistic to think the possibilities of a rolling release type distro considering the fact that it has been difficult to get the latest and greatest software in old Ubuntu installations. Currently, that either has to be done manually or via PPAs or it is not even possible in some cases due to dependency hell. Linux Mint has taken a step recently to explore this possibilities by launching Linux Mint Debian Edition, which is a rolling release type distro based on Debian testing.

When I used Ubuntu, I used to try and get the latest software by using daily builds or alpha/beta releases with a lot of PPAs, which made it almost like a rolling release – updated but unstable linux installation with a lot of manual work involved, just for maintaining the OS and of course the need to download latest versions of applications daily. This is what I have to do with Debian anyways, so I recently moved to Debian testing to see how it works.

Making Ubuntu a completely rolling release based distribution would make it either unstable or it will have to give up on latest software anyways and only let tested and stable software for upgrades. Both of these will mean that Ubuntu will either be unsuitable for Enterprise use or stale for Desktop use.

One option will be to start an unstable branch for Ubuntu which will be a rolling release and will contain the latest and greatest software and another testing branch, also a rolling one, which will have software which has been passed from unstable but still might have issues and a different branch for Enterprise use. Enterprises will also need that their software will not be changed on updates. So, they will need fixed release cycles for Enterprise Editions anyways. So, Canonical could decide to release Ubuntu stable versions every few years or so. Debian does this in a similar way. They could of course choose different names for the branches; something like Ubuntu Current, Ubuntu Standard and Ubuntu Enterprise version X (codename Y). They could also use animal names for the same, as they currently do.

However, I think there are better ways to do things so that the users are given a choice. That can be done by releasing standard editions at longer intervals. The base system shall be released every few years (like they release LTS) and it will have a standard softwares suitable for Enterprise use.  Ubuntu-base could consist of linux kernel, drivers and other base packages which will not get upgrades but only critical fixes. All other softwares will have their own PPA like repositories, which can either be maintained by Canonical or by software developers themselves. When a newer version upgrade is available for a software, users can be prompted to either stay with the current version or upgrade to the newer version. If a user chooses to stay with the current version, the users repositories for the software remains the same and the user will continue getting minor updates and bug fixes for the same unless the support ends. If a user chooses to upgrade, the repository for that particular software is changed and the older software is replaced with the newer one (with a choice to either remove the older version or to keep it). If the user wants development version of the package, the user may manually choose to upgrade to development version. Also, the user must be able to downgrade to the previous version without any problems.

This approach will fulfill the users needs. On a Enterprise front, the administrator may choose not to upgrade to the latest version, for stability and consistency. However, a casual home user may want to explore the latest version and may install it. A developer or a geek may choose to install development version too.

There might however be problems with this approach too. The problem is when it comes to libraries. If an application depends on one version of a library and the other depends on another version of the same, they may not co-exist. However, a workaround is to name the libraries with version names. That way, multiple versions of the same library can be installed. If this is allowed, multiple version of the same application can be installed too.

All of this is already possible with apt, so it can be done if they wish to. However, it will require a complete overhaul, it could be worth it.

[HOWTO] Make it easy to find recent files using Avant Window Navigator applets

If you have no organized way of keeping your files, you will find it difficult to find the last file you viewed or last file you were working with. This can be overcome with two simple AWN applets, namely “Related Applet” and “Stacks”.

Add the Related Applet and when you launch an application, the latest and most used files related to the application are shown on clicking the applet icon. If you click the related applet without an active application, you will be able to view the files that were worked on or viewed by any application and if you click them, the file will be opened in respective application.

With Stacks applets, you can monitor changes to any folder (or multiple folders if you use multiple stacks) and open the files without having to open the folder and look for the contents there. If you have a Downloads folder or a “unorganized” folder (where you keep all your new unorganized files), you can add them to stacks. To add a folder to stacks, right click on the Stacks Applet icon and choose Preferences. Then, in the Backend tab, select a folder. You may want to change “Arrange items” settings to “By date, Descending” if you wish to monitor the latest files in the directory. Now, when you click the stacks icon, you will see the files in the directory and open them with a single click with the default application.

[GUEST POST] Android and Windows Mobile – Choose One

Note: This is a guest post by one of the readers, Saksham.

Android is the most popular cell phone podium with quick expansion of market share and handsets through the OS being flaunted on the online. Android has appeared in a short instance, and successfully it has enter into the market. Windows Mobile has observed current renew and is frequently getting punched for being an old elegant phone podium. Have a look through the main aptitudes plus contrast Android to Windows Mobile at below

Android is frequently flaunted for its aptitude to dart many applications at the single time. It is a faultless understanding in row lots of tasks at similar time. The OS does an excellent job conduct the possessions every app requires as it is working, and it makes certain that any application going in the forefront finds the concentration it requires.

It is seldom stated in the push is that Windows Mobile is a superb multi-working podium. It’s maybe not stated since Windows Mobile has constantly been excellent at multi-working. The OS has no trouble with errands working in the setting.

Windows Mobile has been condemned about multi-working owing to the need of an application shut preference. Application doesn’t close by evasion when way out they tranquil scuttle in the setting. Android functions at the similar technique.

Windows Mobile has an immense benefit over Android in aspect of multi-working. And that is the OS handles consumer set up apps process. Windows Mobile lets them to be set up to each structure memory. This makes it potential to fix a limitless quantity of apps on a WinMo.

Available apps are the huge advantage on Windows mobile. We heard about more than 10,000 apps accessible in the Android sell. It is a benefit that the Android proposal has developed fast. Microsoft was tardy getting to the application layup sport with the Market just aperture its access. 10.000 Of apps by now are accessible for the Windows Mobile.

Android’s net surfer has been extensively applauded for being better than the newest Mobile Internet Explorer. Many sight this as a huge benefit for the Android. There are previously many excellent third-party servers for WinMo.

Opera mobile phone 10 is good from any cell phone browser available and it is free of charge for Windows phone users. For Android this benefit is not available. Many customers don’t expect their phones to mix with their desktop PC. They want an easy way to maintain the phone’s links, almanacs, and email in coordinate with their desktop setting. Windows Mobile succeeds in this situation. It is intended from the view up to add with both swap browsers in the business world with Outlook setting on the desktop.

Conversely, customers with desktop setting assemble about the Google cloud will undoubtedly get Android as better. The fitted customer support of Google checks as Gmail has developed progressively. Android is intended in addition with the Google cloud.

There are many advantages and disadvantages in the both mobile phone because everything you want can’t fulfill a mobile set. So at first you have to decide about your demand and then go for comparison.

Saksham works for Conversion rate Optimization Company Invesp and enjoys writing on SEO, landing pages, conversion optimization and affiliate marketing.