https://github.com/perchunpak/keyboard-layout-groups
This is my GNOME extention for my extremely specific use case of layouts.
https://github.com/perchunpak/keyboard-layout-groups
Last synced: 17 days ago
JSON representation
This is my GNOME extention for my extremely specific use case of layouts.
- Host: GitHub
- URL: https://github.com/perchunpak/keyboard-layout-groups
- Owner: PerchunPak
- Created: 2024-01-23T12:37:54.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2024-03-14T11:06:26.000Z (over 2 years ago)
- Last Synced: 2025-02-22T12:14:41.651Z (over 1 year ago)
- Language: JavaScript
- Size: 9.77 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
> [!WARNING]
> I don't use GNOME anymore, and I cannot guarantee that this extension still works.
# keyboard layout groups
This is my GNOME extension for my extremely specific use case of language layouts.
Windows has a feature that allows grouping multiple similar languages in one group.
So I had two groups: Ukrainian + russian and English + Czech.
By pressing `CTRL SHIFT`, I can switch between groups, and with `ALT SHIFT`,
I switch between languages in the current group.
The lack of this feature on Linux held me back from switching for a long time, but now I finally have it.
## Installation
```bash
git clone --depth 1 https://PerchunPak/keyboard-layout-groups ~/.local/share/gnome-shell/extensions/keyboard-layout-groups@perchun
cd ~/.local/share/gnome-shell/extensions/keyboard-layout-groups@perchun
glib-compile-schemas schemas/
```
Relogin to your PC, so GNOME could detect a new extension.
Then, `Shift + Alt` should switch groups, and `Shift + Ctrl` should switch between layouts inside groups.
If you want to customize keybindings/languages, you have to modify the source code.
---
This won't be published to https://extensions.gnome.org as it is extremely specific and languages are hardcoded.
If you want something similar, it is better to just fork this repo.
## Thanks
To [this gist](https://gist.github.com/Envek/85f40478d1c8b9658621190569046447), the only place where I found how to programmatically change keyboard layouts.