Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mkimage-profiles
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ximper Linux
mkimage-profiles
Commits
55a2d7fb
Commit
55a2d7fb
authored
Dec 11, 2024
by
Anton Midyukov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
l10n: add variable GNOME_KB_SWITCH
parent
e221e4c8
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
0 deletions
+14
-0
config.mk
features.in/l10n/config.mk
+3
-0
50-l10n-gnome-kb-switch
...es.in/l10n/rootfs/image-scripts.d/50-l10n-gnome-kb-switch
+11
-0
No files found.
features.in/l10n/config.mk
View file @
55a2d7fb
...
@@ -15,13 +15,16 @@ use/l10n:
...
@@ -15,13 +15,16 @@ use/l10n:
@$(call xport,LOCALES)
@$(call xport,LOCALES)
@$(call xport,XKB_KEYMAPS)
@$(call xport,XKB_KEYMAPS)
@$(call xport,XKB_SWITCH)
@$(call xport,XKB_SWITCH)
@$(call xport,GNOME_KB_SWITCH)
# see also alterator-sysconfig backend
# see also alterator-sysconfig backend
use/l10n/xkb/switch/ctrl_shift: use/l10n
use/l10n/xkb/switch/ctrl_shift: use/l10n
@$(call set,XKB_SWITCH,grp:ctrl_shift_toggle)
@$(call set,XKB_SWITCH,grp:ctrl_shift_toggle)
@$(call set,GNOME_KB_SWITCH,<Ctrl>Shift_L)
use/l10n/xkb/switch/alt_shift: use/l10n
use/l10n/xkb/switch/alt_shift: use/l10n
@$(call set,XKB_SWITCH,grp:alt_shift_toggle)
@$(call set,XKB_SWITCH,grp:alt_shift_toggle)
@$(call set,GNOME_KB_SWITCH,<Shift>Alt_L)
# FIXME: derive from locale by default if possible
# FIXME: derive from locale by default if possible
use/l10n/ru_RU: use/l10n/xkb/switch/alt_shift
use/l10n/ru_RU: use/l10n/xkb/switch/alt_shift
...
...
features.in/l10n/rootfs/image-scripts.d/50-l10n-gnome-kb-switch
0 → 100755
View file @
55a2d7fb
#!/bin/sh -x
[
-n
"
$GLOBAL_GNOME_KB_SWITCH
"
]
||
exit
0
gsettings get org.gnome.desktop.wm.keybindings switch-input-source
||
return
0
cat
>
/etc/dconf/db/local.d/01-gnome-keymap
<<
EOF
[org/gnome/desktop/wm/keybindings]
switch-input-source=[ "
$GLOBAL_GNOME_KB_SWITCH
" ]
switch-input-source-backward=[ "
$GLOBAL_GNOME_KB_SWITCH
" ]
EOF
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment