Skip to content

Schema changes for keyboard layout modernization #252

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 4 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 17 additions & 7 deletions schemas/org.cinnamon.desktop.input-sources.gschema.xml.in
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@
The zero-based index into the input sources list specifying
the current one in effect. The value is automatically capped
to remain in the range [0, sources_length) as long as the
sources list isn't empty.
sources list isn’t empty.

DEPRECATED: This key is deprecated and ignored.
</description>
</key>
<key name="sources" type="a(ss)">
Expand All @@ -18,20 +20,20 @@
<description>
List of input source identifiers available. Each source is
specified as a tuple of 2 strings. The first string is the
type and can be one of 'xkb' or 'ibus'. For 'xkb' sources the
second string is 'xkb_layout+xkb_variant' or just 'xkb_layout'
if a XKB variant isn't needed. For 'ibus' sources the second
type and can be one of xkb or ibus. For xkb sources the
second string is xkb_layout+xkb_variant or just xkb_layout
if a XKB variant isnt needed. For ibus sources the second
string is the IBus engine name. An empty list means that the X
server's current XKB layout and variant won't be touched and
IBus won't be used.
servers current XKB layout and variant wont be touched and
IBus wont be used.
</description>
</key>
<key name="xkb-options" type="as">
<default>[]</default>
<summary>List of XKB options</summary>
<description>
List of XKB options. Each option is an XKB option string as
defined by xkeyboard-config's rules files.
defined by xkeyboard-configs rules files.
</description>
</key>
<key name="show-all-sources" type="b">
Expand All @@ -42,5 +44,13 @@
System Settings.
</description>
</key>
<key name="per-window" type="b">
<default>false</default>
<summary>Use different input sources for each window</summary>
<description>
When enabled, input sources get attached to the currently
focused window when activated.
</description>
</key>
</schema>
</schemalist>
2 changes: 1 addition & 1 deletion schemas/org.cinnamon.desktop.interface.gschema.xml.in
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@
<summary>Enable or disable gtk overlay scrollbars</summary>
</key>
<key name="keyboard-layout-show-flags" type="b">
<default>true</default>
<default>false</default>
<summary>Prefer country flags to group names when showing keyboard layouts.</summary>
</key>
<key name="keyboard-layout-use-upper" type="b">
Expand Down
11 changes: 10 additions & 1 deletion schemas/org.cinnamon.desktop.keybindings.wm.gschema.xml.in
Original file line number Diff line number Diff line change
Expand Up @@ -355,6 +355,15 @@
<default><![CDATA[['XF86RotateWindows']]]></default>
<summary>Rotates the built-in monitor configuration</summary>
</key>

<key name="switch-input-source" type="as">
<default><![CDATA[['<Super>space','XF86Keyboard']]]></default>
<summary>Switch input source</summary>
<description>Binding to select the next input source</description>
</key>
<key name="switch-input-source-backward" type="as">
<default><![CDATA[['<Shift><Super>space','<Shift>XF86Keyboard']]]></default>
<summary>Switch input source backward</summary>
<description>Binding to select the previous input source</description>
</key>
</schema>
</schemalist>
Loading