GNOME desktop keyboard shortcuts as a getpkg package
Find a file
j cceb735b45
All checks were successful
Build-Test-Publish / build (push) Successful in 8s
hotkeys: GNOME shortcuts as a getpkg package
Ctrl+Alt+T opens a terminal; Ctrl+Alt+E opens Files, jumping to the
path in the clipboard when there is one. Bindings route through the
installed script so updates ship without touching gsettings.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-11 19:19:38 +12:00
.gitea/workflows hotkeys: GNOME shortcuts as a getpkg package 2026-08-11 19:19:38 +12:00
hotkeys hotkeys: GNOME shortcuts as a getpkg package 2026-08-11 19:19:38 +12:00
publish.sh hotkeys: GNOME shortcuts as a getpkg package 2026-08-11 19:19:38 +12:00
README.md hotkeys: GNOME shortcuts as a getpkg package 2026-08-11 19:19:38 +12:00
setup_script.sh hotkeys: GNOME shortcuts as a getpkg package 2026-08-11 19:19:38 +12:00
test.sh hotkeys: GNOME shortcuts as a getpkg package 2026-08-11 19:19:38 +12:00

hotkeys

GNOME desktop keyboard shortcuts, packaged as a getpkg tool.

Shortcut Action
Ctrl+Alt+T Open a new terminal window (Ptyxis, with fallbacks)
Ctrl+Alt+E Open a new Files (Nautilus) window — if the clipboard contains a path, it opens that location; a file path opens its folder with the file selected

Install

getpkg install hotkeys

Installation applies the keybindings automatically, and only on systems where they can work: apply/remove refuse to touch anything unless gsettings and the GNOME media-keys schema are present, and the install hook additionally requires a desktop session. On servers and non-GNOME desktops the package installs but has no effect.

Usage

hotkeys apply    # install/refresh the keybindings
hotkeys remove   # remove them
hotkeys status   # show what's bound

The shortcuts invoke hotkeys open-terminal / hotkeys open-files, so behaviour changes ship via getpkg update without touching gsettings.

The clipboard handling understands plain paths, file:// URIs, ~ expansion, and paths wrapped in quotes or whitespace.

Set HOTKEYS_TERMINAL to override the terminal command, e.g. HOTKEYS_TERMINAL="kitty".

Test

./test.sh