Appendix C: Format of J-Bird.prefs file

Introduction

J-Bird preferences are kept in a file called J-Bird.prefs. The file is a simple text file. You should not need to edit the file, although it is editable, and some values in it can be tweaked. If you choose to edit the file and mess it up, J-Bird will be unable to parse it and terminate with an error such as "Failed to parse preferences file {0}. There is probably an error in the file. You may be able to fix the problem using information at http://j-bird.sourceforge.net/uapdxc.html", where {0} is replaced the name of the J-Bird.prefs file on your computer. If you received such a message, this is the page for you. Or if you would like to tweak the file, this is the page for you.

Location of J-Bird.prefs

The file is usually stored somewhere in your home directory tree. The exact location depends whether you have a Mac, a Windows computer or a Unix/Linux computer. The preferences file is stored with configuration and state files as described in Appendix B. If you have received an error message from J-Bird that indicates that the preferences file could not be read, that message should specify the full path of the file on your computer.

Format of J-Bird.prefs

Keys and values in J-Bird.prefs

KeyValue
JDBCDriverName of JDBC driver used to access database
JDBCURLName of JDBC url used to access database
JDBCUserUser name used within the database
JDBCPasswordPassword used within the database
NextRunIndicates whether launcher should build database, repair it or run J-Bird, as described in Appendix A.
Acceptable values are "Build", "Repair", and "Run"
ShowLogBoolean value that indicates whether the log window is shown or hidden.
Acceptable values are "true" and "false".
ShowCountsDetermines whether counts are shown when ticking species.
Acceptable values are "true" and "false".
QuellPopupsSuppress popup dialogs in many situations in which they are cosmetic.
Acceptable values are "true" and "false".
ShowNamesDisplay common names, scientific names, or both in trip reports and species lists.
Acceptable values are "common", "scientific", and "both".
ScientificNamesNo longer used as of J-Bird 0.5.2. See Show Names. Preferences files that contain this keyword will be parsed correctly.
Acceptable values are "true" and "false".
CommonNameListReserved for future use.
LifePopupDisplay popups for life ticks.
Acceptable values are "true" and "false".
RegionPopupDisplay popups for region ticks.
Acceptable values are "true" and "false".
LifeSoundPlay sound for life ticks.
Acceptable values are "true" and "false".
RegionSoundPlay sound for region ticks.
Acceptable values are "true" and "false".
TickSoundPlay sound for ordinary ticks.
Acceptable values are "true" and "false".
ErrorSoundPlay sound for errors.
Acceptable values are "true" and "false".
LifeImageName of file that contains image to be displayed for life ticks. Relative paths are relative to the current working directory (i.e., not the data directory)
RegionImageName of file that contains image to be displayed for region ticks. Relative paths are relative to the current working directory (i.e., not the data directory)
LifeSoundBiteName of file that contains sound to be played for life ticks. Relative paths are relative to the current working directory (i.e., not the data directory)
LifeSoundCreditCredit that describes life-tick sound file.
RegionSoundBiteName of file that contains sound to be played for region ticks. Relative paths are relative to the current working directory (i.e., not the data directory)
RegionSoundCreditCredit that describes region-tick sound file.
TickSoundBiteName of file that contains sound to be played for ordinary ticks. Relative paths are relative to the current working directory (i.e., not the data directory)
TickSoundCreditCredit that describes ordinary-tick sound file.
ErrorSoundBiteName of file that contains sound to be played for life ticks. Relative paths are relative to the current working directory (i.e., not the data directory)
ErrorSoundCreditCredit that describe error sound file.

Previous (Appendix B) Contents Next (Appendix D)

SourceForge Logo

Last updated 15 March 2007