I had the famous and long-lasting Dash bug in which no softwares are shown when pressing the "Windows" key on the keyboard, on Ubuntu 22.04.2 LTS. Searching also did not return any results.
I fixed it by using this command: (notice that the solution, and so the bug, is at least 11 years old already!)
sudo apt install unity-lens-applications unity-lens-files unity-lens-music unity-lens-video
The problem is: it needs the machines to be rebooted in order to Dash to reflect these changes.
But there are so many machines here with this problem, that it would be a pain to reboot all of them just to refresh Dash after fixing it. And all machines are on dual-boot with Windows, and this would force me to manually instruct each one to boot on the correct Operating System, login again, etc.
Question: which command is the best to refresh Dash after fixing it?
shutdown -r now
and any other that imply rebooting is automatically disqualified from this contest.
sudo systemctl restart gdm3
– Rishon_JR Mar 17 '23 at 15:27