Configuration

Scipting can access Bibledit's configuration settings. Normally the settings of Bibledit are made in the graphical user interface. But through scripting you can read and write these values too.

General Configuration

Introduction

The general configuration of Bibledit can be accessed by running command

bibledit --general-configuration

For example, to see whether Bibledit will synchronize all projects on shutdown, type

bibledit --general-configuration --read --key sync_shutdown

This is a boolean value. If it replies "1", that means, true, e.g. Bibledit will sync all projects on shutdown. If it gives "0", that means, false.

To modify the configuration, and have Bibledit synchronize no projects on shutdown, type

bibledit --general-configuration --write --key sync_shutdown --value 0

In the graphical version of Bibledit you can now check this setting and see that it has changed.

Keys

Here follows a table of keys, and some information about each key. The first column lists the name of the key. The second one describes what the key is used for. The last column gives what kind of value the key gives, e.g. boolean.

Project Configuration

Introduction

The project configuration of Bibledit can be accessed by running command

bibledit --project-configuration

For example, to see which font Bibledit will use to display project Ndebele, type

bibledit --project-configuration --project Ndebele --read --key editor_font

This is a string value. It will show the name of the font.

To modify the configuration, and have Bibledit use another font, type

bibledit --project-configuration --project Ndebele --write --key editor_font --value 'Bitstream Charter 14'

In the graphical version of Bibledit you can now check this setting and see that it has changed.

Keys

Here follows a table of keys, and some information about each key. The first column lists the name of the key. The second one describes what the key is used for. The last column gives what kind of value the key gives, e.g. string.