-
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
Can't change the capture screen shortcut on MacOS #1259
Comments
@ThePurple any ideas on this? |
Same thing in MacOS Catalina 10.15.7, if that is of any help in debugging. |
Sorry for a long response, I missed this ticket. |
@ThePurple could you please show where is it hardcoded? I can't find it. |
flameshot/src/core/controller.cpp Line 101 in b5ca48d
|
Similar request for windows #1341 |
Will there be an update soon? |
The current shortcut for taking screenshots (⌘ + ⌥ + shift + 4) is really hard to use. Maybe the default shortcut used in the Xnip (⌘ + shift + X) will be a better solution. |
Yes a smaller one would be nicer |
|
@isheraz there will be an update soon, but I'm not sure if this issue is addressed in it. Perhaps @ThePurple can comment as he knows better that me what is the current state. |
FYI - On Mac, I was able to map the PrintScreen button using my logitech keyboard software to the default key-mapping. |
Bumping this issue cause its been like a month since this has last had any activity and this issue is still not fixed. If it's coming as a feature, why can't you just unlock it now? Was this fixed in a newer version and mine is just out of date or? |
We can't unlock it now because the work is not done. We have busy lives and work on this for free as our time allows. If you want it done now, do it yourself and submit a PR. If you want guidance on implementing it hit us up on the slack. |
@ctaetcsh Flameshot is an OpenSource software and like most FLOSS softwares out there, it is done by volunteer work. I hope you understand why development is not as rapid as proprietary software. Now back to your question, the latest state of the project can be easily compiled from source. You can find proper instructions here: https://flameshot.org/guide/installation/compilation/#osx Just remember that the resulting software should not be considered as "stable" and you might face issues here and there (rarely), but the benefit is that you will get the latest features. |
@mmahmoudian I understand that this is done via volunteer work and that progress is slower then with software that has people paid to work on it. The attitude of my original comment is mostly because it seems like a weird thing to take a long time to fix. Why are those last 5 shortcuts hard coded? Is it a bodge from an other issue or just an oversight? I have already started to see if I could just fix it for myself by changing the hard coded default to something that would work for me, and I appreciate you giving me pointers on where to begin since I've never dabbled with C++ stuff before. |
Okay I was able to change the hard coded default to F13 and it's working great!
I assume it was just disabled across everything until the issue could be looked into further. If that was so, couldn't a temporary solution be to just disable it based on the OS? |
If it can change based on OS, why is it disabled (i'm making an assumption here) on any OS and not just Linux where this issue exists? If that is the solution, that doesn't seem like a particularly difficult thing to implement and thus cross off a 5 month old issue. |
This discussion is definitely off-topic, but FYI, in Linux the shortcuts for starting software are not handled by the software itself but rather the window manager (which is something that can easily changed and customized in Linux but it is impossible to change or modify freely in Windows and OSX). Additionally, Flameshot uses QT library to communicate with the window manager, and because there are many window managers in Linux, as far as I know, there is no unified way to implement global shortcuts and therefore QT doesn't have a ready-made functionality to set it. Believe it or not, we have never received any of such issues from Linux users and everything works perfectly. All such filed issues come from users with limited and restricted operating systems (i.e Windows and MacOS). Regardless, as you saw, this is relatively an easy thing to change and compile. |
@ThePurple any update about this, I found this cool tool on mac, everything well except for the shortcut, really it should be customizable, it's the most important, you can hard other shortcut 😁 |
@kossa no updates yet, sorry. I'll try to find some time for this, but without ETA for now :) |
Excellent thank you, i'll still work with it 👌
…On Tue, 3 Aug 2021, 10:13 Yurii Puchkov, ***@***.***> wrote:
@kossa <https://github.com/kossa> no updates yet, sorry. I'll try to find
some time for this, but without ETA for now :)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1259 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAI7AIFJBQRFR5WQOY3IOALT26XMNANCNFSM4WS7BJXQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email>
.
|
@kossa Meant to reply to this earlier, but as I showed above it's easy to change the binding and recompile it with that new hard coded binding. This is what I have been doing and it has worked flawlessly. |
Thank you @ctaetcsh I dont have GCC environment and dont want to install it, all screenshot apps offer the possibility to customize the shortcut, and Flameshot is a great one I used so it should have this feature 👍 |
it will make it configurable. |
It does not work for me |
This GitHub issue has many participants so please keep off-topic discussions to a minimum. The collaborators have already pointed out where to change the hard-coded value. I would propose this:
This one-liner change would improve the experience a lot for us Mac users. No need to check it compiles if you only change the string. If I had time I would make a PR myself. Later we could consider an option to change the keyboard shortcut. |
Seeing these updates, it's hard not to get somewhat frustrated because as far as I can tell this is what we've learned:
I can't be the only one who feels like the solution here is fairly straight forward. Telling people to "go do the work and open a PR" isn't helpful, not everyone is an expert in C and Qt. More than that, there hasn't been a clear explanation as to why these specific shortcuts are disabled. Now, given that all of what I just is considered "off-topic", I ask for one of two things:
Again, this is a request, NOT a demand. I understand that we are not entitled to either, but the request to fix this issue is made with (what I hope) are good intentions in wanting to help improve this software. We are not your enemy; we have an interest in this software becoming better too. I appreciate your time. Thank you. |
There's no contention on changing this to be configurable. I don't have easy access to a Mac to do testing on so I am prioritizing other issues with my limited free time. |
Please!, we need this :) |
It would be cool to change shortcut, waiting for this feature. |
looking forward to this feature... |
I don't have easy access to a Mac too, so I cannot implement it. |
This comment has been minimized.
This comment has been minimized.
For those who use Karabiner-Elements, here's the config to map ⇧⌘T to ⇧⌘⌥4 (you can change ⇧⌘T to anything you want):
Put it in |
From issue flameshot-org#1259 and my experience, I've fix and test this feature in my Hackintosh. So now you can change shortcut to take screenshot and show screenshot history (require restart flameshot). - Default key to take screenshot is "Cmd + Shift + X", screenshot history is "Option + Shift + X". - Added new translate text "Require restart flameshot".
) * Enable Screenshot & Screenshot history shortcut changing in MACOS From issue #1259 and my experience, I've fix and test this feature in my Hackintosh. So now you can change shortcut to take screenshot and show screenshot history (require restart flameshot). - Default key to take screenshot is "Cmd + Shift + X", screenshot history is "Option + Shift + X". - Added new translate text "Require restart flameshot". * - Change message text for screenshot shortcut * - Format code using clang-format Co-authored-by: adrienpixodeo <[email protected]>
This is fixed on the master branch now and will be part of version 11. |
It would be nice to install v11 this year ! Do i have a chance to ask about approximate release date ? P.s. Definitely would be a contributor if it was written in Rust (no experience with segfault-free C++ 😁 ) |
I'm a fellow rust enthusiast 😁 if the FFI between rust and c++ was a little cleaner I would consider writing the new upload feature in rust I was planning to release the beta last weekend but some personal issues came up. Hopefully this week/weekend I can get it out. We already feature froze so only merging bug fixes until the release is out. |
https://github.com/google/autocxx is an insane tool as a C++/Rust glue. P.s. just to increase chance for Rust integration one more percent 😁 |
Comment I replied to was deleted, original text:
@robertasDS This issue is long since resolved, if you're encountering a similar issue on Windows you'll likely need to find/open a new issue for Windows specifically. However, if you are on Windows, you may consider other software with similar functionality to Flameshot where keybind remapping is thoroughly supported: |
Flameshot version
265e42c
System Information
macOS Big Sur 11.1
Problem
It's impossible to change the capture screen shortcut in the gui configuration.
How can I change the shortcut? cmd+shift+alt+4 is super hard to use
The text was updated successfully, but these errors were encountered: