gedit

Table 1.9. gedit keys

KeyTypeDefaultDescription
/schemas/apps/gedit-2/plugins/filebrowser/on_load/tree_viewboolTRUEOpen the tree view when the file browser plugin gets loaded instead of the bookmarks view
/schemas/apps/gedit-2/plugins/filebrowser/on_load/rootstring 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_rootstring 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_remoteboolFALSESets whether to enable restoring of remote locations.
/schemas/apps/gedit-2/plugins/filebrowser/open_at_first_docboolTRUEIf 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_modestringhidden_and_binaryThis 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_patternstring 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_fontboolFALSEWhether 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_fontstring 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_colorsboolTRUEWhether 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_colorstring#ffffffffffffBackground 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_colorstring#000000000000Foreground 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_colorstring#ffffffffffffForeground 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_colorstring#000000009c9cBackground 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_copyboolTRUEWhether 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_extensionstring~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_saveboolFALSEWhether 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_intervalint10Number 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_limitint25Maximum 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_actionsint2000Maximum 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_modestringGTK_WRAP_WORDSpecifies 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_sizeint8Specifies the number of spaces that should be displayed instead of Tab characters.
/schemas/apps/gedit-2/preferences/editor/tabs/insert_spacesboolFALSEWhether gedit should insert spaces instead of tabs.
/schemas/apps/gedit-2/preferences/editor/auto_indent/auto_indentboolFALSEWhether gedit should enable auto indentation.
/schemas/apps/gedit-2/preferences/editor/line_numbers/display_line_numbersboolFALSEWhether gedit should display line numbers in the editing area.
/schemas/apps/gedit-2/preferences/editor/current_line/highlight_current_lineboolFALSEWhether gedit should highlight the current line.
/schemas/apps/gedit-2/preferences/editor/bracket_matching/bracket_matchingboolFALSEWhether gedit should highlight matching bracket.
/schemas/apps/gedit-2/preferences/editor/right_margin/display_right_marginboolFALSEWhether gedit should display the right margin in the editing area.
/schemas/apps/gedit-2/preferences/editor/right_margin/right_margin_positionint80Specifies the position of the right margin.
/schemas/apps/gedit-2/preferences/ui/toolbar/toolbar_visibleboolTRUEWhether the toolbar should be visible in editing windows.
/schemas/apps/gedit-2/preferences/ui/toolbar/toolbar_buttons_stylestringGEDIT_TOOLBAR_SYSTEMStyle 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_visibleboolTRUEWhether the status bar at the bottom of editing windows should be visible.
/schemas/apps/gedit-2/preferences/ui/side_pane/side_pane_visibleboolFALSEWhether the side pane at the left of the editing window should be visible.
/schemas/apps/gedit-2/preferences/ui/bottom_panel/bottom_panel_visibleboolFALSEWhether the bottom panel at the bottom of editing windows should be visible.
/schemas/apps/gedit-2/preferences/print/page/print_syntax_highlightingboolTRUEWhether gedit should print syntax highlighting when printing documents.
/schemas/apps/gedit-2/preferences/print/page/print_headerboolTRUEWhether gedit should include a document header when printing documents.
/schemas/apps/gedit-2/preferences/print/page/print_wrap_modestringGTK_WRAP_WORDSpecifies 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_numbersint0If 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_bodystring 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_pangostring Specifies the font to use for a document's body when printing documents.
/schemas/apps/gedit-2/preferences/print/fonts/print_font_headerstring 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_pangostring 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_numbersstring 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_pangostring 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_recentsint5Specifies the maximum number of recently opened files that will be displayed in the "Recent Files" submenu.
/schemas/apps/gedit-2/preferences/encodings/auto_detectedlist 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_menulist 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/enableboolTRUEWhether gedit should enable syntax highlighting.
/schemas/apps/gedit-2/plugins/active-pluginslist[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_schemeslist[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_positionboolTRUEWhether gedit should restore the previous cursor position when a file is loaded.
/schemas/apps/gedit-2/preferences/editor/search_highlighting/enableboolTRUEWhether gedit should highlight all the occurrences of the searched text.