Re: ioslaves with *any* linux apps -> it works :-))

Alexander Neundorf <[email protected]>
Newsgroups gmane.comp.kde.debian
Message-ID <[email protected]>
On Thursday 08 January 2004 23:19, Kurt Pfeifle wrote:
> Alexander Neundorf wrote:
>
> [....]
>
> > 2. Option:
> >
> > mount a general ioslave - fuse "gateway"
> >
> > fuse_kio --gateway /your/gatewaymountpoint
> >
> > find a remote file, e.g. fish://you@wherever/home/you/sometext.html
> >
> > replace the "://" with ":__" (two underscores) and prepend /your/
> > gatewaymountpoint, gives:
> >
> > /your/gatewaymountpoint/fish:__you@wherever/home/you/sometext.html
> >
> > and open this file e.g. with OOo writer:
> >
> > swriter
> > /your/gatewaymountpoint/fish:__you@wherever/home/you/sometext.html
> >
> > and see what happens :-))
>
> Jesus Christ!!
>
> I didn't see it but I can imagine it. So if you can now fully
> transparently access "fish-mounted" filesystems from OpenOffice,

Well, the script and the modified .desktop-files still have to be done.

the script should basically do the following:

#ioslavewrapper.script
#!some_scripting_lang

if $1.isLocal()
   $2 $1
else // it's a remote url
   mounted_url=$IOSLAVE_GATEWAY_MOUNTPOINT/$1.replace("://",":__")
   $2 mounted_url

and then call it like 

ioslavewrapper fish://you@foo/home/you/blah.txt swriter

or something like this.

> and if you combine this with the achievements of Jan "Kendy"
> Hoselovsky which were announced a few hours ago (see
> http://dot.kde.org/1073557624/ if you missed it so far), and with
> the OpenOffice-1.1 toolbar icon theme (by Rohit Kaul) then we
> could really claim with a calm face that OpenOffice is now better
> integrated into KDE than into Ximian Desktop 2. Or, what is
> missing, apart from the dialogs (which Kendy is also working
> on, I believe)?
>
> We should be really pushing this fact into the public knowledge!
>
> This is the kind of news which needs to trickle even into CEO
> and CIO offices of Fortune 500 companies. Bruse will not like
> it too much, but here we can't help, can we?
>
> Oh, dear.
>
> Alex, you rock!

:-)

> > http://www.neundorf.net/pics/swriter_with_fuse-kio-gateway.png
>
> Awesome!
>
> (May I ask for a "blue" KDE Corp. Ident. background-shot which is
> fit for public cosumption and makes it more recognizeable as a
> KDE stuff thingie?   ;-)

Not today, and not on the weekend, maybe tomorrow in the evening.

Bye
Alex
-- 
Work: [email protected] - http://www.jenoptik-los.de
Home: [email protected]                - http://www.kde.org
      [email protected]               - http://www.neundorf.net
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.