How to remove the big banner from Software Center?
In the new version of Ubuntu Software Center there is a big banner under toolbar. It's useless for me. How do I remove it?
This banner ad was bugging the hell out of me too. I figured out how to remove it, but this might void your warranty or whatever so do this at your own risk:
Close Ubuntu Software Center and make a backup copy of
/usr/share/software-center/softwarecenter/ui/gtk3/widgets/exhibits.py
Edit that file as root:
sudo gedit /usr/share/software-center/softwarecenter/ui/gtk3/widgets/exhibits.py
Find the line which defines
MAX_HEIGHT = 200
(line 229 or so)Change
MAX_HEIGHT
to 10Save the file, restart software center, banner no longer obtrusive.
sudo nano /usr/share/software-center/softwarecenter/ui/gtk3/views/catview_gtk.py
find self._append_banner_ads()
and comment it out with #
.
#self._append_banner_ads()
Save file, restart Software Center. See http://www.youtube.com/watch?v=QVT0HZDqMq0 for more information
In Ubuntu 12.10 and 13.04, the file is: /usr/share/software-center/softwarecenter/ui/gtk3/views/lobbyview.py