If you want to provide extra security to some very important content on ubuntu then follow these steps to password protect those content.

1) You have to install a utility called "encfs".

 For that fire this command:

sudo apt-get install encfs

2) After successful completion of above command we are ready to create encrypted directory.

The utility encfs will create one directory which contains the encrypted files and one directory where the files are unlocked and accessible.
The syntax for encfs is: encfs <path to encrypted directory> <path to visible directory>

For example, I wish to have a directory in my home directory called visible and another one called encrypted. Therefore I could write:
encfs ~/.encrypted ~/visible  

Above command will ask for password to encrypt data.  
Make sure you remember this password because if you will forget this password then even you will not be able to access your very important data.

3) After entering password ~/visible directory will be mounted and you can drop in your important data to this directory.

4) Now one you have stored your data to ~/visible directory you can close (or umnount) ~/visible directory using following command.

fusermount -u ~/visible

Now after unmounting ~/visible directory you will not be able to see any data in visible directory. But you can find encrypted version of that data on ~/.encrypted directory (.encrypted is a hidden directory so to see this directory enable "show hidden files" option from nautilus preferences). 
5) Now if you want to show the data in ~/visible directory then you may fire following command which will again mount ~/visible directory.(Yeah of-course it will ask for password to decrypt data. :) )

encfs ~/.encrypted ~/visible

Recently I have seen few of my friend being the victim of malicious links on Facebook. Such incident puts a person in very weird situation. So here's I'm going to focus on a must have Facebook app to secure to yourself from such malicious links. 

It's an app from IT security vendor F-Secure names sharesafe . Initially this app will ask for few basic permissions. After allowing that permissions you can share link via this app. Before posting links to your wall this app will scan the link first and it will only post it on wall if the link is safe. It is also preferable that before clicking on suspicious link you scan that link using this app. :)    

Click here  to go to this app and enjoy safe Facebooking. :D

Hi friends.  Going to write about one all time best powerful text browser named Lynx.

Now let me explain the title first. "See how search engines see your site". This is not what I'm saying this is what the great Google says.Read this paragraph:

Use a text browser such as Lynx to examine your site, because most search engine spiders see your site much as Lynx would. If fancy features such as JavaScript, cookies, session IDs, frames, DHTML, or Flash keep you from seeing all of your site in a text browser, then search engine spiders may have trouble crawling your site.

You can find above paragraph on Google's Webmaster Guidelines. 

Because of the speed and some more powerful feature of such text based browser they are perfect for search engines. So if you are a webmaster then you better check how your site appears to search engines.

Since Lynx is a command line tool one more positive of such browser is that it can utilize all power of command line.  For example

lynx -dump mysite.com 

command will dump whole text and links from the homepage of mysite.com.

Now if we want list of all links from this page then we can pipe the output of above command to grep utiliy as shown below:

lynx -dump mysite.com | grep -o "http:.*" >file.txt  

Above command will write the list of all links from home page of mysite.com to a text file names file.txt.

This is how this blog looks in lynx:

You can download and install Lynx from here.

Debian based system user can also try following command:

sudo apt-get install lynx

Leave comments in case of any trouble or suggestions....:)

I has been looking this tool as featured item in my software center but didn't give it a try. Finally today gave it a try today and find out that it's an awesome tool.

There's a long list of it's features given on it's site. Click here to check out features,screen shots and videos.

To install Openshot on Debian based systems like ubuntu,mint fire this commands:

sudo add-apt-repository ppa:jonoomph/openshot-edge
sudo apt-get update
sudo apt-get install openshot openshot-doc
Non-debian Linux users can download and install openshot from here.  
You can also find source-code from the same link. 

Here is the home page of openshot site.
In this post I'm going to show you a trick to block unwanted sites on your linux system. For this method we don't need any third party tool.
To block a site names "abc.com" follow these instruction:

Open the file /etc/host in any editor with root privileges. For that fire following command in terminal for debian based system like ubuntu:

sudo gedit /etc/host 

This will open /etc/host file in gedit.

At the end of this file add a new line entry like below: abc.com

(Note: here replace abc.com with the domain name of the site which you want to block.)

And done .... now try to open that site on your browser and your browser will tell you "I'm unable to connect..." :D .

Make sure you are testing with exact domain name means if you have added entry of abc.com then it will not block www.abc.com . You have to add separate entry for www.abc.com....

Before writing anything let me clarify that these top 10 are according to my opinion so kindly forgive me if you don't find your favorite in this list....:)

Okay now here goes the list: 

I'll not number them because all are my favorite....:) 

Adblock Plus

It's one of the most famous firefox add-on since a long time. Adblock Plus blocks unwanted , irritating adds. 
Read more and install this add-on

Video DownloadHelper

This is the best video down-loader add-on for firefox according to me. If you haven't used it yet then just give it a try.
Read more and install this add-on


You can edit, debug, and monitor CSS, HTML, and JavaScript live in any web page using this add-on. Must have tool for web designers. 
Read more and install this add-on


This is a mouse gesture extension which enables us to execute browser commands like go backward, go forward,close etc just by the movement of mouse. Really cool...
Read more and install this add-on 

If you have installed gnome shell on your linux system then initially we are provided with suspend menu item as shown in below snapshot.

So we need to logout from the gnome shell first and then only we can shutdown the system.

I come across a gnome shell extension using which we can enable shutdown option in Gnome shell as shown in below snapshot.

The extension is available on Gnome extension site : https://extensions.gnome.org/extension/14/shut-down-menu/

To install this extension just click the toggle button provided on the above link's page. This will ask you to install extension.

In this post I'm going to introduce a cool tweak tool for Unity. The tool is MyUnity.

- Adjust the launcher's properties like transparency, width, it's display animation etc..
- Adjust properties of dash window like it's size , blur etc...
- Adjust transparency of top panel.
- Adjust font properties...

To install this tool fire following commands in your terminal...

sudo add-apt-repository ppa:myunity/ppa 
sudo apt-get update 
sudo apt-get install myunity

To install tomcat 7 you must be having JDK installed on your system.

So for that you can download and install JDK from here.
Alternatively for debian based systems(like ubuntu,mint) you can also fire this command to install JDK:

sudo apt-get install sun-java6-jdk  

Now to install tomcat follow these steps:

1) To download and extract tomcat package fire these commands:

wget http://apache.hoxt.com/tomcat/tomcat-7/v7.0.23/bin/apache-tomcat-7.0.23.tar.gz

tar xvzf apache-tomcat-7.0.23.tar.gz

You can also download and install tomcat package manually from the above link. 

2) Now we'll move this extracted files to some permanent location. For that fire following command.

 sudo mv apache-tomcat-7.0.23 /usr/local/tomcat 

This command will move files to /usr/local/tomcat directory. You can choose any other location also because it's linux and it's not rigid like windows...;) :) .

3) Now to use tomcat we also need to set JAVA_HOME environment variable. For that fire following command .

gedit ~/.bashrc 

This command will open .bashrc file in gedit. You can use any other editor than gedit also. 

Now at the end of the opened file add following lines:

export JAVA_HOME=/usr/lib/jvm/java-6-sun  

Here /usr/lib/jvm/java-6-sun is the path of JDK. Make sure that you change it if you are using a different version of JDK.

Now we are done with installation part.
To start tomcat execute startup.sh file from tomcat/bin directory.

To chec whether tomcat is working or not open browser and try to access localhost on port 8080 by writing following in addressbar.

It should show up with tomcat welcome page as shown in below snapshot.

Leave comments for any trouble and suggestions....:) 
It looks like chrome, safari and Firefox's new competitor getting stronger (Sorry but I personally don't consider IE in competition. :P).  We are talking about opera's latest version 11.60 code named as "Tunny" and this is my first post from tunny :P . Okay now let's take a look at new features of tunny. 

- Enhancements in Built-in mail client... Yeah they are giving built-in mail client to      manage your emails easily.

- New browser engine which provides faster and stable Internet experience.
- Address field is revamped with search suggestions, a bookmark star for faster bookmarking and speed-dialing.

You can see complete change-log from here.  

This is an introductory video of opera:

You can download opera 11.60 (tunny) from here.

Hi all...

In this post I'm going to introduce a cool site to create flash based sites for free. First of all let me clarify that if you prefer appearance over performance then only continue reading because this site is only to create flash based sites and flash based sites are often very poor at performance point of view but at the same time you can get better appearance with less efforts.

The site is wix.com.

This site itself is a flash based site so please give it some time to load itself....:)

You need to sign up for start creating site. After signing up you will get lots of free ready made flash site templates. You can choose any template of your choice and edit it according to your need.
 Here is a short analysis of the site.

+ves : 
- Large number of ready made templates
- Excellent web based editor named (wixexpress) to edit templates
- You can create cool and attractive site with comparatively very less time.
- No programing skill needed.

-ves : 
- Poor performance 
- Although it provides large number of templates, we are still restricted to these templates and their edited version.

I recently come to know that team viewer's new version (7) is released for windows based platforms only. There many new features in this version. Few of them which I liked the most are as follow:
-Faster drag and drop to and from remote system.
-Multi-monitor support.
- Integrated screenshot feature.

You can find the whole list of new features from here.

To go to download page of teamviewer 7 click here.

As we know that in latest version of ubuntu (11.10), the default email client is Thunderbird and not the Evolution. Now one point where you might find Thunderbird lagging behind Evolution is that it is not having Calendar support by default.

But fortunately Firefox is providing an add-on for Thunderbird mail client to organize your events and calender which is almost similar to Evolution's calender. The name of the add-on is "Lightning".
This is how it looks like.

If you are ubuntu (or any Debian based system) user then you can add this add-on from here.

For remaining users (including windows) you can download this add-on from here. But add-on downloaded from this second link is not compatible with latest version of Thunderbird  at this moment.

Recently I updated GNOME shell to version 3.3.2. Unfortunately after this update I find out that all my older GNOME shell extensions were uncomputable with newer version.

So to make these extension compatible with newer version (or any other version) here I'm going to show a trick. Yeah it's a trick ...not an official method to do this. Also there is no guaranty that all the older extensions will work properly with newer version of GNOME shell by this method.But many of them works well. :)

To fix it follow these steps:

1) First of all there are chances that all your older extensions might be removed after update. In such situation  you have to download extensions of your choice again.

2) Now once downloaded place them in directory "~/.local/share/gnome-shell/extensions". If there is no such directory then create one and extract extension here.

Make sure that you have enabled "show hidden files" option in your file manager because ".local"  is a hidden directory.

3) Now comes the real trick. In the extracted directory of the extension find a file named "metadata.json". Open this file with any text editor.

4) Now to find out the version of your GNOME shell fire following command in the terminal:

gnome-shell --version

5) Now again look at the metadata.json file. In that file you will find parameter named "shell-version". Set the value of this parameter to your current shell version.

We are done ... now open advanced settings and in extension tab you will find this extension compatible. You have to change "shell-version" parameter in matadata.json file of each extension.

"MATE" is a fork of GNOME 2 which is the default desktop environment of one of the fastest growing Linux flavor "Linux Mint".

To install MATE environment on your existing ubuntu system follow this steps:

1) To ad linux mint repository to your repository list open terminal and fire following command:

sudo gedit /etc/apt/sources.list 

This comand will open a sources.list file in gedit. Now in the opened file paste following lines at the end:
deb http://packages.linuxmint.com/ lisa main upstream import

Save and close the file.

2) Now fire following commands:

sudo apt-get update
sudo apt-get install linuxmint-keyring 
sudo apt-get update 
sudo apt-get install mint-meta-mate

After successful execution of these commands you are having MATE installed on your system. Now to use it logout and at the login screen choose Mate as desktop environment before login.
Hi friends.

Today I'm going to introduce a cool tool which can convert any site into a desktop application. Once you have created that application for a website then you don't need to go to a web browser to open that site. You open site as an application by simply clicking on it's shortcut.

The tool is Prism. Those who had used older version of ubuntu might be already knowing about Prism because at that time ubuntu was giving Prism by default.

To use prism follow these steps:

1) Go to this link: http://prism.mozillalabs.com/started/

2) Here you will find two links. One for installing Firefox extension. But this extension may not be compatible with latest version of Firefox. So we will concentrate on the other alternative that is downloading Prism application. So using second link download Prism. 

3) Now extract the package.

4) In extracted package you will find a binary file named prism. Click on it to start prism. Which will pop up a window as shown in below image.

5) Now in URL field enter the URL of the site which you want to convert in to an desktop application and give you application a name. Make sure you check the checkbox for shortcut location.

6) On clicking OK your application is ready and you will find an window as shown in below snapshot which is the application window of your website application.

7) Also you will find an shortcut like with .desktop extension on your desktop as shown in below snapshot. So you can open your application any time by clicking on this shortcut.

Leave comment for any doubts or suggestions.
This one is for empathy users.....

For those who are not knowing what empathy is: Empathy is a well known chat client for linux systems. For more information go here.

Okay now coming back to original discussion....

If you are bored of using default themes of empathy and want to try some new themes then you can download new empathy themes from here.

To use these downloaded themes extract the downloaded package. Now from that extracted folder copy the folder having name "*.AdiumMessageStyle" (here '*' indicates any string) ans paste that folder to "~/.local/share/adium/message-styles" folder (create this folder path if you are not already having). Here "~" indicates your home directory.

Now after doing this you can choose these themes from Empathy's preferences -> "Themes" tab.

Below are links to some of my favorite themes....


Leave comments if you got any doubts...:)

I was wondering why Google has not made Gtalk available on Google+ since they launched G+.

Finally it's the time....Today I login to G+ and find out the chat among circles option..
So now we can chat with G+ friends same as we used to do with our Gmail account....

Good news...:)
Google's new innovative project...... :)

Yeah it's for converting flash (.swf) animations in to HTML5.

Now what is the benefit of converting flash files to HTML5??? The answer is that using HTML5 flash authors can show their flash animations without any external plugin to your browser.

Right now it's in Beta version and works for any SWF file having size less then 1 MB.

Adobe Flash extension for swiffy is also available.....

To check it out click here.

Click here to see some samples converted using swiffy...

If you have not never heard about Xubuntu before then let me clarify that Xubuntu is one flavor of Ubuntu having Xfce  as default desktop environment.
Xfce is lightweight dsktop environment for Unix-like systems..

Click here to know more about Xfce.  

Now if you want faster system then you should seriously try Xfce desktop environment. To use it you can either download live CD of Xubuntu OS from here or you can add Xfce /Xubuntu desktop environment on your current Ubuntu system also....and it will not overwrite your current desktop environment like Unity means you can use any of them.

Now to install open terminal and type in following commands in terminal:

sudo apt-get update
sudo apt-get install xubuntu-desktop

Now to use Xfce/Xubuntu environment logout from your current session and at the login screen choose Xfce/Xubuntu from the list of available desktop environments and login again....

You can uninstall Xubuntu-desktop anytime using following command:

sudo apt-get remove xubuntu-desktop.

Now you can create pages for your business, products or hobbies same as Facebook pages....

To create a Google+ page sign in to your Google+ account and then in the right side bar you will find a ink as "create a google+ page". Follow that link..

Then choose the category of your page....

After that fill up the name of the page and website (if any) ... accept terms & conditions and click "create".

That's it...:)

Talking about terminals again.....:P

In this post I going to introduce a tool which will make dealing linux commands easier and faster.
The tool is CLI companion.

- Some basic commands are already defined in tool so to fire a command we are just suppose to click on command.
- Search box is also added using which we can search commands easily
- Also we can add new commands to the tool
- I shows terminal also so that we can know that what exactly is going on behind the GUI.


Debian user fire following commands in terminal:
sudo add-apt-repository ppa:clicompanion-devs/clicompanion-nightlies
sudo apt-get update
sudo apt-get install clicompanion

Alternatively you can download CLI companion from here.

Writing this post specially for linux newbies.

One of the follower of this blog requested me to help him learn linux commands & terminal. So this is an attempt to fulfill his request...:)

So here we go.....

If you are already familiar with window command prompt then it will be very easy for you to learn linux commands and you will start enjoying it very soon.....:)

We can say that linux terminal is similar to window's command prompt but linux terminal is far more powerful then command prompt that is for sure.... Terminal is basically an application which provides an interface to fire linux commands.

One more thing which I would like to clarify is that if you are not knowing commands then it doesn't mean that you can't use linux properly because today's almost all linux flavors are having powerful GUI tools for all general purpose linux commands but knowing commands will definitely make you feel closer to your system. 

One more thing is that as I mentioned earlier linux command world is far larger than windows' so you can't expect that you will be knowing all the commands in very short time. You have to be patient and keep exploring it. The more you explore the more you learn.

Also don't try to mug up syntax of any command  whenever you get confused just fire this command :"man <command_name>" (replace <command_name> with the name of the command)

This command will open manual page of the command specified as argument.
Manual pages gives the information about the usage of the command specified by "command_name".

These are some very useful links to learn linux commands.  

This is the directory of all linux commands:

If you are already familiar with windows command prompt then this link will make the task of learning command far more easier for you.

Following site is having video tutorials for the same:

Few more useful sites:

Also there is an useful tool which you can use in place of terminal click here to read more.

Comment here fro any suggestions or questions......:) Enjoy linux......:D

Hi all...

In this post I'm going to show you that how to enable multi language  support in ubuntu.

Canonical is working on translation of more that 200 languages. This is the list of the languages on which canonical limited  is working:

As you can see from that link, many languages are translated over 90%.

Now here are the steps to use multiple languages in ubuntu: (Screen-shots are of ubuntu 11.10)

1) Click Dashhome and search for term "language". You will find "keyboard layout" as second result. Open it.

2)Now in keyboard layout click on  "+" button. Which will open list of available languages.

3) Now from that list search for your language and click add button. And we are done.

4) Now on the upper right corner you may find list of enabled languages from which you can select your current language.

Started playing with ubuntu 11.10...........:)

So here i'm going to show you that how to change the background image of login screen (or greeter screen) in ubuntu 11.10.

In one of my previous post have shown that how to change login sceen background of older ubuntu versions. http://pcguide4you.blogspot.com/2011/03/changing-login-screen-background-in.html

But for ubuntu 11.10 the method is different and comparatively simple.

For that fire following command in ur terminal:

gksu gedit /etc/lightdm/unity-greeter.conf

Now this will open config file of unity-greeter in gedit.

Now in that file set the "background" property value equals to the path of the image which you want to set as your login screen background image.

You can also change the logo by changing the next property "logo" to an image having your name....

Hi everyone again......

Just before 1 hour I installed ubuntu 11.10 on my system. It's really cool ....same as every linux system...:)

There are many positives and few negatives also. One of these negative is that ubutnu 11.10 doesn't having GNOME.

Here I'm going to give you few commands using which you can install GNOME 3 on ubuntu 11.10.

I also tried to install GNOME 3 on ubuntu 11.04 but it didn't go well ans also corrupted my unity so I didn't posted about that.  But on ubuntu 11.10 GNOME 3 is working perfectly and it's really cool...

So here are the commands:

sudo add-apt-repository ppa:webupd8team/gnome3
sudo apt-get update
sudo apt-get install gnome-shell gnome-session-fallback
sudo add-apt-repository ppa:ricotz/testing
sudo apt-get update
sudo apt-get install gnome-tweak-tool gnome-shell-extensions-user-theme
sudo apt-get install gnome-shell-extensions-alternate-tab gnome-shell-extensions-alternative-status-menu gnome-shell-extensions-user-theme gnome-tweak-tool gnome-shell-extensions-workspace-indicator gnome-shell-extensions-apps-menu gnome-shell-extensions-drive-menu gnome-shell-extensions-system-monitor gnome-shell-extensions-places-menu gnome-shell-extensions-dock gnome-shell-extensions-native-window-placement gnome-shell-extensions-gajim gnome-shell-extensions-xrandr-indicator gnome-shell-extensions-windows-navigator gnome-shell-extensions-auto-move-windows 

Now to use GNOME 3 environment you may logout from your current session and the  at the login splash screen choose gnome 3. You can also choose "gnome classic" environment from the same list...
 Feel free to comment in case of any doubts or troubles.....
I just come to know a cool package for Linux users using which you can feel real Matrix Digital Rain on your Linux terminal.  

It's cmatrix. Really very nicely done by the programmers of cmatrix. Again it's open source so if you are interested then you can play with it's source code also. :) 

Now coming to the point. You have to install cmatrix. 

For that fire following command:  
sudo apt-get install cmatrix  

Now just type "cmatrix" in terminal and you will find result similar to this screenshot. For more realistic effect keep your terminal window background color black.

You my refer man page of cmatrix to play with more options. 

Here is the official page of cmatrix.
Now this one is highly technical stuff.....

I just designed a simple bootloader which will display "Hello world!" on your screen at the time of boot.

I have tested following steps very well on my sysstem but still you are at your own risk.

1) Download following two file:
bootsect.s file contains assembly code for boot-loader which will be compiled using Makefile. 

2) Now copy these files in any empty folder. 
Hi again all....

Now all you blogger users out there, this one is for you.... sorry for us...:P (I'm also a blogger user...).
Our own blogger has recently come up with new kind of templates named as "Dynamic views". Blogger developers has designed seven different cool view which your blog visitor can change dynamically.

If you haven't tried this dynamic views yet then for old blogger interface go to "design" tab & "blogger template designer" sub-tab.
For newer blogger interface go to template menu.
There you will find new blogger dynamic views which you can apply to your blog.

This views are designed using latest web technologies like HTML5 , CSS3 & AJAX so they can give good performance on  newer versions of browsers.

Also this dynamic views were not working properly in chrome-linux combination of my system although it's working good on my Firefox.
One more thing is that this dynamic templates are not supporting widgets so if you are work without widgets then these dynamic templates are really cool & awesome..... :D

Woa woa woa..... see what these FB people are upto .....:o

We have been experiencing lots of small changes since last few months.... But now it's time for a big one.... :o  and that is Timeline... You'll be enjoying a completely new look in the form of Timeline in the near future.....

But if you can't wait & just want to try it right now then you follow the instructions given on following link


at ur oun risk....:P

I have tested and it's working ... ... :)

To know more about Facebook Timeline feature follow this link ...

Here I'm attaching snapshot of my new profile oops.. sorry "Timeline"... :)

Comments are most welcome.......:)
In my previous post I shared my Infosys interview experience. This post is again about interview...:p This time going to share my Cognizant interview experience. Cognizant visited our college just on the next day of Infosys's visit.

Again interview procedure was mainly in two phase...

1) Aptitude test: 
- Again No technical questions.....
- Questions were based on logical reasoning, verbal ability & quantitative aptitude. But verbal section was really tough...

2) Personal Interview: 

This one was not so easy as Infosys one...   It took around 20 minutes....

Here it goes.....
Me: May I come in sir?

Interviewer: Yes, come in vatsal.... (Yeah he used my name..) 

Me: thank u sir.. 
(He took my resume in his hand....)

Interviewer: So you was a good performer in 10th & 12th ..... What about graduation???  (Since I was having 91 & 83 % in 10th & 12th respectively, in B.Tech my PPI is 7.8 /10 )
(So he wanted to know my opinion about my performance....)

Hi again ....

This time going a little bit off track.... but this post will be really useful for freshers....

Before 2 week back to back two companies visited our college. So just going to share Infosys  PI experience in this post. I'll share cognizant experience in next post.Really sorry for sharing late...:)  

Infosys experience: 

Placement procedure was in 2 phase.
1) Written test: 
- Only general aptitude questions. No technical. 
- If you think your apti is weak then it is preferable to keep CAT,GRE persons around you.... ;) 

2) Personal Interview: 

Since it was my first PI , I was feeling a little bit nervous & my PI was second in my panel so didn't get chance to ask someone about what interviewer is asking.....:P 

Infosys interview was a short one of around 5-7 minutes....

Here's how it went....

Today I' going to share a cool software package to synchronize your documents between your different digital equipments like PC , mobiles ,PDA etc... which is Dropbox.

Dropbox also provides up to 2GB free space on it's cloud. Also it is available for all famous OS platforms i.e. Windows, Mac , Linux .

There is an amazing video on their site which explains Dropbox very well. So no need to explain more from my side.....:) Still for any doubts or queries fill free to leave comment.

To visit site of Dropbox click here.

Popular Posts