Date: prev next · Thread: first prev next last
2012 Archives by date, by thread · List index


Hi folks,

I'm currently thinking about a generic ways for configuring external
helpers, eg. mail client, web browser, etc. (at least on *nix ;-p)

For now, many applications (eg. libreoffice) have their own settings,
which adds additional code/complexity and requires the user to set it
in each single application. Let's imagine some approach which allows
it on a system-wide, user-wide, system-wide as well as application-wide
basis - how could that look like ?

From individual application side, it just wants to know which command
to call. It then just would call an universal wrapper, eg. like this:

 common-helper-app --caller=LibreOffice web-browser --url="http://foo.bar";
 common-helper-app --caller=LibreOffice web-add-bookmark --url "http://www.libreoffice.org"; --title 
"LibreOffice Homepage"
 common-helper-app --caller=LibreOffice mail-compose --mailto "foo@bar.org" --subject "Hello world"
 common-helper-app --caller=LibreOffice mail-mailbox --inbox
 common-helper-app --caller=LibreOffice show-document --auto --file "~/my_image.png"
 common-helper-app --caller=LibreOffice edit-document --auto --file "~/funny_pic.jpg"

If an application wants to launch an settings dialog for itself, it would call:

 common-helper-app --caller=LibreOffice configure


This 'common-helper-app' could be written in shellscript or whatever language
one likes and is provided by the distro. It's now fully up to that command to
decide what really to do (it could even consider session specific things like
whether to use a graphical or text terminal, use desktop environment
specific settings, etc, etc).


What do you think about this idea ?


cu
--
Mit freundlichen Grüßen / Kind regards

Enrico Weigelt
VNC - Virtual Network Consult GmbH
Head Of Development

Pariser Platz 4a, D-10117 Berlin
Tel.: +49 (30) 3464615-20
Fax: +49 (30) 3464615-59

enrico.weigelt@vnc.biz; www.vnc.de

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.