~ubuntu-branches/ubuntu/saucy/gaupol/saucy-proposed

« back to all changes in this revision

Viewing changes to doc/wiki/hidden-preferences.wiki

  • Committer: Package Import Robot
  • Author(s): Piotr Ożarowski
  • Date: 2013-01-06 17:10:10 UTC
  • mfrom: (1.2.8)
  • mto: (10.2.3 experimental)
  • mto: This revision was merged to the branch mainline in revision 22.
  • Revision ID: package-import@ubuntu.com-20130106171010-kmlq0sy324jlp9zz
Tags: upstream-0.21
Import upstream version 0.21

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
= Hidden Preferences =
 
2
 
 
3
There are some preferences in Gaupol, which are not exposed in the user interface, but are changeable by editing a configuration file. Most users should have no need to change these, but for completeness, they are documented here. Gaupol's configuration file is an ini-style file with sections and options, where the values of options are JSON-strings and thus have strict syntactic rules. Gaupol's configuration file should usually be found at `~/.config/gaupol/gaupol.conf` on Unix or `C:\Documents and Settings\USERNAME\Application Data\Gaupol\gaupol.conf` on Windows XP or `C:\Users\USERNAME\AppData\Roaming\Gaupol\gaupol.conf` on Windows Vista and 7. The hidden preferences and their default values arranged by section are as follows.
 
4
 
 
5
{{{
 
6
[application_window]
 
7
toolbar_style = DEFAULT
 
8
}}}
 
9
 
 
10
 * '''`toolbar_style`''' defines the style of the main toolbar, i.e. whether to display icons, text or both. Allowed values are `DEFAULT`, `ICONS`, `TEXT`, `BOTH` and `BOTH_HORIZ`. On GNOME, `DEFAULT` follows the desktop-wide preference, on other Unix desktops it will probably follow your GTK+ theme and on Windows `DEFAULT` is whatever Gaupol's Windows-packager decided to make the default.
 
11
 
 
12
{{{
 
13
[debug]
 
14
text_editor = "gedit +$LINENO $FILE"
 
15
}}}
 
16
 
 
17
 * '''`text_editor`''' defines the text editor command to use when opening files from the big "Something went wrong" dialog. At least `emacs` works here as well with the same arguments.
 
18
 
 
19
{{{
 
20
[editor]
 
21
undo_limit = 50
 
22
use_undo_limit = false
 
23
}}}
 
24
 
 
25
 * '''`undo_limit`''' defines the maximum amount of undoable (and redoable) actions if `use_undo_limit` is `true`.
 
26
 
 
27
 * '''`use_undo_limit`''' allows limiting the amount of undoable actions. This might be useful for computers with very little memory, although it is not tested whether or not it has any actual relevant benefit -- probably not.
 
28
 
 
29
{{{
 
30
[file]
 
31
max_recent = 10
 
32
}}}
 
33
 
 
34
 * '''`max_recent`''' defines the maximum amount of recent files to show in the file menu and the open button drop-down on the main toolbar.
 
35
 
 
36
{{{
 
37
[search]
 
38
max_history = 10
 
39
}}}
 
40
 
 
41
 * '''`max_history`''' defines the maximum amount of search history items to show in search dialog's pattern and replacement drop-down entries.