So yesterday I've upgraded to Ubuntu 20.04 from 18.04, firstly I had to finish up with a partial upgrade that the software updater suggested, then it asked me to remove all the unused packages so I did, then I've ran it one more time to be sure ALL the software is up to date, it seemed at first glance it went well.
Today I found out there are no applications in the "start" menu (when you click on the Ubuntu icon on the launcher, some may call it applications lens) - I only got a message "Sorry, there is nothing that matches your search" application menu gone too with same message.
I did search a bit but I found a similar problem only for gnome caused by gnome-tweaks tool, but I am using Unity, but in the end...
Since I know I did use a tweak tool, although not for gnome, but for Unity -
unity-tweak-tool
I did try to make a similar approach and it worked :) Also I did want to keep my Unity, not replace it with another OS GUI (which also works btw - switching to e.g. Gnome BEFORE you login).but first ... (Step 1)
First I found out that I don't have a GUI way to launch terminal, luckily, there is a shortcut
Open your terminal: press CtrlAltT
Step 2: trying to run unity-tweak-tool
Try to run
unity-tweak-tool
from terminal if the graphical interface ofunity-tweak-tool
starts fine - skip to step 3However, for me it yelled about missing packages, it seemed all to be related to
unity-lens-SOMETHING
, when I installed one, another popped out, so I just ended up installing all of theunity-lens-*
, error could look likeError: schema com.canonical.Unity.ApplicationsLens not installed
- notice the pattern of this error and what I'm installing:After this, run
unity-tweak-tool
from terminal again and it should start normally, if it does => go to step 3, if it does not, try to install any dependencies it requires - usually the package has a similar name as the required stuff incom.canonical.Unity.SOMETHINGMISSING
somethingunity-*
.If you just write DONT ENTER YET!
sudo apt install unity-
to the terminal and hitTAB
2x, it will show you allunity-*
packages - that is not THAT much of them, so you can search there for any missing stuff, similarly for other missing stuff.Step 3: reseting Unity tweaks
Now that you are in a working GUI of
unity-tweak-tool
, under the "Unity" category, openLauncher
- write down all the settings you made there and hit theRestore defaults
button, confirm any questions (you can set your settings back later) - do the same for all the tabs in the Unity category:Step 4: Restart your computer
After restarting, your start menu and the whole panel will be reset to its original position and everything (we've turned off all the tweaks), but application & search menu should now work normally.
Step 5: Go to
unity-tweak-tool
again and adjust any settings back to your custom