GTK4 / Libadwaita app to configure GNOME global keyboard shortcuts for common system actions on Ubuntu and other GNOME-based desktops.
- GUI to assign shortcuts for preset actions
- Syncs to GNOME Custom Shortcuts via
Gio.Settings - Does not touch shortcuts from other apps (e.g. Ulauncher)
- CLI to run actions or re-sync config
| ID | Action |
|---|---|
shutdown |
Instant power off (no confirmation) |
restart |
Reboot |
suspend |
Suspend |
hibernate |
Hibernate |
lock |
Lock screen |
logout |
Log out |
mute |
Toggle mute |
screenshot |
Interactive screenshot |
- Ubuntu 22.04+ / Debian 12+ (or similar GNOME desktop)
python3-gi,gir1.2-gtk-4.0,gir1.2-adw-1- GNOME on Wayland or X11
git clone https://github.com/nakama/quickhotkeys.git
cd quickhotkeys
bash install.shThen launch QuickHotkeys from the app menu, or run:
quickhotkeysquickhotkeys # open GUI
quickhotkeys sync # sync ~/.config/quickhotkeys/config.json to GNOME
quickhotkeys run lock # run a preset action
quickhotkeys --help- Open the app
- Click Gán next to an action and press your key combo
- Click Áp dụng to save and register shortcuts
Config file: ~/.config/quickhotkeys/config.json
- Default: English (
"language": "en") - Also supports Vietnamese (
"language": "vi") - Change in the app via Language dropdown, then click Apply
- If
languageis unset, the app uses English unlessLANGstarts withvi
{
"language": "en",
"shortcuts": {
"lock": "<Primary><Alt>l",
"mute": "<Primary><Alt>m"
}
}shutdown and restart run immediately without a confirmation dialog. Use hard-to-mistype combos (e.g. Ctrl+Alt+Shift+S).
rm -f ~/.local/bin/quickhotkeys
rm -f ~/.local/share/applications/io.github.nakama.quickhotkeys.desktop
rm -rf ~/.local/share/io.github.nakama.quickhotkeys
rm -rf ~/.config/quickhotkeysRemove quickhotkeys-* entries from Settings → Keyboard → Custom Shortcuts if any remain.
quickhotkeys/ # git repo root (GitHub: nakama/quickhotkeys)
├── quickhotkeys/ # Python package
├── bin/quickhotkeys # launcher script
├── data/ # .desktop file
├── install.sh
├── LICENSE
└── pyproject.toml
MIT — Copyright (c) 2026 nakama
Ứng dụng cấu hình phím tắt GNOME cho các tác vụ hệ thống. Mặc định tiếng Anh; chọn Tiếng Việt trong mục Language. Cài đặt: clone repo và chạy bash install.sh. Shutdown/Restart thực thi ngay, không hỏi xác nhận — hãy gán phím cẩn thận.