G3KB-SWITCH(1)

πŸ“¦
version 1.5 Β· 3 versions
, in fedora 43

✨ G3KB-SWITCH ✨

okay so bestie, welcome to the g3kb-switch manual page β€” that's section 1 of the User Manual, and it's literally the cutest little CLI keyboard layout switcher for Gnome 3 and 4x. like, the whole vibe. πŸ’…


🌸 NAME 🌸

g3kb-switch β€” CLI keyboard layout switcher for Gnome 3 and 4x.


πŸŽ€ SYNOPSIS πŸŽ€

g3kb-switch [-p | -l | -n | -s ARG]

g3kb-switch [-h | --help]

g3kb-switch [-v | --version]

πŸ¦‹ DESCRIPTION πŸ¦‹

so what's the tea? g3kb-switch does direct D-Bus messaging with Gnome Shell to list, get, and set your system keyboard layouts. that's it. that's the whole thing. iconic behavior honestly. πŸ”₯

but wait β€” plot twist πŸ™ˆ β€” in Gnome 41 and newer, the switcher needs a little help from the Gnome extension g3kb-switch. it's giving "I can do it myself but actually no." the details live at:

https://github.com/lyokha/g3kb-switch#g3kb-switch


πŸ’– OPTIONS πŸ’–

  • -p β€” show the current layout group. also, lowkey important: this is the default action, so if you just run it with nothing, this is what you get. ✨
  • -l β€” show all the available layout groups. the full lineup, no gatekeeping. πŸ‘‘
  • -n β€” switch to the next layout group. hop to the next one, main character energy. ⭐
  • -s ARG β€” switch to layout group ARG. you pick, bestie. 🫢
  • -h β€” show the usage. (there's also --help, same energy.)
  • -v β€” show the version. (and --version too, fr fr.)

🌈 SHARED LIBRARY 🌈

okay so there's also a shared library called libg3kbswitch.so, and it can manage automatic switching of keyboard layouts in Vim and Neovim when you enter and leave Insert mode β€” via the Vim plugin vim-xkbswitch. the way that works?? honestly obsessed. πŸ˜­πŸ’œ

all the details are documented at:

https://github.com/lyokha/vim-xkbswitch


πŸ“ AUTHORS πŸ“

Written by Alexey Radkov and Freed-Wu. absolute legends, no cap. πŸ‘‘


🧚 REPORTING BUGS 🧚

found a bug? bestie, don't suffer in silence β€” report it at:

https://github.com/lyokha/g3kb-switch/issues


and that's the page, babes πŸ’– this was g3kb-switch version 1.5, dated 26 September 2025 β€” from the G3KB-SWITCH(1) manual, section 1, User Manual. go switch some layouts. slay. πŸ’…βœ¨πŸŒˆ

πŸ“¦ where this page comes from