Open anatoli26 opened 8 years ago
I have an applescript in the works seeing as it doesn’t look to be a native solution anytime soon. I will post github link when ready. Let me know if others are interested on the macos side. And I will push to get it finished sooner if there is a strong need/wish for it
@jankatins @anatoli26 https://github.com/georgesnow/KeePassXC-applescripts
here is a simple AppleScript for Hiding and revealing KeePassXC (obviously only for macOS platform) when brought to front the focus is set to land in the search field. This works best with FastScripts which will assign a global keyboard shortcut for it. (first 10 shortcuts are free). it is also available on the App Store
KeePassXC does now have support for global shortcuts (for autotype) so is this a good time to add another shortcut for toggle visibility? It would be very useful thanks.
The problem with this issue is we want to have a more flexible, cross platform way to handle global keyboard shortcuts. This will require a refactor of auto-type. We had bigger fish to fry before now, but we are in a better position to implement this now.
I'm considering adding a bounty to this, but it has to be done with a flexible means of defining global shortcuts.
I will contribute to a bounty. Or if a hotkey is so hard, then the original proposal of an extra command line option --toggle-window
would also be useful as we can then assign the shortcut using the mechanisms available in each OS.
I started the bounty https://www.bountysource.com/issues/39388519-add-ability-to-toggle-window-visibility-to-from-tray - please join in if you would like to see this feature.
Here's how I'm showing (or starting if not running) and hiding KeePassXC using AutoHotKey: https://gist.github.com/gene-pavlovsky/97da0fa85bbf323fb8b0716991f1d558
What about some sort of plug-in option and people could build per platform? So remove from the idea form being in the core code. And as It looks like above someone has a windows option. I actually recently got 80% of the way there for macOS for separate app I was working on. That would only leave Linux distros.
The original issue proposal is described in this comment: we can add an extra command line option --toggle-window
(and possibly others).
Then can integrate into any OS using the native OS mechanism for global hotkeys. It seems like it should be easy to write a patch and easy to use.
Just putting my support forward on this one. One feature I really miss from the original Keepass app. I use a streamdeck for a lot of "global shortcuts" like this, so at the moment have it set to open the exe as a slight workaround. But often will open it out of focus which is a shame. Look forward to hopefully seeing it in a release down the line!
I'm also in need of this feature. Clicking the mouse is so tedious!
Just putting my support forward on this one. One feature I really miss from the original Keepass app.
Exactly, I switched a while ago and still keep hittng Ctrl-Alt-K to launch KP but it never happens :P
Hi everybody,
That's great we the users of KeePassX have a new dev team for the app!
It would be nice to have an Option called Toggle Window Visibility binded to a global key combination (like the auto-complete) to bring the main window to front and to minimize it with the same key combination. If the
minimize-to-tray
option is enabled, the minimize action of this option should minimize the window to tray.To give this issues a higher priority, I'm willing to contribute economically. Those who could implement it please specify how much should be collected and I could contribute to the implementation on bountysource.com or your crowdfunding site of preference.