Skip to content
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

Global hotkey to open/close from/to system tray #534

Open
GennDALF opened this issue Jun 7, 2024 · 3 comments
Open

Global hotkey to open/close from/to system tray #534

GennDALF opened this issue Jun 7, 2024 · 3 comments

Comments

@GennDALF
Copy link

GennDALF commented Jun 7, 2024

Is it possible to add a global system hotkey that will open the main window from the system tray and close it to the system tray? I mean the behaviour like NumLock Calc has.

The scenario is to load Qalculate! with the OS and keep it in the tray, but open/close whenever you need it.

@hanna-kn
Copy link
Contributor

hanna-kn commented Jun 8, 2024

Currently this is possible:
Use Escape or general shortcut (e.g. Alt+F4) to close the window.
Run qalculate-gtk to open the window. Assign a key using a keyboard shortcut application of your choice.

@hanna-kn
Copy link
Contributor

hanna-kn commented Jun 8, 2024

My suggestion is that I add a command line option, for use with hotkey programs, which toggles visibility of qalculate-gtk windows.

@GennDALF
Copy link
Author

GennDALF commented Jun 8, 2024

Assign a key using a keyboard shortcut application of your choice.

What I would like to avoid is a keyboard shortcut application. For many reasons.

Isn't it possible for you to add a system shortcut to the qalculate itself?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants