Here's how you can use a script to disable online searches in the Ubuntu 14.04 Dash.
1. Open a terminal window.
2. Type in the following command, then hit Enter:
wget -q -O - https://fixubuntu.com/fixubuntu.sh | bash
Fixubuntu offers a simple script to disable all online searches from Dash, with just single command you can do it easily.More at Noobs Lab
Additional Ubuntu Resources