<?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/"
	>

<channel>
	<title>404: Page not found &#187; linux</title>
	<atom:link href="http://krishnamurthy.net.in/blog/category/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://krishnamurthy.net.in/blog</link>
	<description>You are what you read, and with whom you cook</description>
	<lastBuildDate>Sun, 18 Dec 2011 06:04:52 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Running Spotify on Ubuntu</title>
		<link>http://krishnamurthy.net.in/blog/2011/10/09/running-spotify-on-ubuntu/</link>
		<comments>http://krishnamurthy.net.in/blog/2011/10/09/running-spotify-on-ubuntu/#comments</comments>
		<pubDate>Sun, 09 Oct 2011 18:53:07 +0000</pubDate>
		<dc:creator>Krishnamurthy Koduvayur Viswanathan</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[software]]></category>

		<guid isPermaLink="false">http://krishnamurthy.net.in/blog/?p=357</guid>
		<description><![CDATA[I found it really painful that I could not run the Spotify Linux client natively on my Ubuntu box because I have a free Spotify account. I was recently told that I could try running it using Wine. For some reason, I have never really given Wine much thought, but this was enough incentive for [...]]]></description>
			<content:encoded><![CDATA[<p>I found it really painful that I could not run the Spotify Linux client natively on my Ubuntu box because I have a free Spotify account. I was recently told that I could try running it using Wine. For some reason, I have never really given Wine much thought, but this was enough incentive for me to give it a shot.</p>
<p>It was not really straightforward, but the following worked for me:</p>
<ol>
<li>Install Wine: Open Synaptic package manager, and select Wine. Click apply.</li>
<li>Open the &#8220;Configure Wine&#8221; feature. Click on the audio tab, and select OSS drivers. Set hardware acceleration to emulation. Keep the other default values. Click OK.</li>
<li>Download the Spotify Windows Installer on to your local disk. Right click it, select the permissions tab, and select the &#8220;Allow executing file as program&#8221; checkbox.</li>
<li>Right click the executable and select &#8220;Open with Wine&#8230;.&#8221; option.</li>
<li>After the installation, launch the client (it automatically launched for me).</li>
<li>Try playing a song from your Spotify playlists. If it works, then you are golden, else look further.</li>
<li>In my case, it reported to have a problem with my soundcard.</li>
<li>For some reason, if I launch Spotify directly using Wine as <strong><em>wine &#8220;C:/users/kv/Application Data/Spotify/spotify.exe&#8221;</em></strong> (or whatever the executable path is on your machine&#8221;, it was not using the right audio drivers).</li>
<li>
<div id="_mcePaste">So I try using padsp, which is the PulseAudio OSS wrapper which I think came natively bundled on my Ubuntu box.</div>
<div id="_mcePaste">padsp starts the specified program and redirects its access to OSS compatible audio devices (/dev/dsp and auxiliary devices) to a  PulseAudio sound server (directly from the man page).</div>
</li>
<li>Running it as <strong><em>padsp wine &#8220;C:/users/kv/Application Data/Spotify/spotify.exe&#8221; </em></strong>worked for me. Sound works without a hitch. I created a launcher on my desktop with the command above. Now I can run spotify on linux using wine with a double-click.</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://krishnamurthy.net.in/blog/2011/10/09/running-spotify-on-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Getting Pidgin, getting Gtalk</title>
		<link>http://krishnamurthy.net.in/blog/2007/09/07/getting-pidgin-getting-gtalk/</link>
		<comments>http://krishnamurthy.net.in/blog/2007/09/07/getting-pidgin-getting-gtalk/#comments</comments>
		<pubDate>Fri, 07 Sep 2007 18:36:00 +0000</pubDate>
		<dc:creator>Krishnamurthy Koduvayur Viswanathan</dc:creator>
				<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://krishnamurthy.net.in/blog/?p=14</guid>
		<description><![CDATA[I installed Ubuntu 7.04 which has Gaim preinstalled in it. For some reason I was not able to get Gtalk working on gaim. I checked up the google support page and found that there weren&#8217;t any instructions specific to gaim, and now there is Pidgin. So I decided to get Pidgin hoping that GTalk would [...]]]></description>
			<content:encoded><![CDATA[<p>I installed Ubuntu 7.04 which has Gaim preinstalled in it. For some reason I was not able to get Gtalk working on gaim. I checked up the google support page and found that there weren&#8217;t any instructions specific to gaim, and now there is Pidgin. So I decided to get Pidgin hoping that GTalk would work on it.</p>
<p>First I downloaded the Pidgin source from http://pidgin.im/ because that seemed to be the preferable thing to do. I realized that I will first have to install some prerequisites before I compile the source. So I did this:<br />
<span style="font-family: monospace"><br />
</span><span style="font-weight: bold; font-style: italic">sudo apt-get install libgtk2.0-dev libxml2-dev gettext libnss-dev libnspr-dev</span></p>
<p>The first package libgtk2.0 dev installs GTK2.0 development headers. I also installed the <span style="font-weight: bold; font-style: italic">build-dep gaim</span> package which installs the list of dependencies on your machine that the ubuntu developers used for gaim. After that I uninstalled gaim and gaim-data using synaptic.</p>
<p>Once you are done with that, you are ready to compile the Pidgin source code. First extract the source from the tar archive. Then run ./configure. My friend told me that a regular ./configure won&#8217;t suffice here because things like google talk may not work. So I configured it with the following switches:</p>
<p><span style="font-weight: bold; font-style: italic">./configure &#8211;enable-dbus &#8211;enable-nm &#8211;enable-mono &#8211;enable-gnutls=yes &#8211;enable-nss=yes &#8211;enable-gtkspell=yes &#8211;enable-plugins</span></p>
<p>That it:<br />
<span style="font-weight: bold; font-style: italic">make</span><br />
<span style="font-weight: bold; font-style: italic">sudo make install</span></p>
<p>That installs Pidgin on the system. To get GTalk working on my Pidgin, in addition to the instructions listed on the google support page, I also had to click on the advanced tab of the account setting and check the &#8220;Force old (port 5223) SSL&#8221;, set connection port to 5223 and connect server to talk.google.com.</p>
]]></content:encoded>
			<wfw:commentRss>http://krishnamurthy.net.in/blog/2007/09/07/getting-pidgin-getting-gtalk/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Development man pages</title>
		<link>http://krishnamurthy.net.in/blog/2007/09/03/development-man-pages/</link>
		<comments>http://krishnamurthy.net.in/blog/2007/09/03/development-man-pages/#comments</comments>
		<pubDate>Mon, 03 Sep 2007 19:22:00 +0000</pubDate>
		<dc:creator>Krishnamurthy Koduvayur Viswanathan</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://krishnamurthy.net.in/blog/?p=13</guid>
		<description><![CDATA[I was doing some elementary IPC programming on linux, and was looking for the man pages of the library calls that I was using in my programs (for functions like &#8220;perror&#8221;, &#8220;execlp&#8221; etc.) &#8216;cos its been a while since I have done anything in C. The way to get the manual page for these calls [...]]]></description>
			<content:encoded><![CDATA[<p>I was doing some elementary IPC programming on linux, and was looking for the man pages of the library calls that I was using in my programs (for functions like &#8220;perror&#8221;, &#8220;execlp&#8221; etc.) &#8216;cos its been a while since I have done anything in C. The way to get the manual page for these calls is:</p>
<p>kv$ man 3 &#8220;functionName&#8221;</p>
<p>where the number 3 specifies section number 3, which stands for library calls.</p>
<p>Now, it so happens that the development man pages are excluded by default in Ubuntu linux. A quick google search told me that the name of the package I was looking for is &#8220;manpages-dev.</p>
<p>Do:<br />
kv$ sudo apt-get install manpages-dev</p>
<p>and you get the documentation for all the methods that you want!</p>
]]></content:encoded>
			<wfw:commentRss>http://krishnamurthy.net.in/blog/2007/09/03/development-man-pages/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

