Category Archives: Ubuntu 11.04

All about Ubuntu 11.04 – Natty Narwhal, Applications, Softwares, Tips and Tricks, How to guides.. and other stuffs related to Ubuntu 11.04.

gufw - firewall configuration tool

firewall for ubuntu 11.04

A Firewall is a program (software) or a device which allows us to set different types of rules for a network i.e how the packets will be treated at different ports ..and it’s very widely used in protecting a computer from unauthorized/unwanted access through a network. Due to an exponential growth in computer related crimes, Firewall is a mandatory application for every computer users.

Ubuntu 11.04 – Natty Narwhal or any other Linux distros is very secure by default as they have built in firewalls running by default. So normal Ubuntu users do not need any firewall (Unlike the windows users do because Windows is insecure by default! , Comodo is an excellent firewall for Windows users) in order to protect themselves from crackers or hackers or cyber criminals.

firewall-configuration for ufw

Advanced or ‘geeky’ Ubuntu users may need (or they just want to do that for learning purposes) to set inbound and outbound traffic rules/policies manually for any ports (I mean virtual or software ports), In that case you just need to use UFW (Uncomplicated Firewall; a frontend of IPtables, which works as an interface to netfilter (Package Filtering System provided by Linux Kernel)) , which is installed by default on all Ubuntu versions, but by default it has only Command Line Interface. So in this post you will learn how to install a front end for UFW, Firewal Configuration (gufw), to manage and configure UFW easily in GUI mode. gufw is a simple (probably the best and fast) firewall configuration software that works! and got 5 star in Ubuntu Software Center ratings. You may need to enable (by check the square box) the universe repository in Synaptic Package Manager -> Settings ->Repositories -> Ubuntu Software .

how to install Firewall Configuration Application – gufw on Ubuntu 11.04

#1 : Open Ubuntu Software Center and search for ‘gufw’.

installing-firewall on Ubuntu 11.04

#2 : Then, click on install button in the search result, and enter your login password if required.

#3 : Now, wait for the installation to complete ..relax it will hardly take a minute..

#4 : That’s All..

Alternative Way – Install gufw from Command Line / Terminal

If you enjoy terminal on Ubuntu then the best way to install is to use terminal/shell (bash). Open terminal (CTRL+ALT+T) and enter the command(s)  –

sudo apt-get install gufw
Clementine Media Player

best music player for ubuntu

Note : It’s a very old article.

Ubuntu 11.04 (alias : Natty Narwhal) was released(stable/final version) around a week ago and now it’s the time to install some great and cool applications that you need in your daily life. In this post, I’ll write about few best ‘free and open source’ music player (both Audio and Video) that you may want to try on Ubuntu 11.04 for great music experience.

In fact every music lovers, those who uses Ubuntu 11.04 (or older versions like 10.10 or 10.04; or may be other Linux Distributions, then also this article will help you because the apps I’m going to write about, is platform independent and surely available for most common Linux distros like Linux Mint, Fedora, Debian, OpenSuse..and of course Ubuntu!), uses these applications to play music on Ubuntu (or other platform if it’s a cross-platform apps). There are lot of Music Players available free under open source License (like GPL) e.g VLC, Clementine, Amarok, Rythmbox, Juk, Quark, Muine, Exaile, Audacious, Banshee Media Player, Totem …you name it. So it’s not so simple to select a music player Apps from the Ubuntu Software Center.  Ubuntu 11.04 has banshee media player, installed by default, while 10.10 (Maverick Meerkat) or 10.04 (Lucid Lynx) uses Rythmbox as default music player.

Best Audio Player for Ubuntu 11.04/10.10 : Clementine

Clementine is based on Amarok media player, and commonly used to play mp3,ogg songs. it has a lot of sophisticated features like smart/dynamic playlists, internet streaming, ..all the features you expect from a modern music player, with simple and easy to use interface. it’s a cross-platform,free and open source music player. Now, it as been added to Software Center/Synaptic package Manager.

Clementine Media Player on Ubuntu

How to install Clementine Media Player on Ubuntu

#1 : Open Ubuntu Software Center and search for ‘clementine’ and click on install button (Then you may have to authenticate yourself, by entering your login password).. and wait for the installation to complete.

#2 : Sorry to disappoint you :) more steps is required, Enjoy!

OR Enter the command at Terminal (hit CTRL+ALT+T to start a terminal)

sudo apt-get install clementine

(Update : One more Music Player Added)

Lightweight Music Player That You should Try : Audacious

Audacious Music player

Audacious is one of the most popular mp3 player among the Ubuntu users. It consumes very less resource and the audio quality is pretty good. The look is very similar to Winamp player (Most popular music player on Windows XP/Vista/7..). It has a lot of good features, with simple and easy to use graphical interface.

sudo apt-get install audacious

Best Video Player for Ubuntu 11.04/10.10 : VLC

VLC is the most popular video player on this planet. it is freely available for Linux, Windows and Mac OS X. VLC supports a lot of file formats (video/movies as well as audio stuffs), that’s why it is known as ‘All in One’ media player. VLC has been developed as maintained under VideoLan project. it’s available in Software Center, go there and install vlc in a couple of clicks. (If you are still not sure then go to – how to install vlc player on Ubuntu 11.04 for detail step by step instruction, specially written for novice users)

VLC Best Video Player for Ubuntu

If you use online music sites very frequently and need a tool for downloading SoundCloud music tracks then check out this SoundCloud Downloader


how to compile and run C/C++ program on ubuntu 11.04

C/C++ is one of the most popular programming language, mostly used in system programming (system software development e.g Most of the modern operating systems are programmed (primarily) either in C language or C++). C is a High Level language as compared to Assembly program, so it comes in the middle of Assembly and Java like High Level Language… That’s the beauty of C – it’s very easy to write program in C as compared to Assembly programming and fast execution time as compared to Java.

By default, Ubuntu 11.04 (code name:=Natty Narwhal) or any other Linux Based Distribution like Fedora, Linux Mint(10 or 9), Debian etc.. are very good for programming purposes(e.g C, C++, Java, PHP, Perl, Scripting, Ruby etc.). A lot of free and open source tools like IDE, debuggers are available which will makes the programming a lot Funky, with Ubuntu. In this post you will learn how to compile a C/C++ program on Ubuntu 11.04, from command line, you can also use some IDE like Eclipse, NetBeans if you want (but it’s not recommended for beginners). Ubuntu 11.04 comes with gcc(GNU Compiler Collection), installed by default which is one of the most widely used modern C compiler.

Compiling and Running C program on Ubuntu 11.04

#1 : Write a program, better use gedit (The Default Text editor). Right click on Desktop and create a new file – ‘fun.c’ and copy the code, given below and save it (CTRL+S). (C programs have the extension .c while C++ programs, have .cpp, although it’s a different fact that Linux doesn’t recognize file based on their extension but some applications may do that and it also avoid confusion, so better use proper extension)

void main()
/* Don't take it seriously, it's just for Fun! */
printf("Have Fun!\n");

#2 : Now you compile the program using GCC compiler (I think it’s installed by default in most versions in Ubuntu, but if it’s not the case then install it by typing – sudo apt-get install gcc at terminal). Open the Terminal (CTRL+ALT+T) and type the command (First move on to the directory where your file is located, I assume you have created the file on Desktop, If you are an absolute beginner – Learn Some basic Linux Commands).

cd Desktop
gcc fun.c -o fun1

The -o option (specifies the Output File Name) in the following command is optional, but it’s a good practice, because if you won’t specify that – then a default a.out file will be created (which will eventually overwrite older a.out file in that directory).

#3 : Execute/Run the program. Type  –


#4 : That’s all. Here is one snapshot of output terminal –

compiling-executing-c-programCompile and Run C++ program

To compile C++ program, you may need to install g++.

Installing g++ compiler on Ubuntu 11.04

sudo apt-get install g++

Then all the remaining procedure is almost same. Just replace gcc by g++ from the above tutorial and instead of a basic/simple c program, use C++ program.

g++ file_name.cpp -o fun2

Mac OS X Theme for Ubuntu 11.04

Mac OS X has been the most popular operating system, if we consider the look (of course! it’s good looking but not if we think in terms of Performance or Security or Features – Ubuntu is far better!); probably due to its robust – layout, design and typography; and cool charming icons (Mac OS X Leopard Icons). That’s why most of the snapshots you see in Application/software releases, uses Mac OS (with the assumption that the particular Apps/Software is supported with Mac).

On Ubuntu 11.04(Natty Narwhal), if you are using Gnome Desktop then customize it in the same way as you did in Ubuntu 10.10 (Using Macbuntu in Ubuntu 10.10 – Lucid Lynx), but it may vary if you are using Unity Desktop probably due to Unity shell/Interface. But don’t worry Gnome 2.3 themes is also supported with Unity. You just need to download the theme package (*.tar.gz) and drop it on the ‘Appearance -> Themes window’. If the package is properly configured, then it will display a message like – ‘New Theme Installed Successfully’. So in this post, you will learn – how to get mac like look on Ubuntu 11.04‘ i.e transforming Natty Narwhal to Mac using a simple theme.

Performance of 'Ubuntu 11.04' + Appearance of 'Mac OS X' => Great Experience


Installing Mac Theme on Ubuntu 11.04

step #1 : Download the Mac Theme package – named as : ‘Not Mac’.

Download Not Mac Theme for Ubuntu 11.04

step #2 : Now install the downloaded theme using- just Drag and Drop method i.e drag the ‘139967-Not Mac.tar.gz’ theme file, and drop it to ‘Appearance -> Theme window’ to install. You will get a message – like ‘Keep the Current Theme’ or ‘Apply New Theme’, so select second option to try now or you can select it any time from the theme tab under appearance settings.

step #3 : That’s all..enjoy the cool and beautiful look of Mac on Ubuntu, with a lot of Fun!

If you want the Ubuntu 11.04 to look more closer to Mac OS X then better use Gnome 2.3 Desktop (select it at login prompt, it’s already installed by default). Here is another look – of Gnome Desktop with Mac Theme –