For file association in linux after some RND i have achieved it
the below link helps me to achieve http://www.linuxquestions.org/questions/linuxquestions.org-member-success-stories-23/gnome-default-file-association-setting-464729/
But i am facing the new problem
ie. when i do file association for one user it will not affect to other user.
i am doing association from root user still not working
i am using KDE and GNOME