Granule User's Manual
Prev | Chapter 4. Configuration | Next

# 4.5. Configuration File

Granule stores its configuration file in `$HOME/.granule` text file. Here is an example of our test configuration file:

    [options]
    gtk_options=--g-fatal-warnings
    log_level=0
    log_stdout=false
    mask=0

    [History]
    0=/export/home/vlad/English/Words/Travels/Homework_01.cdf
    1=/export/home/vlad/English/Words/Travels/travels_all.cdf

    [Default]
    filesel_path=/export/home/vlad/English/Words/Travels/
    question_font_desc=Times New Roman 24
    answer_font_desc=Sans 14
    example_font_desc=Sans 14
    mainwin_geometry=350x430
    cardview_geometry=386x643
    deckplayer_geometry=350x583
    deckplayer_keep_aspect=true
    deckplayer_aspect=3x5
    snd_player_cmd=sox
    snd_player_args=%s -t ossdsp -v 1.7  -r 48000 /dev/dsp
    remove_duplicates=true
    snd_archive_path=/usr/share/WyabdcRealPeopleTTS/

    [FlipSide]
    front_0=/export/home/vlad/English/Words/Travels/Travels_p133.dkf
    front_1=/export/home/vlad/English/Words/Travels/Travels_p147.dkf
    front_2=/export/home/vlad/English/Words/Travels/Travels_p167.dkf
    front_3=/export/home/vlad/English/Words/Travels/Travels_p159.dkf
    back_4=/export/home/vlad/English/Words/Travels/Travels_p186.dkf
    front_5=/export/home/vlad/English/Words/Travels/Travels_pp_1-132.dkf
    front_6=/export/home/vlad/English/Words/Travels/Travels_p201.dkf
    front_7=/export/home/vlad/English/Words/Travels/Travels_p211.dkf
    front_8=/export/home/vlad/English/Words/Travels/Lesson_01.dkf

    [Scheduling]
    1=4/0
    2=0/1
    3=0/2
    4=0/3
    5=0/4

options section

  Holds various command-line arguments you can pass to Granule. See % granule --help for details.

History section

  Keeps track of last five opened CardBoxes. CardFile->Open Recent menu is filled with these entries.

Default section

  Holds all configurable parameters of the Preferences dialog.

FlipSide section

  Remembers which side of the Deck should be questioned next time it is loaded into Granule.

Scheduling section

  Holds Preferences->Scheduling options of the Preferences dialog.

A default configuration file is installed with Granule installation on your system.

Prev | Home | Next
Geometry Preferences | Up | File Formats And Conversions