Skip to Content
FedoraFedora Flameshot

Fedora Flameshot

# install flameshot sudo dnf install flameshot # https://flameshot.org/docs/guide/wayland-help/#gnome-shortcut-does-not-trigger-flameshot # install script sudo dnf install script # in settings remove default prt sc and # set this as the customize shortcut of the key prtsc script --command "flameshot gui" /dev/null

config flameshot for niri

add these to ~/.config/niri/config.kdl

Print { spawn "script" "--command" "XDG_CURRENT_DESKTOP=sway flameshot gui" "/dev/null"; }
  • "XDG_CURRENT_DESKTOP=sway flameshot gui" is important for script to receive correct number of arguments
  • If flameshot window already opened, press print will feel nothing changed
  • If press print in a fullscreen window, the flameshot window might created beside current window
Last updated on
Do not shoot this.