Skip to content

Keyboard Shortcuts

TaintedAngel edited this page Mar 16, 2026 · 1 revision

Keyboard Shortcuts

KDE Plasma 6 (automatic)

LinuxShot registers global shortcuts through KDE's KGlobalAccel system. Just run:

linuxshot setup

This does the following:

  • Disables Spectacle's PrtSc binding
  • Registers Print for region capture
  • Registers Ctrl+Print for fullscreen
  • Registers Alt+Print for 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 changing

To stop overriding Spectacle:

linuxshot config --set override_spectacle false
linuxshot setup

Hyprland

Add to ~/.config/hypr/hyprland.conf:

bind = , Print, exec, linuxshot region
bind = CTRL, Print, exec, linuxshot fullscreen
bind = ALT, Print, exec, linuxshot window

Sway

Add to ~/.config/sway/config:

bindsym Print exec linuxshot region
bindsym Ctrl+Print exec linuxshot fullscreen
bindsym Alt+Print exec linuxshot window

i3

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

GNOME

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.

Other DEs

LinuxShot is just a CLI under the hood. Bind linuxshot region, linuxshot fullscreen, or linuxshot window to any key using whatever your DE provides.

Clone this wiki locally