2799327c84
Use GSettings for all Shell configuration. GConf is kept to read configuration from external programs (Metacity, Nautilus and Magnifier), but ShellGConf is removed because it's mostly useless for the few calls we still have. Also get rid of unused GConf code in ShellAppSystem. A basic GConf schema is still used to override Metacity defaults and configure Magnifier in a system-wide fashion. GConf is also used as GSettings backend via the GSETTINGS_BACKEND environment variable. All of this will be removed when these programs have been ported to GSettings and able to use dconf. GLib 2.25.9 is required. Schemas are converted to the new XML format, and compiled at build time in data/ so that the Shell can be run from the source tree. This also requires setting the GSETTINGS_SCHEMA_DIR environment variable both when running installed or from source tree, in src/gnome-shell.in and src/gnome-shell-clock-preferences.in. https://bugzilla.gnome.org/show_bug.cgi?id=617917
227 lines
8.6 KiB
Plaintext
227 lines
8.6 KiB
Plaintext
<gconfschemafile>
|
|
<schemalist>
|
|
|
|
<!-- Metacity overrides -->
|
|
<schema>
|
|
<key>/schemas/desktop/gnome/shell/windows/button_layout</key>
|
|
<applyto>/desktop/gnome/shell/windows/button_layout</applyto>
|
|
<owner>gnome-shell</owner>
|
|
<type>string</type>
|
|
<default>:minimize,maximize,close</default>
|
|
<locale name="C">
|
|
<short>Arrangement of buttons on the titlebar</short>
|
|
<long>
|
|
Arrangement of buttons on the titlebar. The
|
|
value should be a string, such as
|
|
"menu:minimize,maximize,spacer,close"; the colon separates the
|
|
left corner of the window from the right corner, and
|
|
the button names are comma-separated. Duplicate buttons
|
|
are not allowed. Unknown button names are silently ignored
|
|
so that buttons can be added in future gnome-shell versions
|
|
without breaking older versions.
|
|
A special spacer tag can be used to insert some space between
|
|
two adjacent buttons.
|
|
|
|
This key overrides /apps/metacity/general/button_layout when
|
|
running GNOME Shell.
|
|
</long>
|
|
</locale>
|
|
</schema>
|
|
|
|
<!-- Magnifier -->
|
|
<schema>
|
|
<key>/schemas/desktop/gnome/accessibility/magnifier/show_magnifier</key>
|
|
<applyto>/desktop/gnome/accessibility/magnifier/show_magnifier</applyto>
|
|
<owner>gnome-shell</owner>
|
|
<type>bool</type>
|
|
<default>false</default>
|
|
<locale name="C">
|
|
<short>Show or hide the magnifier</short>
|
|
<long>
|
|
Show or hide the magnifier and all of its zoom regions.
|
|
</long>
|
|
</locale>
|
|
</schema>
|
|
|
|
<schema>
|
|
<key>/schemas/desktop/gnome/accessibility/magnifier/mouse_tracking</key>
|
|
<applyto>/desktop/gnome/accessibility/magnifier/mouse_tracking</applyto>
|
|
<owner>gnome-shell</owner>
|
|
<type>int</type>
|
|
<default>1</default>
|
|
<locale name="C">
|
|
<short>Mouse Tracking Mode</short>
|
|
<long>
|
|
Determines the position of the magnified mouse image within
|
|
the magnified view and how it reacts to system mouse movement.
|
|
The values are 0 - none: no mouse tracking; 1 - centered: the
|
|
mouse image is displayed at the center of the zoom region
|
|
(which also represents the point under the system mouse) and the
|
|
magnified contents are scrolled as the system mouse moves; 2 -
|
|
proportional: the position of the magnified mouse in the zoom
|
|
region is proportionally the same as the position of the system
|
|
mouse on screen; or 3 - push: when the magnified mouse
|
|
intersects a boundary of the zoom region, the contents are
|
|
scrolled into view.
|
|
</long>
|
|
</locale>
|
|
</schema>
|
|
|
|
<schema>
|
|
<key>/schemas/desktop/gnome/accessibility/magnifier/screen_position</key>
|
|
<applyto>/desktop/gnome/accessibility/magnifier/screen_position</applyto>
|
|
<owner>gnome-shell</owner>
|
|
<type>int</type>
|
|
<default>3</default>
|
|
<locale name="C">
|
|
<short>Screen position</short>
|
|
<long>
|
|
The magnified view either fills the entire screen (1), or
|
|
occupies the top-half (2), bottom-half (3), left-half (4), or
|
|
right-half (5) of the screen.
|
|
</long>
|
|
</locale>
|
|
</schema>
|
|
|
|
<schema>
|
|
<key>/schemas/desktop/gnome/accessibility/magnifier/mag_factor</key>
|
|
<applyto>/desktop/gnome/accessibility/magnifier/mag_factor</applyto>
|
|
<owner>gnome-shell</owner>
|
|
<type>float</type>
|
|
<default>2.0</default>
|
|
<locale name="C">
|
|
<short>Magnification factor</short>
|
|
<long>
|
|
The power of the magnification. A value of 1.0 means no
|
|
magnification. A value of 2.0 doubles the size.
|
|
</long>
|
|
</locale>
|
|
</schema>
|
|
|
|
<schema>
|
|
<key>/schemas/desktop/gnome/accessibility/magnifier/lens_mode</key>
|
|
<applyto>/desktop/gnome/accessibility/magnifier/lens_mode</applyto>
|
|
<owner>gnome-shell</owner>
|
|
<type>bool</type>
|
|
<default>false</default>
|
|
<locale name="C">
|
|
<short>Enable lens mode</short>
|
|
<long>
|
|
Whether the magnified view should be centered over the location
|
|
of the system mouse and move with it.
|
|
</long>
|
|
</locale>
|
|
</schema>
|
|
|
|
<schema>
|
|
<key>/schemas/desktop/gnome/accessibility/magnifier/scroll_at_edges</key>
|
|
<applyto>/desktop/gnome/accessibility/magnifier/scroll_at_edges</applyto>
|
|
<owner>gnome-shell</owner>
|
|
<type>bool</type>
|
|
<default>false</default>
|
|
<locale name="C">
|
|
<short>Scroll magnified contents beyond the edges of the desktop</short>
|
|
<long>
|
|
For centered mouse tracking, when the system pointer is at
|
|
or near the edge of the screen, the magnified contents continue
|
|
to scroll such that the screen edge moves into the magnified
|
|
view.
|
|
</long>
|
|
</locale>
|
|
</schema>
|
|
|
|
<!-- Magnifier: Crosshairs -->
|
|
<schema>
|
|
<key>/schemas/desktop/gnome/accessibility/magnifier/show_cross_hairs</key>
|
|
<applyto>/desktop/gnome/accessibility/magnifier/show_cross_hairs</applyto>
|
|
<owner>gnome-shell</owner>
|
|
<type>bool</type>
|
|
<default>false</default>
|
|
<locale name="C">
|
|
<short>Show or hide crosshairs</short>
|
|
<long>
|
|
Enables/disables display of crosshairs centered on the magnified mouse
|
|
sprite.
|
|
</long>
|
|
</locale>
|
|
</schema>
|
|
|
|
<schema>
|
|
<key>/schemas/desktop/gnome/accessibility/magnifier/cross_hairs_thickness</key>
|
|
<applyto>/desktop/gnome/accessibility/magnifier/cross_hairs_thickness</applyto>
|
|
<owner>gnome-shell</owner>
|
|
<type>int</type>
|
|
<default>8</default>
|
|
<locale name="C">
|
|
<short>Thickness of the crosshairs</short>
|
|
<long>
|
|
Width of the vertical and horizontal lines that make up the
|
|
crosshairs.
|
|
</long>
|
|
</locale>
|
|
</schema>
|
|
|
|
<schema>
|
|
<key>/schemas/desktop/gnome/accessibility/magnifier/cross_hairs_color</key>
|
|
<applyto>/desktop/gnome/accessibility/magnifier/cross_hairs_color</applyto>
|
|
<owner>gnome-shell</owner>
|
|
<type>string</type>
|
|
<default>#ff0000</default>
|
|
<locale name="C">
|
|
<short>Color of the crosshairs</short>
|
|
<long>
|
|
The color of the the vertical and horizontal lines that make up
|
|
the crosshairs.
|
|
</long>
|
|
</locale>
|
|
</schema>
|
|
|
|
<schema>
|
|
<key>/schemas/desktop/gnome/accessibility/magnifier/cross_hairs_opacity</key>
|
|
<applyto>/desktop/gnome/accessibility/magnifier/cross_hairs_opacity</applyto>
|
|
<owner>gnome-shell</owner>
|
|
<type>int</type>
|
|
<default>169</default>
|
|
<locale name="C">
|
|
<short>Opacity of the crosshairs</short>
|
|
<long>
|
|
Determines the transparency of the crosshairs, from fully opaque
|
|
to fully transparent.
|
|
</long>
|
|
</locale>
|
|
</schema>
|
|
|
|
<schema>
|
|
<key>/schemas/desktop/gnome/accessibility/magnifier/cross_hairs_length</key>
|
|
<applyto>/desktop/gnome/accessibility/magnifier/cross_hairs_length</applyto>
|
|
<owner>gnome-shell</owner>
|
|
<type>int</type>
|
|
<default>4096</default>
|
|
<locale name="C">
|
|
<short>Length of the crosshairs</short>
|
|
<long>
|
|
Determines the length of the vertical and horizontal lines that
|
|
make up the crosshairs.
|
|
</long>
|
|
</locale>
|
|
</schema>
|
|
|
|
<schema>
|
|
<key>/schemas/desktop/gnome/accessibility/magnifier/cross_hairs_clip</key>
|
|
<applyto>/desktop/gnome/accessibility/magnifier/cross_hairs_clip</applyto>
|
|
<owner>gnome-shell</owner>
|
|
<type>bool</type>
|
|
<default>false</default>
|
|
<locale name="C">
|
|
<short>Clip the crosshairs at the center</short>
|
|
<long>
|
|
Determines whether the crosshairs intersect the magnified mouse
|
|
sprite, or are clipped such that the ends of the horizontal
|
|
and vertical lines surround the mouse image.
|
|
</long>
|
|
</locale>
|
|
</schema>
|
|
|
|
</schemalist>
|
|
</gconfschemafile>
|