воскресенье, 15 ноября 2009 г.

linux firefox webdav integration

linux firefox webdav integration

We can integrate firefox with many programs without going deep into system programming using mozplugger.

Install mozplugger; see man; see "about:plugins";
edit /etc/mozpluggerrc or ~/.mozilla/mozpluggerrc:

application/test:test:test
     embed swallow(xeyes) stream: xeyes

application/davmount+xml:davmount:WebDAV
     embed swallow(kkk) stream: plasmoidviewer --name kkk folderview "$fragment"
# links stream: dolphin "$fragment"

To make changes take effect:
$ rm ~/.mozilla/firefox/some.profile/pluginreg.dat

Here we add config to view WebFolder inside the web page;
stream: this command can take an url;
swallow(name): move window with the specified name;
name is obtained by: $ xprop WM_CLASS;
$fragment was used intead of $file, because the $file required to be real one;
multiple embed-s on one page was not working properly.

Page will include a code like this:
<embed
type="application/davmount+xml"
src="#webdav://myhost.ee:8080/pub"
width="600" height="600">
</embed>

Further look:
in X: XReparentWindow(...). XEmbed over it; in Qt QX11EmbedContainer, QX11EmbedWidget; Gtk Socket.

Nice utils was also found:
tabbed manager: http://torjian.blogspot.com/2009/11/tabbed-terminal-xembed.html
wmctrl -l

ActiveState Komodo uses plugins to embed the Scintilla editor in its XUL-based UI.
Search gnash for --disable-kparts / --disable-nsapi, because it supports both kpart and nsplugin
The same (file list?) kpart is used in dolphin and konqueror.
Some integration in new SUSE: http://opensuse.org/OpenSUSE_11.2

Комментарии: Отправить комментарий

Подпишитесь на каналы Комментарии к сообщению [Atom]





<< Главная страница

This page is powered by Blogger. Isn't yours?

Подпишитесь на каналы Сообщения [Atom]