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

<channel>
	<title>Dor Shemer's Blog</title>
	<atom:link href="http://dorshemer.com/en/feed/" rel="self" type="application/rss+xml" />
	<link>http://dorshemer.com/en</link>
	<description>Just another WordPress weblog</description>
	<pubDate>Wed, 18 Feb 2009 10:11:40 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>How to sync Greasemonkey scripts between computers using Dropbox</title>
		<link>http://dorshemer.com/en/2009/02/sync-greasemonkey-using-dropbox/</link>
		<comments>http://dorshemer.com/en/2009/02/sync-greasemonkey-using-dropbox/#comments</comments>
		<pubDate>Wed, 18 Feb 2009 09:47:35 +0000</pubDate>
		<dc:creator>Dor Shemer</dc:creator>
		
		<category><![CDATA[Dropbox]]></category>

		<category><![CDATA[Firefox]]></category>

		<category><![CDATA[Greasemonkey]]></category>

		<category><![CDATA[How-to]]></category>

		<category><![CDATA[Linux]]></category>

		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://dorshemer.com/en/?p=3</guid>
		<description><![CDATA[Read the hebrew version here
I use Greasemonkey a lot. It&#8217;s a very useful tool indeed. I am, however, missing an important feature to sync Greasemonkey scripts between computers, something like what Foxmarks is doing with bookmarks (and they already said they are thinking about adding greasemonkey support). Until such a feature will be implemented officially, [...]]]></description>
			<content:encoded><![CDATA[<h3><a href="http://dorshemer.com/blog/2009/02/17/sync-greasemonkey-using-dropbox/">Read the hebrew version here</a></h3>
<p dir="ltr">I use Greasemonkey a lot. It&#8217;s a very useful tool indeed. I am, however, missing an important feature to sync Greasemonkey scripts between computers, something like what <a href="http://www.foxmarks.com/">Foxmarks</a> is doing with bookmarks (and they already said they are <a href="http://getsatisfaction.com/foxmarks/topics/sync_greasemonkey_and_ubiquity_scripts">thinking about adding greasemonkey support</a>). Until such a feature will be implemented officially, I decided to make one myself.</p>
<p dir="ltr">Since I need support for both Linux and Windows XP, I chose to use <a href="http://www.getdropbox.com">Dropbox</a>, which syncs between folders on your computer with extreme ease.</p>
<p dir="ltr"><strong>On Windows XP</strong></p>
<p dir="ltr">Download and install the <a href="https://www.getdropbox.com/downloading?os=win">Dropbox client</a>. If this is the first time you are using Dropbox, you will have to register first using the installation wizard. It&#8217;s really simple. When you&#8217;re done, you should see a new folder under My Documents called My Dropbox.</p>
<p dir="ltr">Locate you Firefox profile folder (usually <code>C:Documents and Settings&lt;User&gt;Application DataMozillaFirefoxProfiles&lt;Profile&gt;</code>) and move the folder gm_scripts from there to the new My Dropbox folder.</p>
<p dir="ltr">Then, download <a href="http://download.sysinternals.com/Files/Junction.zip">Junction</a> and extract junction.exe somewhere you can find it (I prefer c:windows, since it&#8217;s always in your PATH variable). Now open a command prompt (Start &gt; Run &gt; cmd) and type:</p>
<p style="text-align:left" dir="ltr"><code>junction C:Documents and Settings&lt;User&gt;Application DataMozillaFirefoxProfiles&lt;Profile&gt;gm_scripts C:Documents and Settings&lt;User&gt;My DocumentsMy Dropboxgm_scripts</code></p>
<p dir="ltr">This will link your Greasemonkey scripts folder to the new Dropbox folder. Note that this is not a copy of the original folder, but a link to it (read more <a title="NTFS junction point" href="http://en.wikipedia.org/wiki/NTFS_junction_point">here</a>).</p>
<p dir="ltr">Now all you have to do is restart Firefox and it will read the Greasemonkey scripts from your Dropbox shared folder!</p>
<p dir="ltr"><strong>On Linux</strong></p>
<p dir="ltr">Download and install the <a href="https://www.getdropbox.com/downloading?os=lnx">Dropbox client</a>. Since I use KDE and not Gnome I followed these <a href="http://www.terminally-incoherent.com/blog/2008/10/15/using-dropbox-without-gnome/">alternative instruction</a>. They are pretty simple to understand.</p>
<p dir="ltr">After the installation has finished, run the following commands:</p>
<p style="text-align:left" dir="ltr"><code>$ mv ~/.mozilla/firefox/profiles/&lt;Profile&gt;/gm_scripts/ ~Dropbox<br />
$ ln -s ~/Dropbox/gm_scripts/ ~/.mozilla/firefox/profiles/&lt;Profile&gt;/gm_scripts/</code></p>
<p dir="ltr">Just don&#8217;t forget to use your actual Firefox profile, of course.</p>
<p dir="ltr">Restart Firefox and you&#8217;re good to go!</p>
<p dir="ltr"><strong>Note</strong></p>
<p dir="ltr">After installing a new script on one computer, you will need to restart Firefox on the others to refresh the scripts list.</p>
<p dir="ltr">You can also sync other Firefox properties, such as cookies, bookmarks and history, by sharing .sqlite files under your profile dir, but I haven&#8217;t tried it yet so I can&#8217;t recommend it.</p>
]]></content:encoded>
			<wfw:commentRss>http://dorshemer.com/en/2009/02/sync-greasemonkey-using-dropbox/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
