Apple’s iPad

Fedora 12 has Empathy IM client #fedora #empathy #linux

Hi folks ….

Today m gonna talk about Empathy IM client included in the latest Fedora 12

  • Empathy is the multi protocol IM client supporting various protocols like XMPP ( Jabber ), Yahoo, Gtalk, Live (MSN), MySpace, and many other platforms.
  • For detailed list of supported protocol features visit  http://telepathy.freedesktop.org/wiki/Protocols_Support
  • File transfer for XMPP, and local networks.
  • Voice and video call using SIP, XMPP, Google Talk and MSN.
  • Sharing and viewing location information.
  • Private and group chat (with smileys and spell checking).
  • Conversation logging.
  • Automatic away and extended away presence.
  • Automatic reconnection using Network Manager.

The most attractive feature of Empathy IM is Conversation theming

For example,  the theme used by me in the below screenshot is  ”Adium Matte”

It simulates Apple iChat’s bubbles while chatting ….


Similarly you can find a lot many themes to download at :-

http://www.adiumxtras.com/index.php?a=search&cat_id=5&sort=ranking&user_id=0&s=&start=0

The question is to find an easy way to download as well as  install these themes.

Well, I used the following route :-

  • There is a convenient shell script for downloading and installing themes from adiumxtras.
  • Visit http://gist.github.com/191499 andclick download button.
  • Save it at a convenient location. ( the name of the shell script will be ” adiumxtra-install ”  )
  • Now visit http://www.adiumxtras.com/index.php?a=search&cat_id=5&sort=ranking&user_id=0&s=&start=0
  • Choose your favorite theme.
  • Move the mouse pointer on the file size under “Install” ( Don’t click the file size )
  • Copy the link address
  • Now open up a shell ( command prompt ).
  • Navigate to the directory where you have saved the shell script ” adiumxtra-install “ downloaded earlier.
  • Type ‘  adiumxtra-install <The link address you have copied>
  • For example ‘ adiumxtra-install adiumxtra://www.adiumxtras.com/download/2160 ‘ will download and install “Adium Matte” ( seen in the above screenshot ).
  • Now when you open up Empathy, under Edit, go to Preferences, and click the Themes tab
  • Under the drop down list, you will see your newly installed theme !!!!!

There are a number of themes at http://www.adiumxtras.com/index.php?a=search&cat_id=5&sort=ranking&user_id=0&s=&start=0

The ” adium matte ”  theme seen in the above screenshot is available at  http://www.adiumxtras.com/index.php?a=search&s=adium+matte

You name it and Empathy has got it !!!

Do rate my post and give your wonderful comments !!!

Regards,

Shadab I. Wadiwala

twitter.com/shadab5

 

Arrival of Fedora 12 makes me happy !!!!

Installing Citrix Receiver on Fedora 12 – Citrix Universal Client for IT Service Delivery

Hi,

Citrix Receiver is a new lightweight software client that makes accessing virtual applications and desktops on any device as easy as turning on your TV.

Much like a satellite or cable TV receiver in a broadcast media service, Citrix Receiver allows IT organizations to deliver applications as an on-demand service to any device in any location with a rich  high definition experience.

As long as employees have Citrix Receiver installed, IT no longer has to worry about whether they are delivering to a PC in the office, a Mac at home, or an iPhone on the road. This approach radically simplifies desktop management for IT and gives end users far more flexibility and independence in how and where they work.

I used the following steps to install Citrix Receiver ( Client ) on my Fedora 12 box

Download the rpm file of Citrix Client ( Citrix Receiver ) at http://www.citrix.com/English/ss/downloads/details.asp?downloadId=3323&productId=186&c1=sot2755#top

On the shell issue the following command :-

su

< root password  >

yum install openmotif

Note :- openmotif libs are required for Citrix client and they are not present in newer Fedora installations

cd < directory where the citrix RPM file was download >

rpm -ivh ICAClient-11.0-1.i386.rpm

SELinux needs to be in permissive mode or disabled.

I referred http://forums.fedoraforum.org/showthread.php?t=221173 and executed the following commands

mv /usr/share/fonts/cjkuni/fonts.dir /usr/share/fonts/cjkuni/fonts.dir.old

mv /usr/share/fonts/cjkuni/fonts.scale /usr/share/fonts/cjkuni/fonts.scale.old

Finally from the Fedora menu I can start the Citrix receiver ..   Eureka !!!!!!

Citrix Receiver snapshot

Regards,

Shadab I. Wadiwala

twitter.com/shadab5

Do post your feedback !!!

Big Boss Season 3 Elimination – 2

Big Boss , one of the most popular reality show of India. How 13 completely unknown people are put together to stay with each other , know each other, help each other …

But the story doesn’t end here.

People come to know each other more and more as the days go by and so do we come to know the celebrities in the house, actually their real self.

Sherlin Chopra was eliminated yesterday (30th October 2009).

Sherlin Chopra one of the most glamorous girl in the Big Boss’ house . She was seen on the silver screen in Dil Bole Hadippa(starring Shahid Kapoor & Rani Mukherjee).

How many girls/guys in India are dying to become models or appear on silver screen or on TV screen?

We all admire this glamorous world of Bollywood Industry and are attracted towards it. We all like to watch Hritik Roshan dancing in the movie or Aishwarya Rai on the peaks of Beauty. India, where girls dream of Salman Khan(exception are always there) and guys of Katrina Kaif(exception are always there). A common man in India is familiar with Shahrukh Khan but when it comes to Pratibha Patil he will wonder who is she? But have we ever tried to think what actually they are as a Person?

Big Boss is the platform where we come to know the celebrities as a Person.

Big Boss Season 3

Sherlin Chopra seems to be the most alluring of all but the story behind the stage is that she doesnt have family. She left her family because she wanted to make her career in the film industry. Her father passed away long back and she shares no relationship with her mother as well as her siblings. Neither was she invited to her sister’s marriage nor her parents attended her father’s funeral.

She is alone since the time she was just 16. Doesn’t like to talk to anyone because of the environment she was in since last so many years.

She mentioned that even when she was at her own home the inmates were divided into two teams of which one consisted of Sherlin herself and her father and another was of her mother and Sherlin’s sib.

So she leads a solitary life. The episode of Big Boss finally ended up with Sherlin broken up into tears.

We feel that they have everything, they have all luxuries of life, they have name and fame, we all want to be known by everyone just the way they are known.

But nobody knows the story of stars behind the screen. Despite of having the dazzling life style they still miss out something very important in their lives.

Regards,

Faraah M. Dabhoiwala

Procedure to mount your windows partitions in Fedora / Linux at boot time itself !!

Now use the following procedure to mount your windows partitions in Fedora / Linux at boot time itself

 

Also avoid entering root user password every time while Mounting your Windows Partitions   in Fedora
( In Fedora/Linux the process is called Mounting )

 

Open a Shell ( command prompt )
Type the following
su
<password>

 

rpm -ivh http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm

rpm -ivh http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm

yum install fwfstab

Next execute the following command on the command prompt (Shell )

tail /var/log/messages

****  For this tutorial, lets assume that the label of your C drive ( Windows Drive ) is Drive_C

 

Now Open File Manager from Start Menu/ Fedora Menu ( F- Menu )

Now click on the Drive_C  icon on the Left side Menu .
It will ask for root password.
Type in the password

Then immediately again Execute the following command

tail /var/log/messages  ( You can simply use the UP arrow keys to avoid the typing work again )

Just notice the last line .
In the last line you will see something like ( /dev/sda<no>  )

Remember it by heart or note it down..  Its the device name used by Linux for your ” Drive_C “  Partition  

Now again in the File Manager right click the ” Drive_C  ” icon then click UNMOUNT …

It will ask for root password .. so please type it .. 

Now type the following command :-

mkdir /media/Drive_C    (   /media/Drive_C  will be a mount point where you will be mounting your  Windows “Drive_C” Drive )

All your contents of “Drive_C” drive will be visible under /media/Drive_C as it going to be defined as mount point in /etc/fstab  file

**For safety lets take a backup of the original “fstab” file .

**  A little bit about “fstab” file  **

This “fstab” file in /etc  directory contains the information and settings for the partitions you want to mount at boot time

So its better that you keep a backup of the original fstab file ( as we are gonna modify it now )

On the Shell, type

cd /etc   (Enter )
cp fstab fstab.old   ( Enter )

Above command will make a copy of your present fstab file

For backup we used the name fstab.old, which will also reside in /etc directory as our PWD ( present working Directory ) is still  /etc

Next type the following word on the Shell ( Remember Shell ?? the CMD ) 

fwfstab

This will open a window

Click on new entry

Under Device select Manual

Then type  /dev/sda<no>   ( Did you note that string { for eg.  /dev/sda3 }  on your Notes Plasma Widget from /var/log/messages output ?? )

Under File System, select Manual and type  ntfs-3g

Under Mount Point select the Mount point ( Remember we created /media/Drive_C  ????  )

Then click OK

Now click the File Menu and APPLY Changes …

There after click the Mount button .

 

The Windows partition Drive_C will be mounted in the Mount point directory /media/Drive_C

 

Now, even if you reboot your Fedora machine,  Drive_C will be always mounted at the boot time and there will be no requirement of root password being asked everytime  !!!

 

Hurrah !!!!!

 

Please Note :- It is not at all necessary that the name of the mount point directory ( created under /media ) should be same as the Windows Partition label.

 

Please revert back to us for any queries, and we will be happy to assist you.

 

Regards,
Shadab I. Wadiwala

Cleared SCJP 5 with 96% yeee!!!:-)

M sooooooooooooooooooooo happy ..

will write more on this post tomorrow…..:-)

Faraah M. Dabhoiwala

SCJP 5

Initialization Blocks – Java

Well, back to JAVA :-)

Hmm, so an Initialization Block – the name itself suggests that it has something related to initialization – of what? Of Objects.

Of Objects because whenever we create an object in Java using “new” keyword the constructor is called and basically constructor is meant for initialization of instance(member)(Object) variables.

Let’s take a look at a very simple example

class Parent

{

static { System.out.println(“Parent static 1″);}    //#1

{ System.out.println(“Parent Instance Block 1″);}          //#2

static { System.out.println(“Parent static 2″);}

{ System.out.println(“Parent Instance Block 2″);}

Parent()

{

System.out.println(“Parent constructor”);

}

}

class InitializationBlocks

{

public static void main(String args[])

{

Parent p1=new Parent();

}

}

Now look above we have some blocks of code…

Some are marked static and some are simply lying with no keyword attached to them…

The one marked static (see comment #1) are Static Initialization Blocks, they are loaded

when the class is loaded. Well, you can use them to initialize your static variables. Nice na?

And the one marked …marked? Have I marked them? (Oh c’mon see comment #2) those are Instance Initialization Blocks, they are basically called when you create objects of your class. Suppose if you want a similar work to be done for all the objects then you can put it in Instance IB.. Just Try It..!!

Static IB will be called only once when the class is loaded and Instance IB will be called every time when you create an object of your class.

And finally Constructor will be called.

Hey why don’t you look at the output of the above program?

Parent static 1

Parent static 2

Parent Instance Block 1

Parent Instance Block 2

Parent constructor

Now what if we have an inheritance tree…

In that case …do you know how the constructors are called in case if you have an inheritance tree??

grandparent, parent and then child…m I rite?

So just remember this sequence…

First grandparent will be loaded then parent and then child will be loaded ….so

Static IB will run…

Then Instance IB of grandparent followed by constructor of grandparent

Next Instance IB of parent followed by constructor of parent

Finally, Instance IB of child then constructor of child

Here is the code..

Have a look..

//Initialization Blocks

class GrandParent

{

GrandParent()

{

System.out.println(“GrandParent constructor”);

}

static { System.out.println(“GrandParent static 1″);}

{ System.out.println(“GrandParent Instance Block 1″);}

static { System.out.println(“GrandParent static 2″);}

{ System.out.println(“GrandParent Instance Block 1″);}

}

class Parent extends GrandParent

{

Parent()

{

System.out.println(“Parent constructor”);

}

static { System.out.println(“Parent static 1″);}

{ System.out.println(“Parent Instance Block 1″);}

static { System.out.println(“Parent static 2″);}

{ System.out.println(“Parent Instance Block 2″);}

}

class Child extends Parent

{

Child()

{

System.out.println(“Child constructor”);

}

static { System.out.println(“Child static 1″);}

{ System.out.println(“Child Instance Block 1″);}

static { System.out.println(“Child static 1″);}

{ System.out.println(“Child Instance Block 2″);}

}

class InitializationBlocks

{

public static void main(String args[])

{

Child c1=new Child();

}

}

Ok so what will be the output its simple right?

Isn’t it?

If you have understood this topic then you can put the output in comment…please do this

favour so that I can save my keystrokes….lol

Regards,

Faraah Dabhoiwala.

MyUSBonly

MyUSBonly is a software that prevents the data from being theft from your PC.

With this software you will be able to secure your PCs endpoints.  USBs , one of the way through which viruses enter your pc. So MyUSBonly will allow only those USBs which you configure. The  USBs which you configure will be indentified by this software and data transfer will hence occur only through them.

So data wont be leaked and unwanted data wont be introduced through this medium.

According to a 2005 FBI Computer Crime Survey, 44% of organizations have reported network intrusions from within their own organizations. Technology analyst Gartner warns that portable devices containing a USB connection are a serious new threat to businesses. In their report, Gartner named portable storage devices as a significant security risk in the workplace and advised that these can be used both to download confidential data, and also to introduce a virus into the company network.

Moreover if anyone connects USB to your pc you will receive an email  notification regarding the unauthorized access.

So install MyUSBonly in your pc and enjoy the freedom.  :-)

Reference http://www.softpedia.com/get/Security/Security-Related/MyUSBonly.shtml

Google launches online news reader Fast Flip

 

Google has unveiled its new service called Google Fast Flip.

It gives a feel of flipping through the online articles as if we were flipping through the pages of a magazine.

According to the Google News website, it works by capturing the images of the articles on  partners’ websites and then display them in an easy-to-read way.

The stories are grouped together by categories, such as Entertainment, Business, Opinion, Politics and Most Viewed etc.

Readers can flip through stories quickly by simply pressing the left- and right-arrow keys until they find one that catches their interest. Clicking on the story takes them directly to the publisher’s website.

I myself have checked the site’s functionality at http://fastflip.googlelabs.com/

The flipping function works great and it will make the service even more popular when compared to other online news reader services.

You can see a full list of the news publisher sources for Fast Flip at http://fastflip.googlelabs.com/sources

Regards,

Shadab