menu-cache doesn't delete old cache files from ~/.cache/menus. Over time, they consume more and more space. Is this behavior really intended?
I confirm. I use Openbox standalone environments with the program openbox-menu which relies on libmenu-cache to pipe menus from the desktop files and keep the Applications menu up to date. And I regularly find several files in the $HOME/.cache/menus directory, instead of having always the last one generated.
I hope this helps.
Those files you experience aren't 'old' ones but rather other caches because:
- if you choose another language you may get another menu names;
- if you choose another desktop environment you may get another menu items;
- if you choose alternate XDG home or configuration directories (that can be done via environment variables) you may get another menu items.
So menu-cache gets each once requested combination cached and for fast menu loading (which will be implemented in libmenu-cache 0.4.0) those caches better to stay alive.
Thank you very much.
Log in to post a comment.