Table 1.9. gedit keys
| Key | Type | Default | Description |
|---|---|---|---|
| /schemas/apps/gedit-2/plugins/filebrowser/on_load/tree_view | bool | TRUE | Open the tree view when the file browser plugin gets loaded instead of the bookmarks view |
| /schemas/apps/gedit-2/plugins/filebrowser/on_load/root | string | The file browser root directory to use when loading the file browser plugin and onload/tree_view is TRUE. | |
| /schemas/apps/gedit-2/plugins/filebrowser/on_load/virtual_root | string | The file browser virtual root directory to use when loading the file browser plugin when onload/tree_view is TRUE. The virtual root must always be below the actual root. | |
| /schemas/apps/gedit-2/plugins/filebrowser/on_load/enable_remote | bool | FALSE | Sets whether to enable restoring of remote locations. |
| /schemas/apps/gedit-2/plugins/filebrowser/open_at_first_doc | bool | TRUE | If TRUE the file browser plugin will view the directory of the first opened document given that the file browser hasn't been used yet. (Thus this generally applies to opening a document from the command line or opening it with nautilus etc) |
| /schemas/apps/gedit-2/plugins/filebrowser/filter_mode | string | hidden_and_binary | This value determines what files get filtered from the file browser. Valid values are: none (filter nothing), hidden (filter hidden files), binary (filter binary files) and hidden_and_binary (filter both hidden and binary files). |
| /schemas/apps/gedit-2/plugins/filebrowser/filter_pattern | string | The filter pattern to filter the file browser with. This filter works on top of the filter_mode. | |
| /schemas/apps/gedit-2/preferences/editor/font/use_default_font | bool | FALSE | Whether to use the system's default font for editing text instead of a font specific to gedit. If this option is turned off, then the font named in the "Editor Font" option will be used instead of the system font. |
| /schemas/apps/gedit-2/preferences/editor/font/editor_font | string | A custom font that will be used for the editing area. This will only take effect if the "Use Default Font" option is turned off. | |
| /schemas/apps/gedit-2/preferences/editor/colors/use_default_colors | bool | TRUE | Whether to use the system's default colors for the editing area. If this option is turned off, then the colors of the editing area will be those specified in the "Background Color", "Text Color", "Selected Text Color", and "Selection Color" options. |
| /schemas/apps/gedit-2/preferences/editor/colors/background_color | string | #ffffffffffff | Background color for unselected text in the editing area. This will only take effect if the "Use Default Colors" option is turned off. |
| /schemas/apps/gedit-2/preferences/editor/colors/text_color | string | #000000000000 | Foreground color for the unselected text in the editing area. This will only take effect if the "Use Default Colors" option is turned off. |
| /schemas/apps/gedit-2/preferences/editor/colors/selected_text_color | string | #ffffffffffff | Foreground color for selected text in the editing area. This will only take effect if the "Use Default Colors" option is turned off. |
| /schemas/apps/gedit-2/preferences/editor/colors/selection_color | string | #000000009c9c | Background color for selected text in the editing area. This will only take effect if the "Use Default Colors" option is turned off. |
| /schemas/apps/gedit-2/preferences/editor/save/create_backup_copy | bool | TRUE | Whether gedit should create backup copies for the files it saves. You can set the backup file extension with the "Backup Copy Extension" option. |
| /schemas/apps/gedit-2/preferences/editor/save/backup_copy_extension | string | ~ | Extension or suffix to use for backup file names. This will only take effect if the "Create Backup Copies" option is turned on. |
| /schemas/apps/gedit-2/preferences/editor/save/auto_save | bool | FALSE | Whether gedit should automatically save modified files after a time interval. You can set the time interval with the "Auto Save Interval" option. |
| /schemas/apps/gedit-2/preferences/editor/save/auto_save_interval | int | 10 | Number of minutes after which gedit will automatically save modified files. This will only take effect if the "Auto Save" option is turned on. |
| /schemas/apps/gedit-2/preferences/editor/undo/undo_actions_limit | int | 25 | Maximum number of actions that gedit will be able to undo or redo. Use "-1" for unlimited number of actions. Deprecated since 2.12.0 |
| /schemas/apps/gedit-2/preferences/editor/undo/max_undo_actions | int | 2000 | Maximum number of actions that gedit will be able to undo or redo. Use "-1" for unlimited number of actions. |
| /schemas/apps/gedit-2/preferences/editor/wrap_mode/wrap_mode | string | GTK_WRAP_WORD | Specifies how to wrap long lines in the editing area. Use "GTK_WRAP_NONE" for no wrapping, "GTK_WRAP_WORD" for wrapping at word boundaries, and "GTK_WRAP_CHAR" for wrapping at individual character boundaries. Note that the values are case-sensitive, so make sure they appear exactly as mentioned here. |
| /schemas/apps/gedit-2/preferences/editor/tabs/tabs_size | int | 8 | Specifies the number of spaces that should be displayed instead of Tab characters. |
| /schemas/apps/gedit-2/preferences/editor/tabs/insert_spaces | bool | FALSE | Whether gedit should insert spaces instead of tabs. |
| /schemas/apps/gedit-2/preferences/editor/auto_indent/auto_indent | bool | FALSE | Whether gedit should enable auto indentation. |
| /schemas/apps/gedit-2/preferences/editor/line_numbers/display_line_numbers | bool | FALSE | Whether gedit should display line numbers in the editing area. |
| /schemas/apps/gedit-2/preferences/editor/current_line/highlight_current_line | bool | FALSE | Whether gedit should highlight the current line. |
| /schemas/apps/gedit-2/preferences/editor/bracket_matching/bracket_matching | bool | FALSE | Whether gedit should highlight matching bracket. |
| /schemas/apps/gedit-2/preferences/editor/right_margin/display_right_margin | bool | FALSE | Whether gedit should display the right margin in the editing area. |
| /schemas/apps/gedit-2/preferences/editor/right_margin/right_margin_position | int | 80 | Specifies the position of the right margin. |
| /schemas/apps/gedit-2/preferences/ui/toolbar/toolbar_visible | bool | TRUE | Whether the toolbar should be visible in editing windows. |
| /schemas/apps/gedit-2/preferences/ui/toolbar/toolbar_buttons_style | string | GEDIT_TOOLBAR_SYSTEM | Style for the toolbar buttons. Possible values are "GEDIT_TOOLBAR_SYSTEM" to use the system's default style, "GEDIT_TOOLBAR_ICONS" to display icons only, "GEDIT_TOOLBAR_ICONS_AND_TEXT" to display both icons and text, and "GEDIT_TOOLBAR_ICONS_BOTH_HORIZ" to display prioritized text beside icons. Note that the values are case-sensitive, so make sure they appear exactly as mentioned here. |
| /schemas/apps/gedit-2/preferences/ui/statusbar/statusbar_visible | bool | TRUE | Whether the status bar at the bottom of editing windows should be visible. |
| /schemas/apps/gedit-2/preferences/ui/side_pane/side_pane_visible | bool | FALSE | Whether the side pane at the left of the editing window should be visible. |
| /schemas/apps/gedit-2/preferences/ui/bottom_panel/bottom_panel_visible | bool | FALSE | Whether the bottom panel at the bottom of editing windows should be visible. |
| /schemas/apps/gedit-2/preferences/print/page/print_syntax_highlighting | bool | TRUE | Whether gedit should print syntax highlighting when printing documents. |
| /schemas/apps/gedit-2/preferences/print/page/print_header | bool | TRUE | Whether gedit should include a document header when printing documents. |
| /schemas/apps/gedit-2/preferences/print/page/print_wrap_mode | string | GTK_WRAP_WORD | Specifies how to wrap long lines for printing. Use "GTK_WRAP_NONE" for no wrapping, "GTK_WRAP_WORD" for wrapping at word boundaries, and "GTK_WRAP_CHAR" for wrapping at individual character boundaries. Note that the values are case-sensitive, so make sure they appear exactly as mentioned here. |
| /schemas/apps/gedit-2/preferences/print/page/print_line_numbers | int | 0 | If this value is 0, then no line numbers will be inserted when printing a document. Otherwise, gedit will print line numbers every such number of lines. |
| /schemas/apps/gedit-2/preferences/print/fonts/print_font_body | string | Specifies the font to use for a document's body when printing documents. This is a gnome-print font name and replaced by print_font_body_pango. | |
| /schemas/apps/gedit-2/preferences/print/fonts/print_font_body_pango | string | Specifies the font to use for a document's body when printing documents. | |
| /schemas/apps/gedit-2/preferences/print/fonts/print_font_header | string | Specifies the font to use for page headers when printing a document. This will only take effect if the "Print Header" option is turned on. This is a gnome-print font name and replaced by print_font_header_pango. | |
| /schemas/apps/gedit-2/preferences/print/fonts/print_font_header_pango | string | Specifies the font to use for page headers when printing a document. This will only take effect if the "Print Header" option is turned on. | |
| /schemas/apps/gedit-2/preferences/print/fonts/print_font_numbers | string | Specifies the font to use for line numbers when printing. This will only take effect if the "Print Line Numbers" option is non-zero. This is a gnome-print font name and replaced by print_font_numbers_pango. | |
| /schemas/apps/gedit-2/preferences/print/fonts/print_font_numbers_pango | string | Specifies the font to use for line numbers when printing. This will only take effect if the "Print Line Numbers" option is non-zero. | |
| /schemas/apps/gedit-2/preferences/ui/recents/max_recents | int | 5 | Specifies the maximum number of recently opened files that will be displayed in the "Recent Files" submenu. |
| /schemas/apps/gedit-2/preferences/encodings/auto_detected | list | Sorted list of encodings used by gedit for auto-detecting the encoding of a file. "CURRENT" is the current locale encoding. Only recognized encodings are used. | |
| /schemas/apps/gedit-2/preferences/encodings/shown_in_menu | list | List of encodings shown in Character Coding menu in open/save file selector. Only recognized encodings are used. | |
| /schemas/apps/gedit-2/preferences/syntax_highlighting/enable | bool | TRUE | Whether gedit should enable syntax highlighting. |
| /schemas/apps/gedit-2/plugins/active-plugins | list | [docinfo,modelines,savecopy,spell,time] | List of active plugins. It contains the "Location" of the active plugins. See the .gedit-plugin file for obtaining the "Location" of a given plugin. |
| /schemas/apps/gedit-2/preferences/editor/save/writable_vfs_schemes | list | [ssh,sftp,smb,dav,davs] | List of VFS schemes gedit supports in write mode. The 'file' scheme is writable by default. |
| /schemas/apps/gedit-2/preferences/editor/cursor_position/restore_cursor_position | bool | TRUE | Whether gedit should restore the previous cursor position when a file is loaded. |
| /schemas/apps/gedit-2/preferences/editor/search_highlighting/enable | bool | TRUE | Whether gedit should highlight all the occurrences of the searched text. |