Category Archives: Tips and Tricks

upgrading-ubuntu-10-10

How to Upgrade from Ubuntu 10.10 to 11.04

Ubuntu 10.10 had released, few (~6) months ago, now Ubuntu 11.04 is the next version, scheduled to release on April 28, 2011. Ubuntu 10.10 (Maverick Meerkat)/10.04 (Lucid Lynx) is based on GNOME Desktop, while Ubuntu 11.04 is using Unity Shell/Desktop (with GNOME Application suite). If you are thinking to upgrade your Ubuntu 10.10, to it’s next version, 11.04 (Natty Narwhal ), then First make a backup and wait for few days, until the stable version of Ubuntu 11.04 comes out.

Ubuntu 10.10 is based on gnome 2.3, if you will upgrade , then unity will become the default desktop. The new desktop ‘unity’ is the major change in the next version, everything else is almost similar to previous version, or else if you are bored with old classic interface of gnome 2.3 then you can try Gnome 3 on Ubuntu 10.10, gnome 3 also looks great!, so instead of upgrading the whole system, you can just upgrade the desktop.

Upgrading Ubuntu 10.10 to Ubuntu 11.04 in few simple steps

step #1 : First of all, prepare a backup of all the files (customized apps, e.g gimp fonts, brushes, plugins) and data, it’s strongly recommended. When you are ready, move to next step.

upgrading-ubuntu-10-10

step #2 : Hit ALT+F2 , a small window will appear, write

update-manager -d

and click on Run Button (you just started the Update Manager Daemon).

upgrading-to-ubuntu-11-04

step #3 : Now,  a new Window will appear, just click on Upgrade button (look at the snapshot, above), then move on..the upgrading will begin.

step #4 : Relax,until the upgrading process is completed. Restart the computer and enjoy Ubuntu 11.04!!

Here is a snapshot of the new Look of your Desktop (Unity with Ubuntu 11.04)!

ubuntu-11-04-snapshot

Universal USB Installer

how to install Ubuntu 11.04 : From USB or CD

Ubuntu 11.04 or Natty Narwhal (code name) is the successor to Ubuntu 10.10 (Lucid Lynx), with a lot of major improvements in user interface and interaction (it’s more slick, fast and better looking than its previous versions).

Ubuntu 11.04 has Unity Desktop as the default desktop (although classic desktops are also available in login menu), instead of GNOME as you expected (because Ubuntu has been using gnome from the beginning). Some other features has been added – e.g Ubuntu Software Center has now ratings (in terms of stars) and reviews(in the form of comments) available for each application, Windows options has been shifted to panel (top),which appears on Mouse Hover…and so on. Ubuntu has now become the most popular Linux distribution among the desktop users. it’s open source, free, user friendly, fast and in short ..it’s a lot of Fun!

Ubuntu 11.04 can be installed in many ways – You can install it from USB(Universal Serial Bus) or CD (or you can just boot your system from Live CD/Pendrive without affecting your existing operating system on your computer). In this post, I’ll cover both the methods – step by step with full explanation – installing Ubuntu from USB as well as from CD/DVD. This guide will help you in installing Ubuntu in parallel with other OS like Windows 7, if you want only Ubuntu, then it’s much easier, but not recommended if you play a lot of Games or you use some softwares that is windows dependent.

Installing Ubuntu 11.04 from USB Drive

step #1 : Download the ISO Image from it’s official website. Select the correct architecture and download the iso file.

Download Ubuntu 11.04

step #2 : Create a bootable USB  using  Universal USB Installer (a windows application that will create a bootable/live USB from the ISO file of Linux Distros, it supports a number of Linux Distros including Ubuntu 11.04 ).

First,  Download USB Installer and execute it, you will get a windows something like this (On Windows 7) –

Universal USB InstallerSelect the Ubuntu 11.04 in Linux Distribution menu and locate the ISO File(You got it in step #1), although in most of the case it will automatically detect it. Now, select the USB Drive, which you want to make bootable, check the format option if you haven’t already formatted it. Then the click on Create button to begin the process..wait for few minutes until the installation process is complete.

Bootable USB for Ubuntu 11.04step #3 : Now restart your computer and boot from USB (If there’s any problem then Change BIOS settings to enable USB booting or change the priority order..). Then select – install Ubuntu to your hard drive from boot menu or click on ‘install Ubuntu’ after live booting from USB. Now a lot of screenshots(That I’ve taken during the installation stage) will help you –

Ubuntu 11.04  - installation

After selecting the language, click on Forward button. In next window, you will be asked to ensure that – your system satisfies its minimum requirements – like 4.4 GB Drive space, and it’s recommended to have Internet Connection (Preferably Wired,Wireless might works but I haven’t tested) during installation (so that it can download the necessary packages and updates)

requirements-ubuntu-11-04

step #4 : Now this is the most critical step, where most people feel difficult in dealing with Ubuntu or any other Linux Distros.

allocating-drive-ubuntu

If you haven’t installed any other version of Ubuntu then you will get only two option –

Option – 1 : Erase Everything and Reinstall – it will delete everything (all the data/files and other OS like Windows 7) and reinstall Ubuntu 11.04 on your hard drive. If you select this option then you can skip few steps, although it’s not recommended, better go for second option.

Option – 2 : Something Else / Advanced Partition – it’s not so difficult as it seems. No files will be deleted and if you are using Windows 7 and want to use both Windows and Ubuntu in parallel, then this is the correct option for you. When you choose this option 2nd,

drive-partition-ubuntuNow select the hard drive(if you have more than one), then the partition, where you want to install. After selecting the partition, first un-allocate/delete, then select that free space and click on Add. Then specify the details like –

  • Partition Type – ‘Primary’
  • File System – ‘Ext4’
  • Mount Point – ‘/’
  • Beginning

drive-partition-ubuntu-1104

Then click on ‘Install Now’ button to proceed.

step #5 : Now Enter some basic information during the installation procedure and hit Forward button.

Your Geo-Graphical Location – Select your country from the Map

select-region-installing-ubuntu

Then, select the keyboard Layout, leave it default if you aren’t sure.

select-keyboard-layout-ubuntu

Then Enter some basic information like – Your Name , Computer Name, Login Info (Username, and Password).

login-information-ubuntu

Then relax (or You may skip some language packs during the installation to reduce the installation time) until the installation is complete.

step #6 : That’s All. Did you expect more steps, sorry to disappoint you.. Restart the computer.

Here is a Snapshot of Fresh installed Ubuntu 11.04 (If you don’t like the default desktop unity then switch to the GNOME in the login window)-

ubuntu-11-04-snapshot

Installing Ubuntu 11.04 from CD

Procedure is same as described above, just skip the 2nd,3rd and 4th steps, Instead of that burn the ISO file to CD or DVD and restart your computer. Then follow the steps 4 and 5 as described above.

If you have any problem during installation, then let us know, Reply through the comment box.

Have Fun! with Ubuntu 11.04

firefox4-home-button

how to move Firefox 4 – home button back to left in Ubuntu

In Ubuntu 10.10/10.04(or may be in 11.04) , the Firefox 4 has placed the home button in upper right corner, but most of us have the habit of clicking Home Button from upper left corner. So the default position of Home button in Firefox 4.0 is creating some sort of problems/difficulties in our browsing experience. That’s why this post will show you how to restore the the position of home button to top left corner, below the address bar.

Firefox 4.0 is simply great! I enjoy browsing a lot with Firefox, after its new release. On Ubuntu or any other Linux distros like Linux Mint 10(or LMDE),Fedora(14/13) the Firefox looks little different(actually bad as compared to the look/layout of Firefox on windows 7). By the way, it is far better than Firefox 3.x(it has a bad record on Linux Distros).

Move Home Button To Left

firefox4-home-button

#1 : Right click on the home button and select customize,a new window will appear with a lot of buttons(see the 2th snapshot). Now select any buttons you want to move/add/remove.

firefox-4-buttons

#2 : Now,the navigation bar buttons becomes adjustable i.e you can drag and drop buttons along the bar. IF you want to add any button then just drag and drop it to the desired location. Drag the Home button from right corner, and drop it to left upper corner. Finally click on ‘Done’ button in the customize toolbar window to save the changes. That’s all..the home button on the left navigation bar(below the tab) will look something like this –

firefox4-home-button-left

gedit -

TextMate for Ubuntu Linux

TextMate is one of the most popular text editor, available only for Macintosh Computers(Mac OS X). If you have ever used the TextMate on Mac OS, then surely you always want to stick with it, probably due to its simplicity, productivity and features.

But the problem is that “TextMate is a Mac Application, the default a proprietary text editor for MAC OS X and it is not available for any other operating system”. Well! then how will we use it on Ubuntu 10.04/10.10/11.04 or Linux Mint or Open Suse or any other Linux based OS ?  The simple solution is – To mimic the look,layout and features of TextMate, so in the end of this post we will get a TextMate like text editor. Programming is complete Fun!, when you have TextMate like a powerful code editor (Emacs, Vim, gedit, TextMate etc), rather than a bloated and painfully slow IDE.

Why TextMate is So Popular among the Programmers ?

  • it is simple to use
  • Syntax Color Scheme is great
  • Auto completion of code(e.g brackets, snippets)
  • looks great
  • it is light weight and fast
  • it increases productivity
  • File Browser, it’s easy to find the source files easily

gedit - textmate

Linux based Distributions (in short ‘distros’) have the default(GNOME based distros) text editor named – gedit, a free and open source text editor with a lot of powerful features and flexibility to extend the functionality by means of plugins. Therefore we are going to transform the gedit to textmate in few simple steps, so that gedit text editor will finally look (and almost behave) like TextMate. Actually you can customize gedit not only on Ubuntu but also on other Linux based distro, that uses gnome desktop or having gedit packages installed on the system.

Transforming gedit to TextMate in 4 simple steps

#1 :  Install gedit plugins

To install extra plugins, type the command at the terminal/command line/shell, followed by login password(If required) –

sudo apt-get install gedit-plugins

#2 : Install TextMate Fonts

Download the font – Monaco,which is the default font used in TextMate. Then copy it to home->username ->.fonts (hit CTRL+H to see hidden files).

#3 : Install Syntax color Scheme

download the DarkMate theme coloring scheme and install it from gedit. To install open gedit and click on Edit -> Preferences -> Font & Colors. Then click on Add button and locate the download file(darkmate.xml).

#4 : Install File Browser plugin

Download the class browser plugin ; Extract it to FileSystem-> usr-> share->gedit2->plugins. Then activate it by select the check box from gedit(Edit->Preferences->Plugins). Here is one snapshot ..if you have any doubt(or reply through comment,in case of any problem).

gedit-plugins

#5. Auto Completion (with Esc) and Tab Completion (expand code snippets using tab triggers)

With the gedit-plugin package, you will also get the snippets plugins, just enable that plugin – to enjoy tab completion.

Auto completion is another cool feature – that looks up the source code for auto completion of a variable_name (using Esc key) – so that you don’t have to type the full lengthy name.

Download textmate style autocompletion for gedit

To install the plugin, first extract the package and run install.sh. Finally, you just need to enable it from gedit -> preferences ->plugins.
Update! Try GMate plugin it’s great! See gedit plugins for Rails Developers for more details, #5 added.