25 3
Contact Author Sign in to rate

Minimize to tray

<10kB. Updated 2020-02-16.
The author has shared 5 other item(s).


Adds an icon to the system tray and allows minimizing anki to the tray when the icon is pressed or when the main window X button is pressed. Configuration To start Anki minimized in the tray go to Tools > Add-ons > Minimize to tray > Config and set the variable hide_on_startup to true Changelog v1.2 (15/02/2020) Clicking on the tray icon focus/un-minimize Anki windows when they are not already focused. (Experimental feature. The windows may flicker in some rare cases) v1.1 (19/12/2018) Add action "Show all windows" (contribution of a-rodin) v1.0 (12/07/2018) Initial release Known issues When hide_on_startup is set to True, the tray icon does not appear if the profile manager is shown when Anki is started. So this option should be activated only when a single user is present or when Anki is started with the -b PROFILE option so that the profile manager is not displayed. Issues Report any bug in the GitHub issues page of the project. Author Simone Gaiarin (simgunz) License Software distributed under the GNU General Public License version 3 (GNU GPL v3). http://www.gnu.org/copyleft/gpl.html References Github page


As add-ons are programs downloaded from the internet, they are potentially malicious. You should only download add-ons you trust.

Supported Anki versions:

To download this add-on, please copy and paste the following code into Anki 2.1:


If you were linked to this page from the internet, please open Anki on your computer, go to the Tools menu and then Add-ons>Browse & Install to paste in the code.

All Anki 2.1.x Add-Ons Contact Author


on 1631538675
It works but it crashes if you have it set hidden on startup and you start Anki without internet connection
on 1630648936
It works
on 1617183041
It is useful for me. Does not distract the icon on the main panel. (Windows 10)
P.S. For the work of the plugin, I had to reboot the program.
on 1615627055
I really appreciate all the effort of the developer, it's a really really useful one and it makes life much easier. There's only a not-serious-error thrown sometimes that I have reported on GitHub if you want to look into. Thanks.
on 1606615808
Great Add-on, Works Well in Ubuntu ( linux )
on 1602550772
work well
on 1601505045
So convenient to have it in the tray. Thank you
on 1596519739
Great add-on! Works as described, instead of shutting down upon closing (via keyboard shortcut or with the mouse) Anki will be kept active in a little Anki tray icon that's always there, but will be cleared from the taskbar.
on 1592747363
on 1585166746
Works flawlessly, this should really be included with Anki by default.
on 1580317109
works perfectly.
on 1568823067
TLDR: Please set the default tray icon click as toggle visibility.

It would be better to have the GUI operations more consistently designed (I use it on macOS):

1. Click the tray button will show the window, no matter it is currently unfocused, hidden or minimized. Currently clicking the tray button and select show all windows sometimes does nothing, maybe because the window is unfocused.

2. It would be better to make the default action of clicking tray icon as toggle visibility, rather than click the "show all windows" menu entry. Having a good minimize to tray function is good enough to eliminate quiting Anki for most time, so the minimize to try should be the major and most frequently used feature.
Comment from author
Edit: I implemented the requested feature. Though due to weird Qt behavior there are some flickers of the windows in some cases and I am not 100% confident that this will work reliably. Test the feature and let me know.

If I understand correctly the desired behaviour should be:
- Click X > Minimize to tray
- Click tray + Windows shown and focused > Does nothing (windows remain visible and focused)
- Click tray + Windows shown and unfocused > Focus it
Regarding the 'hidden' state, I guess it is a Mac feature, but probably should be taken care of by Qt if this is implemented correctly.
on 1560022254
on 1555774473
Очень хорошо.
on 1554637188
Works pretty good. It does have a tendency to shrink the window to the middle of my screen though but that's fine, I resize it and it sticks for a while.
on 1553864739
Works perfectly! Awesome to use in conjunction with AnkiConnect.
on 1549911113
It's working, thanks
on 1547777840
on 1547300064
works well in my arch linux with i3wm as interface
on 1541037431
works great in my old kubuntu 14.04, thanks!!
on 1533218661
Works for me on Windows 7 (Anki 2.0)
on 1412640000
doesn't work

i have anki2.0.29 and it doesn't work on it...
on 1393632000
How about minimize only some windows

Hi, I would give it 5 stars if there's that feature. Actually, I just wanna hide the main windows while I'm adding new words ^^