I couldn't open gedit and tried the following command:
sudo apt-get purge gedit && sudo apt-get install gedit
then I got the message:
not an ELF File - it has the wrong magic bytes at the start
Since I can open the application but I can't add the terminal. (View - Bottom panel is greyed out)
Any idea what should I do?