Re: Regarding Nautilus scripts

> On a related note about .server files, and I think this is sort of where
> Eugenia is trying to go is, while the .server file needs to be in a
> spacific directory, a .so plugin does not need to be in a spacific
> location. So there is two parts to a plugin. A .server file and a .so
> file. One of the things that was very nice about MacOS < X (and maybe X, I
> havent used X) was that you could put an extention in (one file) a
> special directory and it was registered. And when you were done with
> it, you just removed it from the directory. Maybe an extention library
> could be added to bonobo(-activation) so that a .server file could be
> described in a .so file (Maybe as a function??) and have a program that
> pulls out the .server and registers it with bonobo-activation. (hmm...
> this sounds familior. Doesnt activex do something like this...). Then
> have nautilus have a special directory for plugins such that, if you
> place a .so file in that directory, it automatically registeres the plugin
> and when you remove it, it unregisteres it. This would add functionality
> similar to what MacOS has. Also, since its not nautilus spacific, it
> would also be an easy way to install plugins for other bonobo-activation
> programs. (Maybe gedit?)

That's exactly what I was talking about, regarding the location. MacOS is
not the only OS that does that, BeOS does that too with Tracker's addon. You
pop their .so files to the correct location as defined by pkgconfig (if you
want to install them manually that is) and voila, the addon is there! No
.server files or .so files all over the place. Just a simple .so or
executable, these applets are small apps anyway and when they are not, let
the .so file to call the big app (e.g file roller). On BeOS, you don't even
have to restart the file manager for Tracker to find the newly placed addon,
the live queries system will tell Tracker that a new addon was placed,

Underlying OS + integration is your friend.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]