gshortcuts

Import and export your GNOME keyboard shortcuts with ease.

Get Started GitHub

Features

Import & Export

Backup and restore your GNOME shortcuts.

Lightweight

Minimal dependencies, simple CLI interface.

Native

Direct GIO Settings integration with no external processes.

Declarative Configs

Idempotent YAML/JSON configs for consistent state.

Automatable & Git-friendly

Scriptable CLI and version control friendly.

Installation

curl -sSL https://gshortcuts.jpinillos.dev/install.sh | bash

Usage

# Export shortcuts to a YAML file
  gshortcuts export shortcuts.yaml

# Export shortcuts to a JSON file
  gshortcuts export shortcuts.json

# Export all shortcuts, by default it will only export the modified ones
  gshortcuts export shortcuts.yaml --all

# Import shortcuts from a YAML file
  gshortcuts import shortcuts.yaml

# Import shortcuts from a JSON file
  gshortcuts import shortcuts.json

# Check for duplicated shortcuts
  gshortcuts conflicts

# Reset custom shortcuts
  gshortcuts reset-custom