Registering xkb-related GConf keys gives some advantages. The main one is the default configuration - so users wont start with nasty dialog boxes.
This commit is contained in:
parent
8ec1ffec3d
commit
a1ebf64182
2 changed files with 78 additions and 1 deletions
|
@ -2,7 +2,8 @@ schemadir = $(GCONF_SCHEMA_FILE_DIR)
|
|||
schema_in_files= \
|
||||
apps_gnome_settings_daemon_screensaver.schemas.in \
|
||||
apps_gnome_settings_daemon_default_editor.schemas.in \
|
||||
desktop_gnome_font_rendering.schemas
|
||||
desktop_gnome_font_rendering.schemas \
|
||||
desktop_gnome_peripherals_keyboard_xkb.schemas.in
|
||||
|
||||
schema_DATA = $(schema_in_files:.schemas.in=.schemas)
|
||||
|
||||
|
|
76
schemas/desktop_gnome_peripherals_keyboard_xkb.schemas.in
Normal file
76
schemas/desktop_gnome_peripherals_keyboard_xkb.schemas.in
Normal file
|
@ -0,0 +1,76 @@
|
|||
<gconfschemafile>
|
||||
<schemalist>
|
||||
<schema>
|
||||
<key>/schemas/desktop/gnome/peripherals/keyboard/xkb/overrideSettings</key>
|
||||
|
||||
<applyto>/desktop/gnome/peripherals/keyboard/xkb/overrideSettings</applyto>
|
||||
|
||||
<owner>gnome</owner>
|
||||
|
||||
<type>bool</type>
|
||||
|
||||
<default>false</default>
|
||||
|
||||
<locale name="C">
|
||||
<short>XKB settings should be overridden</short>
|
||||
<long>XKB settings should be overridden</long>
|
||||
</locale>
|
||||
</schema>
|
||||
|
||||
<schema>
|
||||
<key>/schemas/desktop/gnome/peripherals/keyboard/xkb/model</key>
|
||||
|
||||
<applyto>/desktop/gnome/peripherals/keyboard/xkb/model</applyto>
|
||||
|
||||
<owner>gnome</owner>
|
||||
|
||||
<type>string</type>
|
||||
|
||||
<default>pc105</default>
|
||||
|
||||
<locale name="C">
|
||||
<short>XKB keyboard model</short>
|
||||
<long>XKB keyboard model</long>
|
||||
</locale>
|
||||
</schema>
|
||||
|
||||
<schema>
|
||||
<key>/schemas/desktop/gnome/peripherals/keyboard/xkb/layouts</key>
|
||||
|
||||
<applyto>/desktop/gnome/peripherals/keyboard/xkb/layouts</applyto>
|
||||
|
||||
<owner>gnome</owner>
|
||||
|
||||
<type>list</type>
|
||||
|
||||
<list_type>string</list_type>
|
||||
|
||||
<default>[us]</default>
|
||||
|
||||
<locale name="C">
|
||||
<short>XKB keyboard layout</short>
|
||||
<long>XKB keyboard layout</long>
|
||||
</locale>
|
||||
</schema>
|
||||
|
||||
<schema>
|
||||
<key>/schemas/desktop/gnome/peripherals/keyboard/xkb/options</key>
|
||||
|
||||
<applyto>/desktop/gnome/peripherals/keyboard/xkb/options</applyto>
|
||||
|
||||
<owner>gnome</owner>
|
||||
|
||||
<type>list</type>
|
||||
|
||||
<list_type>string</list_type>
|
||||
|
||||
<default>[]</default>
|
||||
|
||||
<locale name="C">
|
||||
<short>XKB options</short>
|
||||
<long>XKB options</long>
|
||||
</locale>
|
||||
</schema>
|
||||
|
||||
</schemalist>
|
||||
</gconfschemafile>
|
Loading…
Add table
Add a link
Reference in a new issue