Gedit is one of the finest editors available for Linux.
I have been using it for quite sometime and has always wished that it contained an embedded terminal similar to the one in Kate. Little did I realise that it is available in default Gedit installations, until I stumbled upon a blog post on that topic. All you need to do is to enable the Terminal plugin in Gedit Preferences. Still there was a catch. Ubuntu did not list “Embed Terminal” option in its plugin list. Searching for a while in Google gave me the following solution.
Install the missing plugin options …
$ sudo apt-get install gedit-plugins
Thats all!
Now you can find “Embed Terminal” option in
Gedit—> Edit—>Preferences–>Plugins.
Check your choice, then enable display of bottom pane(View–> Bottom Pane or just ctrl+f9).
Bingo!! There you see the terminal now. Now you can write code and compile it easily!

More interesting tips <here>