8

From time to time, AppCenter will find an update and hang out in my dock with a red, circular "badge" overlay and a number.

icon

  • How can I deactivate this persistent dock notification?
  • Separately, how do I stop AppCenter from automatically checking on updates?
7

To the first question, you can open a terminal and type:

killall appcenter

Now the reminder dessapears from Planck.

To the second question, you can try to show all the hidden startup applications. Open a terminal and type:

sudo sed -i 's/NoDisplay=true/NoDisplay=false/g' /etc/xdg/autostart/*.desktop

Then launch the Gnome session properties from terminal:

gnome-session-properties

Look for the appcenter launcher and uncheck it. It called:

appcenter -s

Source of some parts of this answer by @cipricus:

How to access and edit Startup applications in Elementary OS Freya beta 2?

  • I didn't realize that it was running in the background so thanks for that. But that sed command is destructive to all items in *.desktop as written – wolf Oct 10 '16 at 18:57
  • 1
    Thank you bitseater, it worked like a charm. @wolf, it is not, it just unhides the autostarted apps that elementary doesn't want you to see for cosmetic reasons. – Rho Feb 15 '17 at 13:11
  • For elementary OS 5.0 Juno the first command should be killall io.elementary.appcenter – Stevie Howard Mar 15 at 4:47
4

The AppCenter periodically shows updates because it runs in the background on startup. To disable its notifications, set it to not run on startup:

  1. mkdir ~/.config/autostart/
  2. cp /etc/xdg/autostart/io.elementary.appcenter-daemon.desktop ~/.config/autostart/

    This copies the AppCenter startup directions from the general autostart folder to your personal folder. (The startup process prioritizes directions given in the latter.) Then modify the new file to not load on startup:

  3. echo "X-GNOME-Autostart-enabled=false" | tee -a ~/.config/autostart/io.elementary.appcenter-daemon.desktop

  4. reboot


If you would like to keep AppCenter running but just remove the badge, there is currently no configuration setting for this. (Badge counts are hardcoded in their other instances.) If you'd like to build your own version without notifications, start with modifying /src/Core/Client.vala and /src/Widgets/AppCellRenderer.vala in the source code.

-1

killall io.elementary.appcenter worked for me to kill the process

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.