-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature Request] Remap print-screen activation key on Windows #1341
Comments
just press printscreen :) (just kidding) Right now there is not a way to override the printscreen activation on windows. I've tagged this as a future feature request. |
Believe this is the relevant section of code: flameshot/src/core/controller.cpp Line 85 in b5ca48d
Quite busy with the 0.9 release so I will come back to this later or someone else might tackle it. |
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as off-topic.
This comment was marked as off-topic.
2 similar comments
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as duplicate.
I have switched to flameshot on linux (Ubuntu 20.04) earlier this year and quite enjoy it. So I wanted to use it on my windows computer. I wanted to set the shortcuts to match my Linux box (muscle memory and all). I can live with just hitting print screen until this is settled. However, I converted a colleague and he is having trouble. Apparently, the corporate version of onedrive has taken the printscreen key over. Without getting IT involved he can't use flameshot. I would like to see a configuration option for the keyboard shortcut. |
Yes! I also think it's necessary for Windows user to config print-screen shortcut by the way, my PrtSc key didn't remap to flameshot too, so I use it by clicking the logo on the taskbar |
This comment was marked as off-topic.
This comment was marked as off-topic.
I didn't fix it, but I finally have the PrtSc with flameshot but I don't know why it works and also don't know when it's fix maybe after I restart my computer? actually I don't know.... But now I can use the PrtSc key to activate flameshot. |
I, too, was waiting eagerly for this feature, however was able to finally get PrtScr to bring up the Flameshot gui by disabling a toggle which brings of the screen snipping tool when the PrtScr key is pressed. I believe the feature to set a print screen shortcut was introduced in a recent Windows update (probably in version 1903) This is what worked for me, but I feel a future Windows update may easily break this workaround, therefore it would be great if the devs could implement the key-remap feature for windows. P.S. Flameshot is the best screen capture tool i've come across, its especially helpful in this era of online meetings and classes. Kudos to the devs and all the people who've helped in creating and maintaining this amazing FOSS tool. |
@VijayKM01 Using PrtScr for triggering FlameShot works fine. This Issue is about being able to map other triggering Keys, within Flameshot to trigger a capture (For example, I'd like to map CTRL+Y to capture (yes, german layout keyboard, Y is below a) |
Oh, my bad, I misunderstood the issue being discussed, I stumbled across this as I was trying to get PrtScr to bring up the FlameShot gui. Nonetheless, I do believe PrtScr is not in the most convenient spot, and it would be great to have an option for additional key triggers. |
Yeah, same here. When I use PrtScrn, it opens Windows Screenshot, not Flameshot. I have to use taskbar to open Flameshot. |
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as duplicate.
This comment was marked as duplicate.
This isn't helpful. Nothing changes unless you help do the work. There is a PR in progress on this. |
|
This comment was marked as off-topic.
This comment was marked as off-topic.
@krokofant your comment is certainly not constructive and I'm going to hide it. I personally don't see a point of making something specifically for Windows when it can already be easily done since Win95 or Win98. This is one solution: https://www.perkinselearning.org/technology/blog/how-create-custom-keyboard-shortcuts-windows You can create a desktop shortcut and in Properties define a shortcut as explained in this link. It is easy, fast, straightforward, and native to Windows. |
I'm not sure what you imagine this would help with. Since there's no CLI support for Windows adding a keyboard shortcut for flameshot won't do much. If CLI support was there, then I can see the point of creating a keyboard shortcut directly to open flameshot. |
@krokofant that is a fair point. Sorry for jumping to conclusion so quickly. I often forget that the CLI is not there for Windows. |
Hello, I find a way to set a shortcut for flameshot,please use autohotkeys.
|
Thank you for the idea, worked like a charm! A bit messy but this is how looks mine |
@mmahmoudian Interesting, I'd love to see it. Personally I'd rather learn C++ and do it myself but just as an ease of access thing I might end up doing that, I'll look into it for sure. I didn't know Flameshot was that new to Windows, knew it was originally designed for Linux but that's it. Thank you for your help and knowledge, very much appreciated. |
I don't know much about your setup installation method, Flameshot version, ...) therefore very hard for me to help. But here are some facts:
You are most welcome. I'm glad that I was helpful |
Hah... so I came here to find, unfortunately, you can't bind naked PrtScn to open Flameshot. Fine, I'm adaptable, I'll just go into the configuration and change the hotkey for opening a screenshot, like Shift-PrtScn. But Flameshot doesn't let you change this under Windows. 😂 Any reason why those last few hotkeys at the bottom (you know... the most important ones) can't be rebound? If I could just change opening Flameshot to Shift-PrtScn, everything's gravy. Thanks for the tool. EDIT: I rebooted and now PrtScn is firing up Flameshot just fine. Who knows! |
Well I'll be honest, I have no clue as that is the most important thing you are right, also other screenshot applications such as Lightshot have it. Of course can't expect everything with open source software but that still confuses me. If you read above it was explained a bit but basically just have to deal with it until someone changes it or make a code bounty. Luckily I found a workaround that works for myself, using my Stream Deck I can set it to one of those keys and while it's not technically a keybind on the keyboard, it works as one. Still wish you could just rebind it normally but maybe it will come one day. |
I actually rebooted and... Flameshot is now capturing the PrtScn key just fine. Who knows, Windows is wonky. I should edit my above post. |
Happened to me as well. 😄 So it seems that (at least on Windows 11 22H2) you have to deactivate the Snipping Tool in the Windows Settings.
|
@web-dev-passion this is already listed in our troubleshooting documentation for Windows users: It seems every now and then after some Windows updates, this setting is reverted without informing user (classic Microsoft move) and users have to apply this setting again. |
Just chiming in for this too. I am right-handed, so to use the current PrtScn shortcut, I have to take my hand off the mouse. I much prefer shortcuts I can invoke with my left hand, e.g., Windows Key + S P.S. Thank you for creating this tool! |
Just for the record and connecting issues to PRs, we have a partial implementation in #2168 |
This comment has been minimized.
This comment has been minimized.
Same was happening to me. What seems to have fixed is:
|
This does not work for me on |
Thank you @rouninhp this worked perfectly for me. |
@mmahmoudian is alt + print screen implemented? because it doesn't work for me |
This works like a charm. |
Yes, that works, this Issue is about binding OTHER Keys for capturing with FlameShot, though :) |
EDIT Turns out my keyboard is sending
|
In my case I just wanna bind flameshot summoning to key MOUSE 4, aka a mouse side buttons. |
Change Print Screen to Ctrl + Shift + 4
|
Just want to share that I use Windows PowerToys for a workaround here. It allows you to remap input character(s) and send a shortcut. For example, input Ctrl + `, send PrintScreen. Works like a charm, easy to set up too. |
I use autohotkey and I suppose I would take Ctrl + Shift + 4 but it should be easy to implement an arbitrary remapped key to activate. |
I'd love to modify the Shortcut used for a Screencapture on windows (flameshot already running)
Flameshot-Version: 0.8.4 (couldn't find any newer Windows MSI package)
OS: Windows 10 (20H2)
I've been using flameshot on Linux, for a long time, and never found a suitable alternative for use on Windows, so, I was happy to find out there's windows versions available, now (didn't check in a while...)
On Linux, I just set up a global shortcut (ctrl+y, in my case) to start flameshot gui, and am quite happy with that. On Windows, I can't (easily?) do that (at least I've not found any documentation for it, and plainly calling flameshot.exe gui does nothing)
The Windows Flameshot does come with local Shortcuts, though, while it's running... I'd just love to remap the PrintScreen one to a different shortcut (either in the .conf file or via a UI?)
Is this still a thing, and I just missed the documentation for it? Is it maybe already planned for a comming release? Or am I just thinking in the wrong direction and the solution to my problem is something else? (please don't say "just press printscreen" ;) )
Thanks for developing this great tool, there literally is none with as great a UX feeling as flameshot.
The text was updated successfully, but these errors were encountered: