<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>tutysara</title>
	<atom:link href="http://tutysara.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://tutysara.wordpress.com</link>
	<description>Just another WordPress.com weblog brought to you  by tutysara</description>
	<lastBuildDate>Sat, 05 Sep 2009 07:44:08 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='tutysara.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/d0b01cd747343f8b1512e4810975dcf7?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>tutysara</title>
		<link>http://tutysara.wordpress.com</link>
	</image>
			<item>
		<title>Web Services in Ubuntu &#8211; JAX-WS</title>
		<link>http://tutysara.wordpress.com/2009/09/05/web-services-in-ubuntu-jax-ws/</link>
		<comments>http://tutysara.wordpress.com/2009/09/05/web-services-in-ubuntu-jax-ws/#comments</comments>
		<pubDate>Sat, 05 Sep 2009 06:34:17 +0000</pubDate>
		<dc:creator>tutysara</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[jax-ws]]></category>
		<category><![CDATA[metro]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[web service]]></category>
		<category><![CDATA[wsdl]]></category>

		<guid isPermaLink="false">http://tutysara.wordpress.com/2009/09/05/web-services-in-ubuntu-jax-ws/</guid>
		<description><![CDATA[In this post let me go through the process of creating a web service client in java on ubuntu.
We need to have the apis for programming web services. Java provides a api called JAX-WS which is version 2 of the java web services api the previous version being JAX-RPC. JAX-WS comes a part of JDK6.0 [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tutysara.wordpress.com&blog=5751631&post=45&subd=tutysara&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>In this post let me go through the process of creating a web service client in java on ubuntu.</p>
<p>We need to have the apis for programming web services. Java provides a api called JAX-WS which is version 2 of the java web services api the previous version being JAX-RPC. JAX-WS comes a part of JDK6.0 and above. If you are using jdk5 then we need to download the JAX-WS web-service apis. JAX-WS is developed as a separate project called Metro and the latest version can be downloaded from the Metro project site &#8211; <a href="https://jax-ws.dev.java.net/">https://jax-ws.dev.java.net/</a>. you can follow the instructions on the site for installing it.<br />
Once installed it can be checked by tying wsimport at the terminal. It should give an output which looks like this</p>
<p><code><br />
Usage: wsimport [options]<br />
</code><br />
<code><br />
where [options] include:<br />
  -b                  specify jaxws/jaxb binding files or additional schemas<br />
                            (Each  must have its own -b)<br />
  -B            Pass this option to JAXB schema compiler<br />
  -catalog            specify catalog file to resolve external entity references<br />
                            supports TR9401, XCatalog, and OASIS XML Catalog format.<br />
  -d             specify where to place generated output files<br />
  -extension                allow vendor extensions - functionality not specified<br />
                            by the specification.  Use of extensions may<br />
                            result in applications that are not portable or<br />
                            may not interoperate with other implementations<br />
  -help                     display help<br />
  -httpproxy::  specify a HTTP proxy server (port defaults to 8080)<br />
  -keep                     keep generated files<br />
  -p                   specifies the target package<br />
  -quiet                    suppress wsimport output<br />
  -s             specify where to place generated source files<br />
  -target          generate code as per the given JAXWS specification version.<br />
                            version 2.0 will generate compliant code for JAXWS 2.0 spec.<br />
  -verbose                  output messages about what the compiler is doing<br />
  -version                  print version information<br />
  -wsdllocation   @WebServiceClient.wsdlLocation value</p>
<p></code><br />
<code><br />
Examples:<br />
  wsimport stock.wsdl -b stock.xml -b stock.xjb<br />
  wsimport -d generated http://example.org/stock?wsdl</p>
<p></code></p>
<p>If you get an output like this then we are done with the installation. we can proceed to the next step. Otherwise refer tot he metro site for installing this. For people using jdk6 everything is set by default and they can verify their installation by typing the above command in a terminal<br />
Now we will find a site which provides free web service. I found a site <a href="http://www.webservicex.net/">http://www.webservicex.net/</a> which hosts lot of free web services organized into different categories. For this example lets us take a service which is called  WHOIS web service which is available in the utilities section. The url for this is &#8211; <a href="http://www.webservicex.net/WCF/ServiceDetails.aspx?SID=51">http://www.webservicex.net/WCF/ServiceDetails.aspx?SID=51</a></p>
<p>Now we have to get the WSDL for this web service and compile it using the wsimport utility to get the start-up code for our web service.<br />
To do this open a terminal and type<br />
<code></p>
<p>wsimport -keep -verbose -d whois http://www.webservicex.net/whois.asmx?wsdl</p>
<p></code></p>
<p>here the -keep tells the command to keep the generated java files and the -d is used to specify the output directory. we would get a output like this</p>
<p><code><br />
parsing WSDL...<br />
</code><br />
<code><br />
[WARNING] Ignoring SOAP port "whoisSoap12": it uses non-standard SOAP 1.2 binding.<br />
You must specify the "-extension" option to use this binding.<br />
  line 113 of http://www.webservicex.net/whois.asmx?wsdl<br />
</code><code><br />
[WARNING] ignoring port "whoisHttpGet": no SOAP address specified. try running wsimport with -extension switch.<br />
  line 116 of http://www.webservicex.net/whois.asmx?wsdl<br />
</code><code><br />
[WARNING] ignoring port "whoisHttpPost": no SOAP address specified. try running wsimport with -extension switch.<br />
  line 119 of http://www.webservicex.net/whois.asmx?wsdl<br />
</code><code><br />
generating code...<br />
net/webservicex/GetWhoIS.java<br />
net/webservicex/GetWhoISResponse.java<br />
net/webservicex/ObjectFactory.java<br />
net/webservicex/Whois.java<br />
net/webservicex/WhoisSoap.java<br />
net/webservicex/package-info.java<br />
</code><code><br />
</code></p>
<p>Now go to the directory where these files are created and we can create the client.</p>
<p>Create a java file with the following contents</p>
<p><code><br />
package net.webservicex;<br />
public class WhoisClient{<br />
	public static void main(String args[]){<br />
		Whois whois=new Whois();<br />
		WhoisSoap whoisSoap=whois.getWhoisSoap();<br />
		System.out.println(whoisSoap.getWhoIS("www.google.com"));</p>
<p>	}<br />
}<br />
</code></p>
<p>or still more usable as</p>
<p><code><br />
package net.webservicex;<br />
public class WhoisClient{<br />
	public static void main(String args[]){<br />
		Whois whois=new Whois();<br />
		WhoisSoap whoisSoap=whois.getWhoisSoap();<br />
		System.out.println(whoisSoap.getWhoIS(args[0]));</p>
<p>	}<br />
}<br />
</code></p>
<p>That is it we are donw with our web service client. Now compile the program by setting the classpath to point to the directory that contains the generated class files using the command</p>
<p><code><br />
javac WhoisClient.java<br />
</code></p>
<p>Now the program can be run with by typing this in the terminal</p>
<p><code><br />
java net.webservicex.WhoisClient www.google.com<br />
</code></p>
<p>we would get an output as below</p>
<p><code><br />
Whois Server Version 2.0<br />
</code><code><br />
Domain names in the .com and .net domains can now be registered<br />
with many different competing registrars. Go to http://www.internic.net<br />
for detailed information.<br />
</code><code><br />
WWW.GOOGLE.COM.VN<br />
WWW.GOOGLE.COM.TW<br />
WWW.GOOGLE.COM.TR<br />
WWW.GOOGLE.COM.SA<br />
WWW.GOOGLE.COM.PE<br />
WWW.GOOGLE.COM.MX<br />
WWW.GOOGLE.COM.CO<br />
WWW.GOOGLE.COM.BR<br />
WWW.GOOGLE.COM.AU<br />
WWW.GOOGLE.COM.AR<br />
</code><code><br />
To single out one record, look it up with "xxx", where xxx is one of the<br />
of the records displayed above. If the records are the same, look them up<br />
with "=xxx" to receive a full display for each record.<br />
</code><code><br />
&gt;&gt;&gt; Last update of whois database: Sat, 05 Sep 2009 06:29:11 UTC &lt;&lt;&lt;<br />
</code><code><br />
NOTICE: The expiration date displayed in this record is the date the<br />
registrar&#39;s sponsorship of the domain name registration in the registry is<br />
currently set to expire. This date does not necessarily reflect the expiration<br />
date of the domain name registrant&#39;s agreement with the sponsoring<br />
registrar.  Users may consult the sponsoring registrar&#39;s Whois database to<br />
view the registrar&#39;s reported date of expiration for this registration.<br />
</code><code><br />
TERMS OF USE: You are not authorized to access or query our Whois<br />
database through the use of electronic processes that are high-volume and<br />
automated except as reasonably necessary to register domain names or<br />
modify existing registrations; the Data in VeriSign Global Registry<br />
Services&#39; (&quot;VeriSign&quot;) Whois database is provided by VeriSign for<br />
information purposes only, and to assist persons in obtaining information<br />
about or related to a domain name registration record. VeriSign does not<br />
guarantee its accuracy. By submitting a Whois query, you agree to abide<br />
by the following terms of use: You agree that you may use this Data only<br />
for lawful purposes and that under no circumstances will you use this Data<br />
to: (1) allow, enable, or otherwise support the transmission of mass<br />
unsolicited, commercial advertising or solicitations via e-mail, telephone,<br />
or facsimile; or (2) enable high volume, automated, electronic processes<br />
that apply to VeriSign (or its computer systems). The compilation,<br />
repackaging, dissemination or other use of this Data is expressly<br />
prohibited without the prior written consent of VeriSign. You agree not to<br />
use electronic processes that are automated and high-volume to access or<br />
query the Whois database except as reasonably necessary to register<br />
domain names or modify existing registrations. VeriSign reserves the right<br />
to restrict your access to the Whois database in its sole discretion to ensure<br />
operational stability.  VeriSign may restrict or terminate your access to the<br />
Whois database for failure to abide by these terms of use. VeriSign<br />
reserves the right to modify these terms at any time.<br />
</code><code><br />
The Registry database contains ONLY .COM, .NET, .EDU domains and<br />
Registrars.<br />
</code><code><br />
</code></p>
<p>Here we can give different host names as argument and experiment with it. There are many free web services available at http://www.webservicex.net and almost all of them can be consumed using the same method by using java clients. Thanks for reading</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/tutysara.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/tutysara.wordpress.com/45/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/tutysara.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/tutysara.wordpress.com/45/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/tutysara.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/tutysara.wordpress.com/45/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/tutysara.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/tutysara.wordpress.com/45/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/tutysara.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/tutysara.wordpress.com/45/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tutysara.wordpress.com&blog=5751631&post=45&subd=tutysara&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://tutysara.wordpress.com/2009/09/05/web-services-in-ubuntu-jax-ws/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7c50f3d45c10e639453d0d4d6202e4ca?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">tutysara</media:title>
		</media:content>
	</item>
		<item>
		<title>Ubuntu : FireFox Fills whole screen</title>
		<link>http://tutysara.wordpress.com/2009/04/27/ubuntu-firefox-fills-whole-screen/</link>
		<comments>http://tutysara.wordpress.com/2009/04/27/ubuntu-firefox-fills-whole-screen/#comments</comments>
		<pubDate>Mon, 27 Apr 2009 16:33:06 +0000</pubDate>
		<dc:creator>tutysara</dc:creator>
				<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[full screen]]></category>

		<guid isPermaLink="false">http://tutysara.wordpress.com/2009/04/27/ubuntu-firefox-fills-whole-screen/</guid>
		<description><![CDATA[The recent change in my firefox is it always opens in full screen mode hiding the GNOME start bar and the status bar at the bottom. This happened after trying to upgrade some of its features through update manager.
The fix for this is simple just go to full screen by pressing F11 and then pressing [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tutysara.wordpress.com&blog=5751631&post=43&subd=tutysara&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>The recent change in my firefox is it always opens in full screen mode hiding the GNOME start bar and the status bar at the bottom. This happened after trying to upgrade some of its features through update manager.<br />
The fix for this is simple just go to full screen by pressing F11 and then pressing F11 again to return to normal mode</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/tutysara.wordpress.com/43/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/tutysara.wordpress.com/43/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/tutysara.wordpress.com/43/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/tutysara.wordpress.com/43/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/tutysara.wordpress.com/43/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/tutysara.wordpress.com/43/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/tutysara.wordpress.com/43/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/tutysara.wordpress.com/43/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/tutysara.wordpress.com/43/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/tutysara.wordpress.com/43/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tutysara.wordpress.com&blog=5751631&post=43&subd=tutysara&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://tutysara.wordpress.com/2009/04/27/ubuntu-firefox-fills-whole-screen/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7c50f3d45c10e639453d0d4d6202e4ca?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">tutysara</media:title>
		</media:content>
	</item>
		<item>
		<title>Editplus replacement in ubuntu : jEdit</title>
		<link>http://tutysara.wordpress.com/2009/04/16/editplus-replacement-in-ubuntu-jedit/</link>
		<comments>http://tutysara.wordpress.com/2009/04/16/editplus-replacement-in-ubuntu-jedit/#comments</comments>
		<pubDate>Thu, 16 Apr 2009 16:10:48 +0000</pubDate>
		<dc:creator>tutysara</dc:creator>
				<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[Editor]]></category>
		<category><![CDATA[jEdit]]></category>

		<guid isPermaLink="false">http://tutysara.wordpress.com/?p=38</guid>
		<description><![CDATA[I work most of the time on UNIX machines through terminals. We use putty as our terminal client and when we want to edit any files we just copy the file name from putty into Editplus and open it.
When I moved to ubuntu I couldn&#8217;t find a replacement for Editplus which allows me to easily [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tutysara.wordpress.com&blog=5751631&post=38&subd=tutysara&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I work most of the time on UNIX machines through terminals. We use putty as our terminal client and when we want to edit any files we just copy the file name from putty into Editplus and open it.</p>
<p>When I moved to ubuntu I couldn&#8217;t find a replacement for Editplus which allows me to easily edit my files. There are many editors that I found in ubuntu which has FTP and SFTP support but they all open a file tree and they require us to navigate through the file tree to open the files. We used to navigate through various directory structure using putty and edit files from different locations, It is a lot of pain to navigate through different directories in those editors. This is very bad when the FTP connection becomes slow at peak hours.</p>
<p>I was actually looking at the comparison of various text editors and my quest for a Editplus replacement came to an end when I found <a href="http://www.jedit.org">jedit</a>. It is a wonderful text editor with a host of options and features. It is open source and It is extensible by using various plugins. The plugin which provides support for FTP and SFTP is the FTP plugin. It can be installed by using the <strong>&#8220;Plugin Manger -&gt; Install&#8221;</strong> tab. Once the installation is complete it can be found under <strong>&#8220;Plugins -&gt; FTP&#8221;</strong>. Select the options <strong>&#8220;Open from FTP server&#8230;&#8221;</strong> or <strong>&#8220;Open from secure FTP server</strong>&#8221; fill in the server details along with user name and password and hit the connect button. Once the connection is established the FTP directory becomes a part of the jEdit VFS and all actions that are valid for a normal file can be performed on the FTP files.</p>
<p>To quickly open files for which the path is known we can use the open file macro found under <strong>&#8220;Macros -&gt; Files -&gt; Open Path&#8221;</strong>. We have to prefix the FTP file names with <strong>&#8220;ftp://user@server:21/path/to/file</strong>&#8220;.<br />
Example &#8211; to open a file .profile use <strong>&#8220;ftp://user@server:21/~/.profile&#8221;</strong></p>
<p>We can even write our own macro to ease this process. Macros are stored under the macros directory under installation directory or settings directory. We can write a simple macro to open a file automatically from a FTP server just by giving the path. This macro releaves us by typing <strong>&#8220;ftp://user@server:21/&#8221;</strong> whenever we need to open files from the server. Open a new file in jEdit and type in the following lines</p>
<p><code>void openPath()<br />
{<br />
	String path = Macros.input(view,"Path name:");<br />
	if(null==path||path.length()==0){<br />
		return;<br />
	}<br />
	String prefix="ftp://user@server:21";<br />
	path=prefix+path;<br />
	if(path != null)<br />
		jEdit.openFile(view,path);<br />
}</p>
<p>openPath();</p>
<p></code></p>
<p>and save it under the<strong> macros</strong> directory as <strong>Quick_FTP.bsh.</strong><br />
Now reload the macros list by selecting &#8220;<strong>Macros -&gt; Rescan Macros</strong>&#8221; and our <strong>&#8220;Quick FTP&#8221;</strong> macro can be found. Select our macro and it asks for the path name . just  give the path name to open it from FTP server. This is just a small how to on writing a Macro and demonstrating the robust features of jEdit. You can find lot of Plugins and Macros at the <a href="http://community.jedit.org/">Community</a> and <a href="http://plugins.jedit.org/">Plugin</a> site.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/tutysara.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/tutysara.wordpress.com/38/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/tutysara.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/tutysara.wordpress.com/38/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/tutysara.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/tutysara.wordpress.com/38/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/tutysara.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/tutysara.wordpress.com/38/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/tutysara.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/tutysara.wordpress.com/38/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tutysara.wordpress.com&blog=5751631&post=38&subd=tutysara&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://tutysara.wordpress.com/2009/04/16/editplus-replacement-in-ubuntu-jedit/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7c50f3d45c10e639453d0d4d6202e4ca?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">tutysara</media:title>
		</media:content>
	</item>
		<item>
		<title>Tata Indicom CDMA Epivalley modem in ubuntu</title>
		<link>http://tutysara.wordpress.com/2008/12/22/tata-indicom-cdma-epivalley-modem-in-ubuntu/</link>
		<comments>http://tutysara.wordpress.com/2008/12/22/tata-indicom-cdma-epivalley-modem-in-ubuntu/#comments</comments>
		<pubDate>Mon, 22 Dec 2008 16:56:50 +0000</pubDate>
		<dc:creator>tutysara</dc:creator>
				<category><![CDATA[modem]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[tata indicom]]></category>
		<category><![CDATA[usb]]></category>
		<category><![CDATA[wireless]]></category>

		<guid isPermaLink="false">http://tutysara.wordpress.com/?p=34</guid>
		<description><![CDATA[I recently got a Tata Indicom wireless modem. It is a device from Epivalley and uses the qualcomm chip. It came with a software CD which contained the softwares only for windows. I searched through the forum and I found a very simple way of configuring it in ubuntu. In ubuntu the modem got detected [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tutysara.wordpress.com&blog=5751631&post=34&subd=tutysara&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I recently got a Tata Indicom wireless modem. It is a device from Epivalley and uses the qualcomm chip. It came with a software CD which contained the softwares only for windows. I searched through the forum and I found a very simple way of configuring it in ubuntu. In ubuntu the modem got detected without installing any additional softwares and all I have to do was to set some configuration information for it to connect to the ISP. I had to create some files to put in the settings required by it.</p>
<p>I created the peers file with the  command.</p>
<p><strong>gksudo gedit /etc/ppp/peers/tatagprs</strong></p>
<p>Put these commands starting with a blank line into the file and save it.</p>
<pre>noauth
connect "/usr/sbin/chat -v -f /etc/chatscripts/tatagprs"
debug
/dev/ttyACM0
460800
defaultroute
noipdefault
user "internet"
password "internet"
remotename tata
ipparam tata

usepeerdns</pre>
<p>Next I created the chatscript with the command</p>
<p><strong>gksudo gedit /etc/chatscripts/tatagprs</p>
<p></strong>Then I put these contents into the file and saved it.</p>
<pre>
ABORT   'BUSY'
ABORT   'NO CARRIER'
ABORT   'ERROR'
''      ATZ
OK      ATDT#777
CONNECT ''
</pre>
<p>Now to connect to the internet I will open a terminal and type.</p>
<p><strong>pon tatagprs</strong></p>
<p>and to disconnect I simply type</p>
<p><strong>poff tatagprs or</strong><br />
<strong>poff</strong></pre>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/tutysara.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/tutysara.wordpress.com/34/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/tutysara.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/tutysara.wordpress.com/34/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/tutysara.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/tutysara.wordpress.com/34/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/tutysara.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/tutysara.wordpress.com/34/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/tutysara.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/tutysara.wordpress.com/34/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tutysara.wordpress.com&blog=5751631&post=34&subd=tutysara&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://tutysara.wordpress.com/2008/12/22/tata-indicom-cdma-epivalley-modem-in-ubuntu/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7c50f3d45c10e639453d0d4d6202e4ca?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">tutysara</media:title>
		</media:content>
	</item>
		<item>
		<title>Windows XP and Custom Fonts in Ubuntu</title>
		<link>http://tutysara.wordpress.com/2008/12/22/windows-xp-and-custom-fonts-in-ubuntu/</link>
		<comments>http://tutysara.wordpress.com/2008/12/22/windows-xp-and-custom-fonts-in-ubuntu/#comments</comments>
		<pubDate>Mon, 22 Dec 2008 16:39:20 +0000</pubDate>
		<dc:creator>tutysara</dc:creator>
				<category><![CDATA[font]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://tutysara.wordpress.com/?p=32</guid>
		<description><![CDATA[I work with both windows and ubuntu and I edit my documents from both of these OS. I want all my formatting to be consistent but, there are many fonts in windows which are not present in ubuntu. This makes editing word files a boaring task as I have to keep changing the fonts whenever [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tutysara.wordpress.com&blog=5751631&post=32&subd=tutysara&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I work with both windows and ubuntu and I edit my documents from both of these OS. I want all my formatting to be consistent but, there are many fonts in windows which are not present in ubuntu. This makes editing word files a boaring task as I have to keep changing the fonts whenever I change the OS or use a font which is available in both the OS. There are  also some web sites which require me to install their font to show up in  correct format.</p>
<p>We can install any font in ubuntu by following these simple steps. To start with we need the font file to install. If it is a fovourite font from Windows just copy the font file from the windows fonts directory into a memory stick and copy it to your home directory in ubuntu. Then open up a terminal.</p>
<ol>
<li>Create a directory to hold our fonts  &#8211; <strong>sudo mkdir -p /usr/local/share/fonts/truetype</strong></li>
<li>Change to the directory we have created &#8211; <strong>sudo cd  /usr/local/share/fonts/truetype</strong></li>
<li>Copy the font file &#8211; <strong>sudo cp ~/&lt;font-file-name&gt;.ttf .</strong></li>
<li>Rebuild font cache<strong> &#8211; sudo fc-cache -f -v</strong></li>
</ol>
<p>We could see that the last command updates the font-cache by printing a lot of messages to the console. We are done. Now open the website which asked for the font, it should open with  correct formatting. If we open a document to edit we could find the font we have just installed from the fonts drop down.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/tutysara.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/tutysara.wordpress.com/32/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/tutysara.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/tutysara.wordpress.com/32/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/tutysara.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/tutysara.wordpress.com/32/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/tutysara.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/tutysara.wordpress.com/32/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/tutysara.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/tutysara.wordpress.com/32/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tutysara.wordpress.com&blog=5751631&post=32&subd=tutysara&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://tutysara.wordpress.com/2008/12/22/windows-xp-and-custom-fonts-in-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7c50f3d45c10e639453d0d4d6202e4ca?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">tutysara</media:title>
		</media:content>
	</item>
		<item>
		<title>Thinkpad Scroll Mouse in Ubuntu</title>
		<link>http://tutysara.wordpress.com/2008/12/17/thinkpad-scroll-mouse-in-ubuntu/</link>
		<comments>http://tutysara.wordpress.com/2008/12/17/thinkpad-scroll-mouse-in-ubuntu/#comments</comments>
		<pubDate>Wed, 17 Dec 2008 17:38:26 +0000</pubDate>
		<dc:creator>tutysara</dc:creator>
				<category><![CDATA[Thinkpad]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[scroll mouse]]></category>

		<guid isPermaLink="false">http://tutysara.wordpress.com/?p=21</guid>
		<description><![CDATA[I am having a thinkpad R60 model. I was using it with WindowsXP and It is very easy for me to scroll thorugh documents my holding the middle mouse button and the tracker together. But when I moved to ubuntu I found that the Scroll button was functioning in a weird manner. In some applications [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tutysara.wordpress.com&blog=5751631&post=21&subd=tutysara&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I am having a thinkpad R60 model. I was using it with WindowsXP and It is very easy for me to scroll thorugh documents my holding the middle mouse button and the tracker together. But when I moved to ubuntu I found that the Scroll button was functioning in a weird manner. In some applications like Document viewer I was able to drag the pages using this key combination. In some applications like OpenOffice Writer whenever I press this key combination it pasted the text in the clipboard on to the cursor, annoying me. I googled a bit a found a resource which insisted on adding the below lines to <strong>/etc/X11/xorg.conf</strong></p>
<p>Section &#8220;InputDevice&#8221;<br />
Identifier &#8220;Configured Mouse&#8221;<br />
Driver &#8220;mouse&#8221;<br />
Option &#8220;CorePointer&#8221;<br />
Option &#8220;Device&#8221; &#8220;/dev/input/mice&#8221;<br />
Option &#8220;Protocol&#8221; &#8220;ExplorerPS/2&#8243;<br />
Option &#8220;ZAxisMapping&#8221; &#8220;4 5&#8243;<br />
Option &#8220;Emulate3Buttons&#8221; &#8220;true&#8221;<br />
Option &#8220;EmulateWheel&#8221; &#8220;true&#8221;<br />
Option &#8220;EmulateWheelButton&#8221; &#8220;2&#8243;<br />
EndSection</p>
<p>When I added these lines to the files and restarted X, my display crashed. I had to go into recovery mode to configure X again to bring my display back. The recovery process is automatic, It just needs our confirmation to proceed with reconfiguring X so, nothing to worry when something goes wrong while editing the file. We can get back the default values.</p>
<p>Ubuntu Intrepid uses a improved XOrg which supports hot plug. To configure any devices we have to place a xml file containing the configurations into the directory<strong> /etc/hal/fdi/policy. </strong>To enable scrolling using the middle button in Thinkpad, open a terminal and enter the following commands.</p>
<ol>
<li><strong>cd </strong><strong>/etc/hal/fdi/policy</strong></li>
<li><strong>sudo vi tp-scroll.fdi</strong></li>
<li><strong>Paste the following into the file and save it.</strong></li>
</ol>
<p><em>&lt;match key=&#8221;info.product&#8221; string=&#8221;TPPS/2 IBM TrackPoint&#8221;&gt;<br />
&lt;merge key=&#8221;input.x11_options.EmulateWheel&#8221; type=&#8221;string&#8221;&gt;true&lt;/merge&gt;<br />
&lt;merge key=&#8221;input.x11_options.EmulateWheelButton&#8221; type=&#8221;string&#8221;&gt;2&lt;/merge&gt;<br />
&lt;merge key=&#8221;input.x11_options.XAxisMapping&#8221; type=&#8221;string&#8221;&gt;6 7&lt;/merge&gt;<br />
&lt;merge key=&#8221;input.x11_options.YAxisMapping&#8221; type=&#8221;string&#8221;&gt;4 5&lt;/merge&gt;<br />
&lt;merge key=&#8221;input.x11_options.ZAxsisMapping&#8221; type=&#8221;string&#8221;&gt;4 5&lt;/merge&gt;<br />
&lt;merge key=&#8221;input.x11_options.Emulate3Buttons&#8221; type=&#8221;string&#8221;&gt;true&lt;/merge&gt;<br />
&lt;/match&gt;</em><strong><br />
</strong>Now log out and log in, the scroll button should function as it would in WindowsXp.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/tutysara.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/tutysara.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/tutysara.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/tutysara.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/tutysara.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/tutysara.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/tutysara.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/tutysara.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/tutysara.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/tutysara.wordpress.com/21/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tutysara.wordpress.com&blog=5751631&post=21&subd=tutysara&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://tutysara.wordpress.com/2008/12/17/thinkpad-scroll-mouse-in-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7c50f3d45c10e639453d0d4d6202e4ca?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">tutysara</media:title>
		</media:content>
	</item>
		<item>
		<title>GTalk Yahoo Messenger meets ubuntu</title>
		<link>http://tutysara.wordpress.com/2008/12/16/gtalk-yahoo-messenger-meets-ubuntu/</link>
		<comments>http://tutysara.wordpress.com/2008/12/16/gtalk-yahoo-messenger-meets-ubuntu/#comments</comments>
		<pubDate>Tue, 16 Dec 2008 17:22:24 +0000</pubDate>
		<dc:creator>tutysara</dc:creator>
				<category><![CDATA[IM]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[gtalk]]></category>
		<category><![CDATA[Pidgin]]></category>
		<category><![CDATA[yahoo messenger]]></category>

		<guid isPermaLink="false">http://tutysara.wordpress.com/?p=18</guid>
		<description><![CDATA[I am very much used to GTalk in windows that, when I moved to ubuntu I was very much in need of it. But gtalk is not available in ubuntu or any other linux platform.
But there is a nice IM client that comes bundled with ubuntu know as Pidgin. Pidgin supports many popular IM protocols [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tutysara.wordpress.com&blog=5751631&post=18&subd=tutysara&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I am very much used to GTalk in windows that, when I moved to ubuntu I was very much in need of it. But gtalk is not available in ubuntu or any other linux platform.</p>
<p>But there is a nice IM client that comes bundled with ubuntu know as Pidgin. Pidgin supports many popular IM protocols and to name a few like AIM, MSN, ICQ, Google talk, Yahoo. It proides a nice environment to use all these different IM protocols from the same interface and at the same time.</p>
<p>I use two accounts one with yahoo and one with GTalk frequently. In windows I have to alternate between Yahoo messenger and GTalk but, in ubuntu we can have both these accounts added to Pidgin and used at the same time.</p>
<p>Pidgin can be found under</p>
<p><strong>Applications =&gt;Internet =&gt;Pidgin</strong></p>
<p>To add an account for use with Pidgin we need to go to the manage accounts screen by selecting</p>
<p><strong>Accounts =&gt; Manage Accounts</strong></p>
<p>Select <strong>&#8220;Add&#8221;</strong>. In the protocol drop down we have many choices like GTalk, yahoo etc.</p>
<p>In this example lets configure a GTalk account</p>
<ol>
<li>Type your username. If your id is <strong>user@gmail.com</strong>, then username is <strong>user</strong></li>
<li>Fill in your domain name. Domain name is the thing which is after the @ symbol and in our case<strong> gmail.com</strong></li>
<li>For the resources leave the default value of <strong>Home</strong>.</li>
<li>Type your password.</li>
</ol>
<p>We are done. Now go to <strong>Accounts =&gt; Enable Accounts</strong> and check <strong>user@gmail.com</strong>.</p>
<p>Now pidgin will connect to google server and fetch your buddy list. It has similar options like GTalk for nofiying the status of buddies. We can sort buddies by their name, status etc by going to <strong>Buddies =&gt; Sort Buddies</strong> and selecting the various options.</p>
<p>Pidgin has a very nice feature of integrating with the system menu for setting the various status. When we log into Pidgin we can see that the system menu has the options like Online, Away, Busy etc inaddition to Shutdown, Hibernate etc.</p>
<p>When I am working with pidgin I found that it is taking a lot of time to load the buddy list, some times it doesn&#8217;t even load the buddy list with GTalk even after 30mins. Sometimes the connection gets broken down when the speed is low. Apart form these things Pidgin is a wonderful replacement for Gtalk, Yahoo Messenger and many other IMs for ubuntu.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/tutysara.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/tutysara.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/tutysara.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/tutysara.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/tutysara.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/tutysara.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/tutysara.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/tutysara.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/tutysara.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/tutysara.wordpress.com/18/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tutysara.wordpress.com&blog=5751631&post=18&subd=tutysara&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://tutysara.wordpress.com/2008/12/16/gtalk-yahoo-messenger-meets-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7c50f3d45c10e639453d0d4d6202e4ca?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">tutysara</media:title>
		</media:content>
	</item>
		<item>
		<title>Run eclipse on sun java</title>
		<link>http://tutysara.wordpress.com/2008/12/06/run-eclipse-on-sun-java/</link>
		<comments>http://tutysara.wordpress.com/2008/12/06/run-eclipse-on-sun-java/#comments</comments>
		<pubDate>Sat, 06 Dec 2008 08:17:11 +0000</pubDate>
		<dc:creator>tutysara</dc:creator>
				<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[eclipse]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[jdk]]></category>
		<category><![CDATA[OpenJdk]]></category>

		<guid isPermaLink="false">http://tutysara.wordpress.com/2008/12/06/run-eclipse-on-sun-java/</guid>
		<description><![CDATA[When eclipse is installed it uses OpenJdk by default. Eclipse gives a good performance when it is run on sun java. To change the JDK used by eclipse we got to do a couple of changes.
Open a terminal and type the following command
sudo gedit /etc/eclipse/java_home
In the file add the following line on the top of [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tutysara.wordpress.com&blog=5751631&post=8&subd=tutysara&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>When eclipse is installed it uses OpenJdk by default. Eclipse gives a good performance when it is run on sun java. To change the JDK used by eclipse we got to do a couple of changes.<br />
Open a terminal and type the following command</p>
<p><strong>sudo gedit /etc/eclipse/java_home</strong></p>
<p>In the file add the following line on the top of the list which represents the JDK search order of eclipse</p>
<p><strong>/usr/lib/jvm/java-6-sun</strong></p>
<p>Save and Close the file.<br />
Restart eclipse. Now eclipse will run on sun java giving a good performance.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/tutysara.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/tutysara.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/tutysara.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/tutysara.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/tutysara.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/tutysara.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/tutysara.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/tutysara.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/tutysara.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/tutysara.wordpress.com/8/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tutysara.wordpress.com&blog=5751631&post=8&subd=tutysara&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://tutysara.wordpress.com/2008/12/06/run-eclipse-on-sun-java/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7c50f3d45c10e639453d0d4d6202e4ca?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">tutysara</media:title>
		</media:content>
	</item>
		<item>
		<title>Installing Java 6 in Ubuntu Intrepid</title>
		<link>http://tutysara.wordpress.com/2008/12/06/installing-java-6-in-ubuntu-intrepid/</link>
		<comments>http://tutysara.wordpress.com/2008/12/06/installing-java-6-in-ubuntu-intrepid/#comments</comments>
		<pubDate>Sat, 06 Dec 2008 08:11:14 +0000</pubDate>
		<dc:creator>tutysara</dc:creator>
				<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[eclipse]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[jdk]]></category>
		<category><![CDATA[OpenJdk]]></category>

		<guid isPermaLink="false">http://tutysara.wordpress.com/2008/12/06/installing-java-6-in-ubuntu-intrepid/</guid>
		<description><![CDATA[I installed java6 in intrepid using the command
sudo apt-get install sun-java6-jdk
and the installation went fine without any errors. I opened a terminal to check the installation and typed the command.
java -version
It displayed
java version &#8220;1.6.0_10&#8243;
Java(TM) SE Runtime Environment (build 1.6.0_10-b33)
Java HotSpot(TM) Client VM (build 11.0-b15, mixed mode, sharing)

Now we have sun java installed as the defaulf [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tutysara.wordpress.com&blog=5751631&post=7&subd=tutysara&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I installed java6 in intrepid using the command</p>
<p><strong>sudo apt-get install <code><span class="amc_default">sun-java6-jdk</span></code></strong></p>
<p>and the installation went fine without any errors. I opened a terminal to check the installation and typed the command.<br />
<strong>java -version</strong><br />
It displayed<br />
<em>java version &#8220;1.6.0_10&#8243;<br />
Java(TM) SE Runtime Environment (build 1.6.0_10-b33)<br />
Java HotSpot(TM) Client VM (build 11.0-b15, mixed mode, sharing)</em></p>
<p><em></em><br />
Now we have sun java installed as the defaulf JVM.<br />
If we install any other package like eclipse that uses OpenJdk by default it changes the default JVM. To change the default JVM back to sun open a terminal and type in the command</p>
<p><strong> sudo update-java-alternatives -s java-6-sun</strong></p>
<p><strong></strong><br />
In the command you can replace java-6-sun with the version of java you have.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/tutysara.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/tutysara.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/tutysara.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/tutysara.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/tutysara.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/tutysara.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/tutysara.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/tutysara.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/tutysara.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/tutysara.wordpress.com/7/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tutysara.wordpress.com&blog=5751631&post=7&subd=tutysara&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://tutysara.wordpress.com/2008/12/06/installing-java-6-in-ubuntu-intrepid/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7c50f3d45c10e639453d0d4d6202e4ca?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">tutysara</media:title>
		</media:content>
	</item>
		<item>
		<title>How to erase all the files completely in Ubuntu</title>
		<link>http://tutysara.wordpress.com/2008/12/05/how-to-erase-all-the-files-completely-in-ubuntu/</link>
		<comments>http://tutysara.wordpress.com/2008/12/05/how-to-erase-all-the-files-completely-in-ubuntu/#comments</comments>
		<pubDate>Fri, 05 Dec 2008 12:30:59 +0000</pubDate>
		<dc:creator>tutysara</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[delete]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://tutysara.wordpress.com/2008/12/05/how-to-erase-all-the-files-completely-in-ubuntu/</guid>
		<description><![CDATA[There are situations when we need to make file deletion unrecovarable for security concerns. There are simple commands that can do this. Open a terminal and type the following command.
dd ip=/dev/urandom op=~/consumeSpace.txt
This will fill up all space left with random characters and once the space gets over it stops by throwing an exception. Now we [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tutysara.wordpress.com&blog=5751631&post=4&subd=tutysara&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>There are situations when we need to make file deletion unrecovarable for security concerns. There are simple commands that can do this. Open a terminal and type the following command.</p>
<p><strong>dd ip=/dev/urandom op=~/consumeSpace.txt</strong><br />
This will fill up all space left with random characters and once the space gets over it stops by throwing an exception. Now we can delete the file we have created to free up the space. To delete the file created type the following command into a terminal.<br />
<strong>rm ~/consumeSpace.txt</strong><br />
We have now deleted the files permanently from the disk.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/tutysara.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/tutysara.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/tutysara.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/tutysara.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/tutysara.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/tutysara.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/tutysara.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/tutysara.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/tutysara.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/tutysara.wordpress.com/4/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tutysara.wordpress.com&blog=5751631&post=4&subd=tutysara&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://tutysara.wordpress.com/2008/12/05/how-to-erase-all-the-files-completely-in-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7c50f3d45c10e639453d0d4d6202e4ca?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">tutysara</media:title>
		</media:content>
	</item>
	</channel>
</rss>