Specifications/XSettingsRegistry

XSETTINGS registry

This page lists the shared settings which are currently under the control of the XSETTINGS system. Desktop configuration interfaces should provide a way to set these.

Note that currently only GTK supports XSETTINGS, so the distinction between 'all desktops' and 'all GTK desktops' is currently irrelevant. The type and default value is given for each one.

Shared by all desktops

Net/DoubleClickTime

Maximum time allowed between two clicks for them to be considered a double click (in milliseconds)

Net/DoubleClickDistance

Maximum distance allowed between two clicks for them to be considered a double click (in pixels)

Net/DndDragThreshold

Number of pixels the cursor can move before dragging

Whether the cursor should blink

Net/CursorBlinkTime

Length of the cursor blink cycle, in milleseconds

Net/ThemeName

Name of theme to use. This is a directory either in <tt>~/.themes</tt> (except on Debian), or the 'system' theme directory, which depends on where GTK was installed. Basically, it could be anywhere. This should really use the base dir spec or something similar to locate the theme.

Net/IconThemeName

Name of icon theme to use for icons.

Xft settings

These settings can be shared by all Xft clients.

Xft/Antialias

Whether to antialias Xft fonts; 0no, 1yes, -1=default

Xft/Hinting

Whether to hint Xft fonts; 0no, 1yes, -1=default

Xft/HintStyle

What degree of hinting to use; "hintnone", "hintslight", "hintmedium", or "hintfull"

Xft/RGBA

Type of subpixel antialiasing; "none", "rgb", "bgr", "vrgb", "vbgr"

Xft/DPI

Resolution for Xft, in 1024 * dots/inch. -1 to use default value

GTK only

These settings are only used by GTK desktops at present. Some way to share these should be found, or they should be moved out to some other system.

Gtk/CanChangeAccels

Whether menu accelerators can be changed by pressing a key over the menu item.

Gtk/ColorPalette

Palette to use in the color selector.

Gtk/FontName

Name of default font to use

Gtk/IconSizes

List of icon sizes (gtk-menu16,16;gtk-button20,20...

Gtk/KeyThemeName

Name of key theme RC file to load.

Gtk/ToolbarStyle

Whether default toolbars have text only, text and icons, icons only, etc.

Gtk/ToolbarIconSize

Size of icons in default toolbars.

Gtk/IMPreeditStyle

How to draw the input method preedit string.

Gtk/IMStatusStyle

How to draw the input method statusbar.

Gtk/MenuImages

Whether images should be shown in menus

Gtk/ButtonImages

Whether stock icons should be shown in buttons

Gtk/MenuBarAccel

The accelerator for moving the focus to the menubar

-- Main.MatthiasClasen - 30 Aug 2004. Discussion of this specification should occur on xdg.