How To Install Gnome 3 in Ubuntu 11.10

April 2011 saw a change in Ubuntu where it launched Unity instead of Gnome as its default desktop environment. That did not went down well with many users who wanted to use the newly launched Gnome 3 in Ubuntu. Ubuntu 11.04 did not provide support to Gnome 3 officially. Enthusiast users did find a way to install Gnome 3 though but it resulted in breaking the Unity environment completely which means that a user could have used either Unity or Gnome 3 not both. [Read more…]

How To Solve: apt-get install Error in Ubuntu

Problem:

An Ubuntu user often comes across an error (shown below the paragraph) while try to install an application using apt-get in the terminal, using synaptic or Ubuntu Software Center. This simple error may trouble a beginner Ubuntu User. The error looks something like this:

E: Could not get lock /var/lib/dpkg/lock – open (11: Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it? [Read more…]

Hello World is No More: RIP Dennis Ritchie

Seems like October 2011 is a sad month for tech world. We have lost 3 visionaries who have changed the world by their innovation. First it was Steve Jobs, the founder of Apple Inc then Robert Galvin, Motorola’s cellphone pioneer and now Dennis Ritchie, author of C programming language and co-author of Unix Operating System has died.

If you have ever learned a programming language your first line printed would have been “Hello World” which was Dennis Ritchie’s trademark (if I can say that) when he wrote C language. I found no better to way to pay tribute to Dennis Ritchie than this:

#include
#include
main( )
{
printf(“Hello World No More \n RIP Dennis Ritchie”);
}

 

I just pray that this month doesn’t bring any other bad news. :(

How to get the URL or Link of a Facebook post or status

Sometimes you may need to provide the URL/link of a Facebook post or status for eg. in case you are trying to win a contest or trying to attract more people to a Facebook post. Though Facebook has recently added a “Share” option for all the Facebook post but it still doesn’t serve the purpose in the case you need the to share the Post in a comment or outside Facebook environment. In this post I’ll show you how to get the URL of a Facebook post.

All you have to do is to go to post and click on the “Date-Time” of the post. Something like this:

Clicking on this “Date-Time” element will take you to the post in a new tab. And from there you can simply copy past the URL of the post. Something like this:

Now you can share the post anywhere with the help of the URL. By the way the same method can be used in Google Plus as well.

Questions and suggestions are welcomed.

How to upgrade to Ubuntu 11.10 Beta from Ubuntu 11.04

Pic Courtsey: uniquetipsonline.com

Ubuntu released the second beta version of Ubuntu 11.10 OneiricOcelot last week. Final version is scheduled to release on 13 October 2011. 11.10 has some compelling improvements over its predecessors 11.04. If you want to be one of the early followers and want to upgrade it, follow the instructions below:

  • Press Alt+F2 to open the command box
  • Type “update-manager -d” (without the quotes)
  • Please mind the space between manger and -d
  • Update Manager should open up and tell you: New distribution release ‘11.10’ is available.
  • Click Upgrade and follow the on-screen instructions.

Enjoy Ubuntu 11.10.

Sources: https://wiki.ubuntu.com/OneiricOcelot/TechnicalOverview/

How to get the New Facebook Profile: Timeline

has been toeing the Google Plus line for past few weeks and it launched a number of new features today (22 Sep 2011) at . One of the those new feature is called Timeline which gives your profile a totally new look (which resembles a bit to WAYN profile).

Salient features of the Timeline Profile:

  • A large photo on the top of the profile
  • Below is the general information, status update box and the latest activities on Facebook
  • Your friends will also be able to see your past activities (this is why the name is Timeline)

This video gives a better understanding of the Timeline profile:

How to get the New Timeline Profile:

The Timeline profile is still in beta but users can sign-up for it. So if you want to enjoy this new feature before most of the other users visit this page: Make sure that you have logged into your Facebook account. Click on Sign Me Up button on the bottom right of the screen.

The Facebook timeline is live now. Here is how to get it:

Go to

And there click on Get Timeline at the bottom of the page.

Enjoy the Timeline. :)

How to solve: Dell AC Power Adapter Type Not Recognized

My AC power adapter charger for Dell Inspiron N4010 went into smokes two days back and I went to shop for a good (read cheap) alternate of it. After fiddling around a bit I settled for a “itworks” Universal Power Adapter (for 60 Euro sigh!). It comes with 12 plugs to use it with all the major laptop manufacturers and two type of power cords one for each North America and Europe. The below photograph is a not of my universal power adapter 😛

I went back and happily plugged the adapter into my laptop and switched it on. To my dismay, at boot time, it gave a warning message something like “AC Power Adapter type not recognized”. When I chose to ignore the warning and booted into the operating system, I saw the strange things with the battery icon. Despite of the adapter plugged in it was showing only 5% of battery left.

It took me some minutes to recognize my mistake, a blooper actually. This happens when you think you are too smart to ignore small details and turns out to be a fool.

As I said the Universal Power Adapter had a number of plugs for different manufacturers and it was numbered accordingly. In most foolish way I was using a plug meant for HP which somehow got fit into the socket. When I saw that and change it to the correct one the problem was solved.

Are you using the correct plug? Check it.

How to change the default boot order in Grub 2 in Ubuntu 10.04, 10.10 and 11.04

In this tutorial we will see how to change the default boot order in the Grub 2. Grub 2 is the default boot loader in Ubuntu 9.10, 10.04, 10.10 and 11.04. As the computer starts, GRUB 2 either presents a menu and awaits user input or automatically transfers control to an operating system kernel.

There are two ways to do it. Experienced user can do it by editing the Grub file (located in /etc/default/grub) while I will recommend the beginners to use a GUI tool (Startup Manager) which lets the user select the default operating system or kernel. The tutorial on the Startup Manager can be found here.

Step 1:

Take a look at the boot order in the Grub (when the computer start). Note down the order. Let us assume this is how the boot order arranged:

Linux Kernel 3.0                                                       ——— 0
Linux Kernel 3.0 Recovery Mode                         ——— 1
Previous Kernel Versions                                        ———- 2
Previous Kernel Versions Recovery Mode          ———- 3
Memory Test                                                             ———- 4
Memory Test Recovery                                           ———- 5
Windows 7                                                                 ———- 6

Notice the numbers we assigned to the orders. The numbers represent the position of the particular os/kernel (starting from 0).

Note:

What if you want to make a previous Linux version as your default. The previous Linux Version may consists of all the previous Linux Kernels. Grub 2 provides a nested style sub menu. The previous Linux Versions may seem like this:

Linux Kernel 2.6.39                                                       ——— 0
Linux Kernel 2.6.39 Recovery Mode                         ——— 1
Linux Kernel 2.6.38                                                       ——— 2
Linux Kernel 2.6.38 Recovery Mode                         ——— 3
Linux Kernel 2.6.37                                                       ——— 4
Linux Kernel 2.6.37 Recovery Mode                         ——— 5

Step 2:

Now open the terminal and type the following command:

sudo gedit /etc/default/grub &

The content of the this file looks something like this:

# If you change this file, run ‘update-grub’ afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
#   info -f grub -n ‘Simple configuration’

GRUB_DEFAULT=0
#GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT=”quiet splash pcie_aspm=force”
GRUB_CMDLINE_LINUX=””

# Uncomment to enable BadRAM filtering, modify to suit your needs
# This works with Linux (no patch required) and with any kernel that obtains
# the memory map information from GRUB (GNU Mach, kernel of FreeBSD …)
#GRUB_BADRAM=”0x01234567,0xfefefefe,0x89abcdef,0xefefefef”

# Uncomment to disable graphical terminal (grub-pc only)
#GRUB_TERMINAL=console

# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo’
#GRUB_GFXMODE=640×480

# Uncomment if you don’t want GRUB to pass “root=UUID=xxx” parameter to Linux
#GRUB_DISABLE_LINUX_UUID=true

# Uncomment to disable generation of recovery mode menu entries
#GRUB_DISABLE_RECOVERY=”true”

# Uncomment to get a beep at grub start
#GRUB_INIT_TUNE=”480 440 1″

Step 3:

In the previous file notice the line: GRUB_DEFAULT=0

This line can be interpreted as “the default kernel/os is at order number 0″ which in this case is Kernel 3.0. All we need to do is to change the line from GRUB_DEFAULT=0 to GRUB_DEFAULT=new_order_number.

For example if we want to make Windows as our default OS, the line will be GRUB_DEFAULT=6. If you want to change the default timeout (wait time before it boots into an OS) of 10 sec you can do that by editing the line GRUB_TIMEOUT=10 to GRUB_TIMEOUT=your_time.

Note:

Remember the previous Linux versions? Talking about the example given in Step 1, if we want Linux Kernel 2.6.37 to be our default we need to change GRUB_DEFAULT=0 to GRUB_DEFAULT=2>4.

Here the previous Linux version is at position 2 and Linux Kernel 2.6.37 is at position 4 inside it.

Step 4:

After changing the grub file, save and close it. Now run the following command:

sudo update-grub

Afterwards, reboot the computer. Enjoy :)