<?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>gHacks technology news &#187; lock files</title>
	<atom:link href="http://www.ghacks.net/tag/lock-files/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ghacks.net</link>
	<description>A technology blog covering software, mobile phones, gadgets, security, the Internet and other relevant areas.</description>
	<lastBuildDate>Tue, 24 Nov 2009 22:37:16 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Linux Firefox Tips</title>
		<link>http://www.ghacks.net/2009/02/14/linux-firefox-tips/</link>
		<comments>http://www.ghacks.net/2009/02/14/linux-firefox-tips/#comments</comments>
		<pubDate>Sat, 14 Feb 2009 21:47:07 +0000</pubDate>
		<dc:creator>Jack Wallen</dc:creator>
				<category><![CDATA[Advice]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Tutorials Basic]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[browser plugins]]></category>
		<category><![CDATA[lock files]]></category>
		<category><![CDATA[plugins]]></category>

		<guid isPermaLink="false">http://www.ghacks.net/?p=10557</guid>
		<description><![CDATA[If you use Linux you most likely use Firefox. And if you use Firefox on Linux you might know there are some differences than when using it on Windows. I know I have spent many an hour trying to figure out some of these issues. Hopeful, with the help of gHacks, you won&#8217;t have to [...]]]></description>
			<content:encoded><![CDATA[<p>If you use Linux you most likely use <a href="http://www.ghacks.net/tag/firefox/">Firefox</a>. And if you use <a title="Firefox" href="http://www.mozilla.com" target="_blank">Firefox</a> on Linux you might know there are some differences than when using it on Windows. I know I have spent many an hour trying to figure out some of these issues. Hopeful, with the help of gHacks, you won&#8217;t have to spend as much time and energy.</p>
<p>There are two main issues that come up with Firefox (one dealing with plugins and the other dealing with a &#8220;hidden&#8221; lock file). These two issues alone could be considered deal breakers with new users. As for plugins, I am going to show you how to install the Flashplayer plugin (as that is one of the most popular and widely used plugins) on Linux-based Firefox. So, without further adieu, let&#8217;s see how to get past these issues. The solutions are very simple.</p>
<p><span id="more-10557"></span><strong>Plugins</strong></p>
<p>I have seen Firefox behave two ways: I have seen the browser automatically install the necessary plugins, and I have seen it demand manual installation of plugins. I would like to think the automated installation is where Linux Firefox is heading, but you can never count on automation 100% of the time. For those times when you will need to install Flashplayer manually here is how you do it.</p>
<p>The first thing you need to do is to download the appropriate version of the Flashplayer plugin. You can get the plugin from the <a title="get flashplayer" href="http://get.adobe.com/flashplayer/" target="_blank">Adobe Flashplayer Download Page</a>. For simplicity sake download the source file which will be a tar.gz file. Once that is downloaded unpack the file with the command:</p>
<p><em>tar xvzf install_flash_player_10_linux.tar.gz</em></p>
<p>which will create the new directory <strong>install_flash_player_10_linux/</strong>. Change into that directory with the command:</p>
<p><em>cd install_flash_player_10_linux/</em></p>
<p>and you will find two files:</p>
<ul>
<li>flashplayer-installer</li>
<li>libflashplayer.so</li>
</ul>
<p>The file <strong>flashplayer-installer</strong> is the executable installer. In order to actually execute this you will have to give the file executable permissions with the command <em>chmod u+x flashplayer-installer</em>. Once you  have done this close your browser and issue the command <em>./flashplayer-installer</em>. To complete the installation answer a few simple questions. Once the installer finishes, fire up Firefox and enter <em>about:plugins</em> in the address bar to check to make sure the plugin was installed. If all went well you should see a listing for Shockwave Flash.</p>
<p><strong>Lock File</strong></p>
<p>That dastardly lock file can be a real pain some times. When Firefox is running it creates a special file called a lock file in the users Firefox directory. As long as this lock file is there another instance of Firefox will not open. If Firefox crashes and the lock file isn&#8217;t automatically removed by Firefox, you will get an error message saying you need to close Firefox before it will run. There are two ways to do this. You can issue the command <em>killall -9 firefox-bin</em> and hope it takes the lock file with it, or you can remove the lock file manually.</p>
<p>To remove the file manually open up a terminal window and issue the command <em>cd ~/.mozilla</em>/firefox<em>. </em>Within this directory will be a directory unique to the user. To find out the name of this directory issue the command <em>ls.</em> The directory will be a random string of characters. Mine, for example, is <strong>u6n8y834.default. </strong>Change into this directory and issue the command <em>ls</em>. You should now see a file called <strong>lock</strong>. Issue the command <em>rm lock</em> to remove this file. Firefox should now start up.</p>
<p>The issue of this lock file shouldn&#8217;t come up very often. But when it does, it&#8217;s nice to know how to solve the problem.</p>
<p><strong>Final Thoughts</strong></p>
<p>Firefox is an outstanding browser. But no matter how good it is, it can still have issues. When these issues arise, it is reassuring to know you can get beyond them. Hopefully, however, your experience with Firefox in Linux will be bereft of problems.</p>

	Tags: <a href="http://www.ghacks.net/tag/browser-plugins/" title="browser plugins" rel="tag">browser plugins</a>, <a href="http://www.ghacks.net/tag/firefox/" title="firefox" rel="tag">firefox</a>, <a href="http://www.ghacks.net/tag/linux/" title="Linux" rel="tag">Linux</a>, <a href="http://www.ghacks.net/tag/lock-files/" title="lock files" rel="tag">lock files</a>, <a href="http://www.ghacks.net/tag/plugins/" title="plugins" rel="tag">plugins</a><br />

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.ghacks.net/2009/05/18/open-xml-viewer-for-microsoft-word-2007/" title="Open XML Viewer For Microsoft Word 2007 (May 18, 2009)">Open XML Viewer For Microsoft Word 2007</a> (2)</li>
	<li><a href="http://www.ghacks.net/2008/11/18/manage-firefox-plugins/" title="Manage Firefox Plugins (November 18, 2008)">Manage Firefox Plugins</a> (2)</li>
	<li><a href="http://www.ghacks.net/2009/04/20/linux-solutions-why-does-firefox-start-in-offline-mode/" title="Linux Solutions: Why does Firefox start in offline mode? (April 20, 2009)">Linux Solutions: Why does Firefox start in offline mode?</a> (7)</li>
	<li><a href="http://www.ghacks.net/2009/02/19/installing-firefox-and-flash-from-source/" title="Installing Firefox and Flash From Source (February 19, 2009)">Installing Firefox and Flash From Source</a> (8)</li>
	<li><a href="http://www.ghacks.net/2009/04/10/extend-firefoxs-user-agent-switcher/" title="Extend Firefox&#8217;s user agent switcher (April 10, 2009)">Extend Firefox&#8217;s user agent switcher</a> (6)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.ghacks.net/2009/02/14/linux-firefox-tips/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>
