Old entries are still displayed
p00f opened this issue · 5 comments
Desktop entries from uninstalled programs are still displayed in the list, even after running sudo update-desktop-databse
and deleting the launcher history file
For example, I get an entry for Covergrid here even after uninstalling it
On the top you can see that sed
can't find the desktop file, which probably comes from here
Can I clear it somehow?
I find it very strange that this happens after deleting the history file - because that's the only place where stale entries would be coming from. Are you using multiple providers and maybe missed one @p00f ?
The entries are read using this configuration: ${XDG_DATA_HOME-${HOME}/.local/share}:${XDG_DATA_DIRS-/usr/local/share:/usr/share}
There's no cache or anything at play here.
I add HIST_FILE="~/.local/state/swaylauncher_history"
as an argument (because latest XDG spec says logs and history go to $XDG_STATE_HOME
which is ~/.local/state
). When I removed that argument and let it save in ~/.cache
, the stale entries are gone.
Also earlier there were some duplicate entries, which are gone now too