-
Notifications
You must be signed in to change notification settings - Fork 0
Keyboard Shortcuts
TaintedAngel edited this page Mar 16, 2026
·
1 revision
LinuxShot registers global shortcuts through KDE's KGlobalAccel system. Just run:
linuxshot setupThis does the following:
- Disables Spectacle's PrtSc binding
- Registers
Printfor region capture - Registers
Ctrl+Printfor fullscreen - Registers
Alt+Printfor window capture - Installs a desktop file and autostart entry
The tray process listens for these shortcuts over DBus. Make sure linuxshot tray is running.
You can also change the key bindings from the tray's Settings dialog or through config:
linuxshot config --set shortcut_region "Print"
linuxshot config --set shortcut_fullscreen "Ctrl+Print"
linuxshot config --set shortcut_window "Alt+Print"
linuxshot setup # re-register after changingTo stop overriding Spectacle:
linuxshot config --set override_spectacle false
linuxshot setupAdd to ~/.config/hypr/hyprland.conf:
bind = , Print, exec, linuxshot region
bind = CTRL, Print, exec, linuxshot fullscreen
bind = ALT, Print, exec, linuxshot window
Add to ~/.config/sway/config:
bindsym Print exec linuxshot region
bindsym Ctrl+Print exec linuxshot fullscreen
bindsym Alt+Print exec linuxshot window
Add to ~/.config/i3/config:
bindsym Print exec --no-startup-id linuxshot region
bindsym Ctrl+Print exec --no-startup-id linuxshot fullscreen
bindsym Alt+Print exec --no-startup-id linuxshot window
gsettings set org.gnome.settings-daemon.plugins.media-keys custom-keybindings \
"['/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/linuxshot-region/']"
dconf write /org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/linuxshot-region/name "'LinuxShot Region'"
dconf write /org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/linuxshot-region/command "'linuxshot region'"
dconf write /org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/linuxshot-region/binding "'Print'"Repeat for fullscreen and window with different paths.
LinuxShot is just a CLI under the hood. Bind linuxshot region, linuxshot fullscreen, or linuxshot window to any key using whatever your DE provides.