On 07/12/2009 05:56 PM, Mark C. Miller wrote:
> Excuse me if this isn't appropriate for this group; just tell me and I'll 
> try and find another place to ask.
> 
> I have all my documents/images/presentation files on a computer at my 
> house that can be reached via SSH using DYNDNS.  I work from three 
> different machines at home, one at my place of employment (high school) 
> and one from my church.
> 
> I'd like to automatically execute the ssh command, change directory, and 
> have OOo look in that directory when I use the "open" menu.
> 
> Is there a way to do this from within OOo?  Or, do I need to look at a 
> shell script that would handle opening the ssh session and invoke OOo?
> 
> I know next to nothing about anything I just said, so pointers are 
> welcome.
> 
> In each case, I'm using ubuntu 9.04 as an OS and OOo Ubuntu version 3.0.1
> 
> Thanks
> 
> mcm

I'm not sure that you'd want to do that automatically. However if you
use sftp (Nautilus (Places if you haven't figured out Places is the
Nautilus file manager in Gnome)|Connect to Server|Service type:
SSH|Server: IP address|Connect. Note: if using DYNDNS you can use the
domain name instead, but I always prefer to check first by ssh'ing into
the machine first to test... on dynamic IP's DYDNS may have the
previously cached IP address instead of the actual IP address if there
is a problem with the update to DYDNS via the router or DYDNS software
updater.

In OOo: Tools|Options|OpenOffice.org|General|uncheck 'Use OpenOffice.org
dialogs'.

In OOo: File|Open|right-click and ensure that 'Show Hidden files' is
checked|scroll to home/<username>/.gvfs (on your local machine) & keep
clicking until you get to the folder where your documents on the remote
machine are stored (home/<username>/<documentfolder>|select the doc that
you want to open.

Typically, if you close OOo, and then reopen + use File|Open OOo will
revert to the last location; so it should work if you use the domain
name, but it will not with dynamic IP's by themselves as the IP will
most likely have changed. Test & see which works best for you.

Note: be aware that by sftp'ing into the remote machine you have the
ability to change/modify/delete etc., files on that machine that may
affect it's operation. Hence my comment "I'm not sure that you'd want to
do that automatically". Take appropriate security and file precautions.









---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@openoffice.org
For additional commands, e-mail: users-h...@openoffice.org

Reply via email to