Change set key for emacs
Find a file
2025-12-26 20:57:57 +01:00
ck-emacs code 2025-12-26 20:52:06 +01:00
LICENSE Initial commit 2025-12-26 20:51:13 +01:00
README.md Update README.md 2025-12-26 20:57:57 +01:00

ck-emacs

Temporary keyboard remapping helper for Emacs users.
Swap CapsLock ↔ Ctrl to improve ergonomics (classic Emacs pinky fix), with an easy reset.

Designed for GNOME on Wayland (Debian 13 tested).


Features

  • Swap CapsLock with Ctrl
  • Reset keyboard to default
  • No permanent system changes
  • Simple single Bash script
  • Works with GNOME + Wayland using gsettings

Requirements

  • GNOME desktop environment
  • Wayland or Xorg session
  • gsettings available (default on GNOME)

Install

Copy ck-emacs in your /usr/bin

run sudo chmod +x ck-emack

Commands

Set keyboard swap capslock with ctrl

ck-emacs set

Reset to normal keyboard

ck-emacs reset