Gnome Search – How to Add Calculations to the Gnome Search Bar

calculatorgnome-shellsearch

I was using Gnome on PureOS for a month or so, but now I'm back on Ubuntu 18.04. The thing I loved in PureOS is that I could do calculations in the Gnome search bar. But when I type any calculations (1+2) in the gnome search bar I see no results (it says "No results" in Dutch):

enter image description here

I tried this gnome extension and it's enabled in Gnome tweak tool as you can see below, but I see no results (I rebooted to be sure).

enter image description here

Does anybody know how I can activate calculations in the Gnome search bar?

Best Answer

I found this from Built-in calculator to GNOME search window

The pre-installed GNOME Calculator in Ubuntu 18.04 is a snap application which may lack some features provided by the traditional one due to restrictions of snap packages.

Remove the snap application by running

snap remove gnome-calculator

and install the traditional apt one by running

sudo apt install gnome-calculator

You may need to to restart GNOME shell by hitting Alt+F2, then typing r and pressing Enter for it to take effect.

Related Question