Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save linuxkathirvel/5e8bb416f487b4b47a97daa42288502f to your computer and use it in GitHub Desktop.
Save linuxkathirvel/5e8bb416f487b4b47a97daa42288502f to your computer and use it in GitHub Desktop.
How to assign PrtScr(Print Screen) key to Flameshot screenshot tool in Gnome 3?

How to assign PrtScr(Print Screen) key to Flameshot screenshot tool in Gnome 3?

  1. Goto Keyboard settings and click 'Save a screenshot to Pictures' under 'Screenshots' section.
  2. Press 'Backspace' key delete 'PrtScr' key shortcut and press 'Set' button
  3. Press '+'(Plust) icon in the 'Custom Shortcuts' in the same window
  4. Enter 'Flameshot' in 'Name' field , 'flameshot gui' in 'Command' field, and click 'Set Shortcut' button and press 'PrtScr' button in the keyboard and close the dialog box 5.That's it. If you press 'PrtScr' key, the Flameshot selection area screen will appear.
@greglixandrao
Copy link

Hello, @nmcusa I just hit ctrl+c after select the area, out the elements (arrow, retangle..) and the picture is sand to clipboard

@The-Hashad
Copy link

Thank you.

@fjpaniagua
Copy link

A small step for mankind... Thanks you very much!

@George33331
Copy link

If you installed Flameshot through Flatpak, the command should be set to flatpak run org.flameshot.Flameshot gui in order to make it work. Have fun with your superior screenshot tool 🎉

Thank you so much man this worked for me

@LK-Hemant I had the same issue fixed it like this

@elvisef
Copy link

elvisef commented Mar 27, 2024

Hey.

What if I wanted to do a printscreen of the window with an opened file menu ?

I have a SublimeText with this addon (enhanced file menu): https://github.com/titoBouzout/SideBarEnhancements

And if I do a printscreen, nothing happens. I need to close the menu (I mean the right click button menu) to make the shortcut work.

Any ideas ?

@Magnusretrotech
Copy link

Worked perfectly!

@Amasuri
Copy link

Amasuri commented Jul 14, 2024

Worked perfectly, thanks! Figured out every step aside from typing flameshot gui specifically, so I just typed flameshot and that simply opened the app, haha. Can confirm it requires removing the default PrtScr binding first though! If you skip it, you won't be able to define the custom PrtScr action.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment