Skip to content

GtkSettings properties details

redtide edited this page Apr 19, 2024 · 1 revision
Name Type Default value Since Description Resolution
gtk-alternative-button-order bool false Whether buttons in dialogs should use the alternative button order.
gtk-alternative-sort-arrows bool false Controls the direction of the sort indicators in sorted list and tree views.
gtk-application-prefer-dark-theme bool false Whether the application prefers to use a dark theme.
gtk-cursor-aspect-ratio double 0.04 The aspect ratio of the text caret.
gtk-cursor-blink bool true Whether the cursor should blink.
gtk-cursor-blink-time int 1200 Length of the cursor blink cycle, in milliseconds.
gtk-cursor-blink-timeout int 10 Time after which the cursor stops blinking, in seconds.
gtk-cursor-theme-name string NULL Name of the cursor theme to use.
gtk-cursor-theme-size int 0 The size to use for cursors.
gtk-decoration-layout string menu:minimize,maximize,close Determines which buttons should be put in the titlebar of client-side decorated windows, and whether they should be placed on the left or right.
gtk-dialogs-use-header bool false Whether builtin GTK dialogs such as the file chooser, the color chooser or the font chooser will use a header bar at the top to show action widgets, or an action area at the bottom.
gtk-dnd-drag-threshold int 8 The number of pixels the cursor can move before dragging.
gtk-double-click-distance int 5 The maximum distance allowed between two clicks for them to be considered a double click, in pixels.
gtk-double-click-time int 400 The maximum time to allow between two clicks for them to be considered a double click, in milliseconds.
gtk-enable-accels bool true Whether menu items should have visible accelerators which can be activated.
gtk-enable-animations bool true Whether to enable toolkit-wide animations.
gtk-enable-event-sounds bool true Whether to play any event sounds at all.
gtk-enable-input-feedback-sounds bool true Whether to play event sounds as feedback to user input.
gtk-enable-primary-paste bool true Whether a middle click on a mouse should paste the ‘PRIMARY’ clipboard content at the cursor location.
gtk-entry-password-hint-timeout int 0 How long to show the last input character in hidden entries.
gtk-entry-select-on-focus bool true Whether to select the contents of an entry when it is focused.
gtk-error-bell bool true When TRUE, keyboard navigation and other input-related errors will cause a beep.
gtk-font-name string Sans 10 The default font to use.
gtk-fontconfig-timestamp uint 0 Timestamp of the current fontconfig configuration.
gtk-hint-font-metrics bool false 4.6 Whether hinting should be applied to font metrics.
gtk-icon-theme-name string Adwaita Name of the icon theme to use.
gtk-im-module string NULL Which IM (input method) module should be used by default.
gtk-keynav-use-caret bool false Whether GTK should make sure that text can be navigated with a caret, even if it is not editable.
gtk-label-select-on-focus bool true Whether to select the contents of a selectable label when it is focused.
gtk-long-press-time uint 500 The time for a button or touch press to be considered a “long press”.
gtk-overlay-scrolling bool true Whether scrolled windows may use overlaid scrolling indicators.
gtk-primary-button-warps-slider bool true If the value of this setting is TRUE, clicking the primary button in a GtkRange trough will move the slider, and hence set the range’s value, to the point that you clicked.
gtk-print-backends string cups,file A comma-separated list of print backends to use in the print dialog.
gtk-print-preview-command string evince --unlink-tempfile --preview --print-settings %s %f A command to run for displaying the print preview.
gtk-recent-files-enabled bool true Whether GTK should keep track of items inside the recently used resources list.
gtk-recent-files-max-age int 30 The maximum age, in days, of the items inside the recently used resources list.
gtk-shell-shows-app-menu bool false Set to TRUE if the desktop environment is displaying the app menu, FALSE if the app should display it itself.
gtk-shell-shows-desktop bool true Set to TRUE if the desktop environment is displaying the desktop folder, FALSE if not.
gtk-shell-shows-menubar bool false Set to TRUE if the desktop environment is displaying the menubar, FALSE if the app should display it itself.
gtk-show-status-shapes bool false 4.14 When TRUE, widgets like switches include shapes to indicate their on/off state.
gtk-sound-theme-name string freedesktop The XDG sound theme to use for event sounds.
gtk-split-cursor bool false Whether two cursors should be displayed for mixed left-to-right and right-to-left text.
gtk-theme-name string Default Name of the theme to load.
gtk-titlebar-double-click string toggle-maximize Determines the action to take when a double-click occurs on the titlebar of client-side decorated windows.
gtk-titlebar-middle-click string none Determines the action to take when a middle-click occurs on the titlebar of client-side decorated windows.
gtk-titlebar-right-click string menu Determines the action to take when a right-click occurs on the titlebar of client-side decorated windows.
gtk-xft-antialias int -1 Whether to antialias fonts.
gtk-xft-dpi int -1 The font resolution, in 1024 * dots/inch.
gtk-xft-hinting int -1 4.14 Whether to enable font hinting.
gtk-xft-hintstyle string NULL What degree of font hinting to use.
gtk-xft-rgba string NULL The type of subpixel antialiasing to use.
Clone this wiki locally