Friday, May 3, 2024
 Popular · Latest · Hot · Upcoming
14
rated 0 times [  14] [ 0]  / answers: 1 / hits: 2918  / 2 Years ago, thu, june 23, 2022, 8:09:14

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?


More From » 11.10

 Answers
3

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:




  1. Close Ubuntu Software Center and make a backup copy of

    /usr/share/software-center/softwarecenter/ui/gtk3/widgets/exhibits.py


  2. Edit that file as root:
    sudo gedit /usr/share/software-center/softwarecenter/ui/gtk3/widgets/exhibits.py


  3. Find the line which defines MAX_HEIGHT = 200 (line 229 or so)


  4. Change MAX_HEIGHT to 10


  5. Save the file, restart software center, banner no longer obtrusive.



[#43081] Friday, June 24, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
bewre

Total Points: 164
Total Questions: 108
Total Answers: 106

Location: Ghana
Member since Sun, Mar 27, 2022
2 Years ago
bewre questions
Sun, May 14, 23, 13:27, 1 Year ago
Mon, Aug 2, 21, 03:57, 3 Years ago
Thu, Aug 26, 21, 18:05, 3 Years ago
Sat, Aug 6, 22, 21:41, 2 Years ago
Sat, Jul 24, 21, 22:52, 3 Years ago
;