9

I just upgraded the packages on my 18.04 machine and after reboot I see a new symbol in my top right that looks like a shield with a red "denied" symbol on it. enter image description here

After further investigation this turns out to be the icon for the "livepatch" feature. It is notifying me that "livepatch" is off, and urges me to register to enable it.

I have zero interest in livepatch. I never opted to install this feature. I guess if I don't do something this shield will stay annoying and in-my-face 24/7-365?

Anyway I need help to remove it permanently like it never existed in the first place. Like completely deleted from my OS. Any help is much appreciated.

EDIT-1: Clarification in case you think I want to simply hide the notification. I actually want to COMPLETELY OBLITERATE IT and leave behind only unlinked inodes.

EDIT-2: I don't have livepatch installed. In fact look at this screenshot: enter image description here

Mr. Developerdude
  • 821
  • 2
  • 7
  • 17

2 Answers2

10

It may be that you don't have livepatch installed as clarified in the question but the gnome top bar icon is still showing, here is the solution:

Run this command in terminal to remove the livepatch icon in the top bar in Ubuntu.

gsettings set com.ubuntu.update-notifier show-livepatch-status-icon false

In comments I read that livepatch may not be a snap package but by default livepatch snap package is installed in Ubuntu, I haven't found any non-snap package of livepatch. But, I suggest you keep livepatch in the system as it installs and applies critical Linux kernel security updates without rebooting your system.

Source 1

Source 2

FutureJJ
  • 203
3

You can also use dconf-editor to remove the Livepatch notification icon.

If you don't have it,

sudo apt install dconf-editor
  1. Open dconf-editor.
  2. Go to 'com > ubuntu > update-notifier > show-livepatch-status-icon' (or just start typing "livepatch" after opening dconf-editor).
  3. You have an on/off switch for the notification icon.

This disables (or enables) the notification icon. It does not remove or turns off Livepatch.

Nathan
  • 31
  • 2