# HG changeset patch # User Goffi # Date 1622726111 -7200 # Node ID 0985c47ffd96f0c1e93d5854184b2ad11a3e0544 # Parent 67aebefb44fceb8184274fb1a685954502259502 doc: config file is now `libervia.conf` (even if `sat.conf` still works, for now) diff -r 67aebefb44fc -r 0985c47ffd96 doc/installation.rst --- a/doc/installation.rst Thu May 06 21:39:08 2021 +0200 +++ b/doc/installation.rst Thu Jun 03 15:15:11 2021 +0200 @@ -63,7 +63,7 @@ $ mkdir -p ~/.config/sat -and the file ``~/.config/sat/sat.conf`` containing: +and the file ``~/.config/sat/libervia.conf`` containing: .. sourcecode:: cfg diff -r 67aebefb44fc -r 0985c47ffd96 doc/libervia-cli/blog.rst --- a/doc/libervia-cli/blog.rst Thu May 06 21:39:08 2021 +0200 +++ b/doc/libervia-cli/blog.rst Thu Jun 03 15:15:11 2021 +0200 @@ -71,7 +71,7 @@ For some common editors (like **vim** or **Emacs**), the editor will be automatially opened using a split screen with *body* in one side, and metadata on the other. If the editor is not supported or doesn't support split screen, you'll edit first the *body*, then -the *metadata*. You can also specify editor and arguments in ``sat.conf``, see +the *metadata*. You can also specify editor and arguments in ``libervia.conf``, see `configuration `_ below If you don't change anything or publish an empty blog post, the edition will be cancelled. @@ -179,7 +179,7 @@ ^^^^^^ Local editor used is by default the one set in ``$EDITOR`` environment variable, but you -can specify one in ``sat.conf``. To do so, you have to set the name of an editor +can specify one in ``libervia.conf``. To do so, you have to set the name of an editor executable in the ``editor`` option in ``[li]`` section. You can specify the args to use by using ``blog_editor_args`` option. Use @@ -205,7 +205,7 @@ This can be used to activate automatic refreshing of the page. For **Konqueror**, you can use its D-Bus API to do refreshing. Ensure that ``qdbus`` is -installed on your system, and enter the following lines in your ``sat.conf``: +installed on your system, and enter the following lines in your ``libervia.conf``: .. sourcecode:: cfg @@ -214,7 +214,7 @@ blog_preview_update_cmd = /bin/sh -c "qdbus $(qdbus org.kde.konqueror\*) /konqueror/MainWindow_1 reload" For **Firefox**, you may use ``xdotool`` on X11. Once you have installed this tool, enter the -following lines in your ``sat.conf``: +following lines in your ``libervia.conf``: .. sourcecode:: cfg @@ -232,7 +232,7 @@ mapping which can be overriden. The mapping is set in the ``syntax_ext_dict`` option of the ``[li]`` section of your -``sat.conf`` file. For instance, if your prefer do your ``.markdown`` for temp files +``libervia.conf`` file. For instance, if your prefer do your ``.markdown`` for temp files instead of the default ``.md``, you can use this: .. sourcecode:: cfg diff -r 67aebefb44fc -r 0985c47ffd96 doc/libervia-cli/debug.rst --- a/doc/libervia-cli/debug.rst Thu May 06 21:39:08 2021 +0200 +++ b/doc/libervia-cli/debug.rst Thu Jun 03 15:15:11 2021 +0200 @@ -82,7 +82,7 @@ ===== Show the colour constants in their respective colour, according to background (``light`` -or ``dark``). If backround option is not set in ``sat.conf``, it will be autodetected, and +or ``dark``). If backround option is not set in ``libervia.conf``, it will be autodetected, and colour theme will be modified accordingly. example diff -r 67aebefb44fc -r 0985c47ffd96 doc/overview.rst --- a/doc/overview.rst Thu May 06 21:39:08 2021 +0200 +++ b/doc/overview.rst Thu Jun 03 15:15:11 2021 +0200 @@ -38,7 +38,7 @@ ======= The backend is a daemon, that means that it's a service running in the background. -It takes its main configuration from a file named ``sat.conf`` and can be in different +It takes its main configuration from a file named ``libervia.conf`` and can be in different locations (see below). It uses data in a directory called ``local_dir``, and which default, on suitable platforms, to the corresponding `XDG directory`_, which is most of time ``~/.local/share/sat``. In this directory, you'll find the main database in the @@ -212,7 +212,7 @@ repositories lighter, those media are grouped in a separate repository. The Libervia media repository is available at https://repos.goffi.org/sat_media. You can also download media at https://ftp.goffi.org/sat_media/sat_media.tar.bz2. The path where Libervia media are -installed must be specified in ``sat.conf`` in ``media_dir`` option of the ``[DEFAULT`` +installed must be specified in ``libervia.conf`` in ``media_dir`` option of the ``[DEFAULT`` section. Libervia Templates