<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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:georss="http://www.georss.org/georss" xmlns:gml="http://www.opengis.net/gml"
	>
<channel>
	<title>Comments on: OOO: Possible fix for the command timed out error on Leopard</title>
	<atom:link href="http://blog.shaunmcdonald.me.uk/2008/03/ooo-possible-fix-for-the-command-timed-out-error-on-leopard/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.shaunmcdonald.me.uk/2008/03/ooo-possible-fix-for-the-command-timed-out-error-on-leopard/</link>
	<description>My Random Ramblings</description>
	<lastBuildDate>Sun, 18 Apr 2010 02:18:58 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: John Lang</title>
		<link>http://blog.shaunmcdonald.me.uk/2008/03/ooo-possible-fix-for-the-command-timed-out-error-on-leopard/comment-page-2/#comment-8677</link>
		<dc:creator>John Lang</dc:creator>
		<pubDate>Tue, 13 Oct 2009 02:02:53 +0000</pubDate>
		<guid isPermaLink="false">http://smsm1986.wordpress.com/2008/03/30/ooo-possible-fix-for-the-command-timed-out-error-on-leopard/#comment-8677</guid>
		<description>HI IS THERE ANY ISSUES BETWEEN PARALLELS AND  UPGRADE LEOPART SNOW</description>
		<content:encoded><![CDATA[<p>HI IS THERE ANY ISSUES BETWEEN PARALLELS AND  UPGRADE LEOPART SNOW</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: &#8220;Command Time Out Error&#8221; OpenOffice di MacOSX Leopard &#171; c&#8217;est la vie</title>
		<link>http://blog.shaunmcdonald.me.uk/2008/03/ooo-possible-fix-for-the-command-timed-out-error-on-leopard/comment-page-2/#comment-622</link>
		<dc:creator>&#8220;Command Time Out Error&#8221; OpenOffice di MacOSX Leopard &#171; c&#8217;est la vie</dc:creator>
		<pubDate>Sat, 25 Oct 2008 02:55:11 +0000</pubDate>
		<guid isPermaLink="false">http://smsm1986.wordpress.com/2008/03/30/ooo-possible-fix-for-the-command-timed-out-error-on-leopard/#comment-622</guid>
		<description>[...] google &#8230; dan nemu link ShaunMcDonald yang nulis solusi masalah ini &#8230; implemented and voila OpenOffice bisa jalan normal [...]</description>
		<content:encoded><![CDATA[<p>[...] google &#8230; dan nemu link ShaunMcDonald yang nulis solusi masalah ini &#8230; implemented and voila OpenOffice bisa jalan normal [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tomas</title>
		<link>http://blog.shaunmcdonald.me.uk/2008/03/ooo-possible-fix-for-the-command-timed-out-error-on-leopard/comment-page-2/#comment-495</link>
		<dc:creator>Tomas</dc:creator>
		<pubDate>Mon, 13 Oct 2008 19:02:41 +0000</pubDate>
		<guid isPermaLink="false">http://smsm1986.wordpress.com/2008/03/30/ooo-possible-fix-for-the-command-timed-out-error-on-leopard/#comment-495</guid>
		<description>Hi Shaun,

today it works fine. I simply did the same like tommorow many times ( close the X11 standardly, and Force Quit the OO). After new starting of OO it start to work with menu inside Application window. 

Thanx and bye.

p.s. I am former windows c++ developer which decided switch to MAC for the rest of the life...</description>
		<content:encoded><![CDATA[<p>Hi Shaun,</p>
<p>today it works fine. I simply did the same like tommorow many times ( close the X11 standardly, and Force Quit the OO). After new starting of OO it start to work with menu inside Application window. </p>
<p>Thanx and bye.</p>
<p>p.s. I am former windows c++ developer which decided switch to MAC for the rest of the life&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: smsm1986</title>
		<link>http://blog.shaunmcdonald.me.uk/2008/03/ooo-possible-fix-for-the-command-timed-out-error-on-leopard/comment-page-2/#comment-484</link>
		<dc:creator>smsm1986</dc:creator>
		<pubDate>Sun, 12 Oct 2008 21:20:23 +0000</pubDate>
		<guid isPermaLink="false">http://smsm1986.wordpress.com/2008/03/30/ooo-possible-fix-for-the-command-timed-out-error-on-leopard/#comment-484</guid>
		<description>@Tomas, click the X11 icon, and it should activate the OpenOffice.org X11 window, thus allowing you to use the menus inside that window. With the X11 version you don&#039;t use the menus in the Mac OS X menu bar like you do with other Mac apps. Instead you use the menus inside the application window.

Alternatively go to and use the Aqua version, which is more up to date, and more importantly is more Mac like.</description>
		<content:encoded><![CDATA[<p>@Tomas, click the X11 icon, and it should activate the OpenOffice.org X11 window, thus allowing you to use the menus inside that window. With the X11 version you don&#8217;t use the menus in the Mac OS X menu bar like you do with other Mac apps. Instead you use the menus inside the application window.</p>
<p>Alternatively go to and use the Aqua version, which is more up to date, and more importantly is more Mac like.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tomas</title>
		<link>http://blog.shaunmcdonald.me.uk/2008/03/ooo-possible-fix-for-the-command-timed-out-error-on-leopard/comment-page-2/#comment-482</link>
		<dc:creator>Tomas</dc:creator>
		<pubDate>Sun, 12 Oct 2008 19:52:58 +0000</pubDate>
		<guid isPermaLink="false">http://smsm1986.wordpress.com/2008/03/30/ooo-possible-fix-for-the-command-timed-out-error-on-leopard/#comment-482</guid>
		<description>Hallo, 

i changed the script (/Applications/OpenOffice.org 2.4.app/Contents/Resources/Scripts/main.scpt) according instructions. Then i tried to start OpenOffice from Finder/Application folder. X11 and as well OpenOffice are displayed among running aplication. But OO menu consist just from 3 menues (OpenOffice.org, File,Edit) and exept Edit Script all submenues are dimmed and I cant open new document or create new.

Tomas</description>
		<content:encoded><![CDATA[<p>Hallo, </p>
<p>i changed the script (/Applications/OpenOffice.org 2.4.app/Contents/Resources/Scripts/main.scpt) according instructions. Then i tried to start OpenOffice from Finder/Application folder. X11 and as well OpenOffice are displayed among running aplication. But OO menu consist just from 3 menues (OpenOffice.org, File,Edit) and exept Edit Script all submenues are dimmed and I cant open new document or create new.</p>
<p>Tomas</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sharon</title>
		<link>http://blog.shaunmcdonald.me.uk/2008/03/ooo-possible-fix-for-the-command-timed-out-error-on-leopard/comment-page-2/#comment-413</link>
		<dc:creator>Sharon</dc:creator>
		<pubDate>Thu, 02 Oct 2008 03:22:15 +0000</pubDate>
		<guid isPermaLink="false">http://smsm1986.wordpress.com/2008/03/30/ooo-possible-fix-for-the-command-timed-out-error-on-leopard/#comment-413</guid>
		<description>I&#039;m more of just an &quot;end user&quot; but I was able to follow your instructions. This, combined with reloading active X solved me problem of not being able to open Open Office after an upgrade from Mac. Thank you so much because I would have lost a lot of precious data because of course, I had not backed up in a month. Thank you!</description>
		<content:encoded><![CDATA[<p>I&#8217;m more of just an &#8220;end user&#8221; but I was able to follow your instructions. This, combined with reloading active X solved me problem of not being able to open Open Office after an upgrade from Mac. Thank you so much because I would have lost a lot of precious data because of course, I had not backed up in a month. Thank you!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: wohnungdonau</title>
		<link>http://blog.shaunmcdonald.me.uk/2008/03/ooo-possible-fix-for-the-command-timed-out-error-on-leopard/comment-page-2/#comment-398</link>
		<dc:creator>wohnungdonau</dc:creator>
		<pubDate>Sun, 28 Sep 2008 21:23:18 +0000</pubDate>
		<guid isPermaLink="false">http://smsm1986.wordpress.com/2008/03/30/ooo-possible-fix-for-the-command-timed-out-error-on-leopard/#comment-398</guid>
		<description>Dear Shaun!

You saved my day with this script change! my wife was so angry about me (yeah, as if i did something to her pc...) it took me half a night to get to your blog, but now it works, so:

thank you very much!

yours, 

rob from vienna (if you ever come here, write me an email)</description>
		<content:encoded><![CDATA[<p>Dear Shaun!</p>
<p>You saved my day with this script change! my wife was so angry about me (yeah, as if i did something to her pc&#8230;) it took me half a night to get to your blog, but now it works, so:</p>
<p>thank you very much!</p>
<p>yours, </p>
<p>rob from vienna (if you ever come here, write me an email)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John Lang</title>
		<link>http://blog.shaunmcdonald.me.uk/2008/03/ooo-possible-fix-for-the-command-timed-out-error-on-leopard/comment-page-2/#comment-312</link>
		<dc:creator>John Lang</dc:creator>
		<pubDate>Wed, 17 Sep 2008 23:23:15 +0000</pubDate>
		<guid isPermaLink="false">http://smsm1986.wordpress.com/2008/03/30/ooo-possible-fix-for-the-command-timed-out-error-on-leopard/#comment-312</guid>
		<description>Hi I had a other go at it  only to find that it would not save it so in short it is outside my capability a cut and past solution would be handy or a patch to fix it
as it stands today I can not work with open office all my files were created by open office before I upgraded to Leopard 
Cheers  John Lang Australia</description>
		<content:encoded><![CDATA[<p>Hi I had a other go at it  only to find that it would not save it so in short it is outside my capability a cut and past solution would be handy or a patch to fix it<br />
as it stands today I can not work with open office all my files were created by open office before I upgraded to Leopard<br />
Cheers  John Lang Australia</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John Lang</title>
		<link>http://blog.shaunmcdonald.me.uk/2008/03/ooo-possible-fix-for-the-command-timed-out-error-on-leopard/comment-page-2/#comment-305</link>
		<dc:creator>John Lang</dc:creator>
		<pubDate>Wed, 17 Sep 2008 05:21:27 +0000</pubDate>
		<guid isPermaLink="false">http://smsm1986.wordpress.com/2008/03/30/ooo-possible-fix-for-the-command-timed-out-error-on-leopard/#comment-305</guid>
		<description>Hi i found the script and pasted the following
*==== (global variables as get-functions) ====*)

on getOOInstallPath()
	return (((path to me) as string) &amp; &quot;Contents:&quot;)
end getOOInstallPath

on getOOResourcesPath()
	return (((path to me) as string) &amp; &quot;Contents:Resources:&quot;)
end getOOResourcesPath

on getOOProgramPath()
	return (getOOInstallPath() &amp; &quot;MacOS:&quot;)
end getOOProgramPath

on getScriptPath()
	-- set this to absolute path when debugging
	return (((path to me) as string) &amp; &quot;Contents:Resources:Scripts:&quot;)
end getScriptPath

on getOOUserSettingsPath()
	return (((path to home folder) as string) &amp; &quot;Library:Application Support:OpenOffice.org:2:&quot;)
end getOOUserSettingsPath

on getOOUserFontPath()
	return (getOOUserSettingsPath() &amp; &quot;user:fonts:&quot;)
end getOOUserFontPath

on getUserLogsPath()
	return (((path to home folder) as string) &amp; &quot;Library:Logs:&quot;)
end getUserLogsPath

on shellTerminator()
	return (&quot; &amp;&gt;/dev/null &amp; echo $!&quot;) as string
end shellTerminator

--
-- the default handlers: run, open, idle, quit
--

on run
	if (preRun()) then
		logEvent(&quot;(Scripts/main) Running OpenOffice.org&quot;)
		openSoffice(&quot;-&quot;)
	end if
end run

on open (theFiles)
	if (preRun()) then
		openFiles(theFiles)
	end if
end open

on idle
	-- close icon only if ooo has terminated
	if (hasOOoQuit()) then
		tell me to quit
	end if
	-- check all x seconds if ok to quit
	return 3
end idle

on quit
	if (hasOOoQuit()) then
		continue quit
	end if
end quit

-------------------------------------------------------------

on preRun()
	
	
	-- Check for the required version of Mac OS X
	if (atLeastOSXVersion(10, 5, 0)) then
		 -- if we have leopard, we don&#039;t need to manually start the X server first
  set theCmd to &quot;sh &quot; &amp; (quoted form of (POSIX path of getOOProgramPath() &amp; &quot;soffice&quot;)) &amp; &quot; &quot;
  do shell script theCmd &amp; aFile &amp; shellTerminator()
  else
  startXServer()
  if (theDisplay is equal to &quot;error&quot;) then
   return
  end if
  set theEnv to &quot;DISPLAY=&quot; &amp; theDisplay &amp; &quot; ; export DISPLAY; &quot;
  set theCmd to &quot;sh &quot; &amp; (quoted form of (POSIX path of getOOProgramPath() &amp; &quot;soffice&quot;)) &amp; &quot; &quot;
  do shell script theEnv &amp; theCmd &amp; aFile &amp; shellTerminator()
  -- logEvent(&quot;open CMD: &quot; &amp; theEnv &amp; theCmd &amp; aFile)
  end if
  end opensoffice	
	
	-- Check for that OOo can be found
	if (not isRealPath(getOOProgramPath())) then
		display dialog getMessage(&quot;ERROR_OOO_NOT_FOUND&quot;)
		return false
	end if
	
	if (not isRealPath(getOOUserFontPath())) then
		set createUserFont to &quot;mkdir -p &quot; &amp; (quoted form of POSIX path of getOOUserFontPath()) &amp; &quot;; &quot;
		do shell script createUserFont
	end if
	
	-- If no crash occured before, ~/Library/Logs does not exist, and OpenOffice.org cannot be started
	if (not isRealPath(getUserLogsPath())) then
		set createUserLogsPath to &quot;mkdir -p &quot; &amp; (quoted form of POSIX path of getUserLogsPath()) &amp; &quot;; &quot;
		do shell script createUserLogsPath
	end if

this did not fix it  please send by email the complete script if posible 


Cheers  John Lang</description>
		<content:encoded><![CDATA[<p>Hi i found the script and pasted the following<br />
*==== (global variables as get-functions) ====*)</p>
<p>on getOOInstallPath()<br />
	return (((path to me) as string) &amp; &#8220;Contents:&#8221;)<br />
end getOOInstallPath</p>
<p>on getOOResourcesPath()<br />
	return (((path to me) as string) &amp; &#8220;Contents:Resources:&#8221;)<br />
end getOOResourcesPath</p>
<p>on getOOProgramPath()<br />
	return (getOOInstallPath() &amp; &#8220;MacOS:&#8221;)<br />
end getOOProgramPath</p>
<p>on getScriptPath()<br />
	&#8211; set this to absolute path when debugging<br />
	return (((path to me) as string) &amp; &#8220;Contents:Resources:Scripts:&#8221;)<br />
end getScriptPath</p>
<p>on getOOUserSettingsPath()<br />
	return (((path to home folder) as string) &amp; &#8220;Library:Application Support:OpenOffice.org:2:&#8221;)<br />
end getOOUserSettingsPath</p>
<p>on getOOUserFontPath()<br />
	return (getOOUserSettingsPath() &amp; &#8220;user:fonts:&#8221;)<br />
end getOOUserFontPath</p>
<p>on getUserLogsPath()<br />
	return (((path to home folder) as string) &amp; &#8220;Library:Logs:&#8221;)<br />
end getUserLogsPath</p>
<p>on shellTerminator()<br />
	return (&#8221; &amp;&gt;/dev/null &amp; echo $!&#8221;) as string<br />
end shellTerminator</p>
<p>&#8211;<br />
&#8211; the default handlers: run, open, idle, quit<br />
&#8211;</p>
<p>on run<br />
	if (preRun()) then<br />
		logEvent(&#8220;(Scripts/main) Running OpenOffice.org&#8221;)<br />
		openSoffice(&#8220;-&#8221;)<br />
	end if<br />
end run</p>
<p>on open (theFiles)<br />
	if (preRun()) then<br />
		openFiles(theFiles)<br />
	end if<br />
end open</p>
<p>on idle<br />
	&#8211; close icon only if ooo has terminated<br />
	if (hasOOoQuit()) then<br />
		tell me to quit<br />
	end if<br />
	&#8211; check all x seconds if ok to quit<br />
	return 3<br />
end idle</p>
<p>on quit<br />
	if (hasOOoQuit()) then<br />
		continue quit<br />
	end if<br />
end quit</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</p>
<p>on preRun()</p>
<p>	&#8211; Check for the required version of Mac OS X<br />
	if (atLeastOSXVersion(10, 5, 0)) then<br />
		 &#8212; if we have leopard, we don&#8217;t need to manually start the X server first<br />
  set theCmd to &#8220;sh &#8221; &amp; (quoted form of (POSIX path of getOOProgramPath() &amp; &#8220;soffice&#8221;)) &amp; &#8221; &#8221;<br />
  do shell script theCmd &amp; aFile &amp; shellTerminator()<br />
  else<br />
  startXServer()<br />
  if (theDisplay is equal to &#8220;error&#8221;) then<br />
   return<br />
  end if<br />
  set theEnv to &#8220;DISPLAY=&#8221; &amp; theDisplay &amp; &#8221; ; export DISPLAY; &#8221;<br />
  set theCmd to &#8220;sh &#8221; &amp; (quoted form of (POSIX path of getOOProgramPath() &amp; &#8220;soffice&#8221;)) &amp; &#8221; &#8221;<br />
  do shell script theEnv &amp; theCmd &amp; aFile &amp; shellTerminator()<br />
  &#8212; logEvent(&#8220;open CMD: &#8221; &amp; theEnv &amp; theCmd &amp; aFile)<br />
  end if<br />
  end opensoffice	</p>
<p>	&#8211; Check for that OOo can be found<br />
	if (not isRealPath(getOOProgramPath())) then<br />
		display dialog getMessage(&#8220;ERROR_OOO_NOT_FOUND&#8221;)<br />
		return false<br />
	end if</p>
<p>	if (not isRealPath(getOOUserFontPath())) then<br />
		set createUserFont to &#8220;mkdir -p &#8221; &amp; (quoted form of POSIX path of getOOUserFontPath()) &amp; &#8220;; &#8221;<br />
		do shell script createUserFont<br />
	end if</p>
<p>	&#8211; If no crash occured before, ~/Library/Logs does not exist, and OpenOffice.org cannot be started<br />
	if (not isRealPath(getUserLogsPath())) then<br />
		set createUserLogsPath to &#8220;mkdir -p &#8221; &amp; (quoted form of POSIX path of getUserLogsPath()) &amp; &#8220;; &#8221;<br />
		do shell script createUserLogsPath<br />
	end if</p>
<p>this did not fix it  please send by email the complete script if posible </p>
<p>Cheers  John Lang</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sai</title>
		<link>http://blog.shaunmcdonald.me.uk/2008/03/ooo-possible-fix-for-the-command-timed-out-error-on-leopard/comment-page-2/#comment-265</link>
		<dc:creator>sai</dc:creator>
		<pubDate>Thu, 11 Sep 2008 14:15:23 +0000</pubDate>
		<guid isPermaLink="false">http://smsm1986.wordpress.com/2008/03/30/ooo-possible-fix-for-the-command-timed-out-error-on-leopard/#comment-265</guid>
		<description>glad i found this link ... 
iBook PPC-G4/1GHz 1.25GB RAM
MacOSX Leopard 10.5.3
XQuartz 2.2.2
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_13-b05-237)
OO 2.4.0

it absolutely works. Thanks a lot ...</description>
		<content:encoded><![CDATA[<p>glad i found this link &#8230;<br />
iBook PPC-G4/1GHz 1.25GB RAM<br />
MacOSX Leopard 10.5.3<br />
XQuartz 2.2.2<br />
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_13-b05-237)<br />
OO 2.4.0</p>
<p>it absolutely works. Thanks a lot &#8230;</p>
]]></content:encoded>
	</item>
</channel>
</rss>
