Brave popup - how to delete?
Keith
keith at caramail.com
Wed Nov 9 15:45:46 UTC 2022
On 11/9/22 1:08 AM, rikona wrote:
> On Tue, 8 Nov 2022 09:46:43 -0600
> Keith <keith at caramail.com> wrote:
>
[snipped]
>
>> Can you issue the following commands?
>>
>> $ gsettings --version
> 2.64.6
>> $ ls -l ~/.config/dconf/user
> just gives file
>>
>> Maybe there's another angle to try if none of the above work.
I know from reading below that you've already disabled the
snapd.session-agent.service by masking it, and it should take care of
the problem. It's snapd that generating the pop-up and not the Brave
browser. You'd get the same pop-up with another snap packaged browser
(or any snap application for that matter) like Firefox or Chromium if
they happened to be running at the same time snapd tries to refresh them
with an update.
However, there is one thing left to try that would be preferable to
disabling the snapd session-agent service. Right now, its primary
function seems to be to just notify the user that a snap update can't
proceed unless the snap app is closed. But in future releases of snapd,
the session-agent service might do more - in which case, it would need
to be re-enabled lest it potentially cause problems.
So, if you are willing try one more thing, you'll need to unmask the
service (same systemctl command you used before except change "mask" to
"unmask" to re-enable it. Then you need to install a package from the
apt repos called dconf-cli. Once installed, type the following command
in a terminal: (no sudo)
$ dconf read
/org/gnome/desktop/notifications/application/io-snapcraft-sessionagent/enable
If there is no result, then just go with the masking of the
session-agent service previously covered. If there is a result and its
"true" then type the following:
$ dconf write
/org/gnome/desktop/notifications/application/io-snapcraft-sessionagent/show-banners
false
This will leave notifications enabled, but turn off displaying the
pop-up banner for the snapd session agent service. To turn off
completely, change "show-banners false" to "enable false"
See how that goes. If no more pop-ups, then stay with this solution. If
pop-ups continue, go with masking the snapd session agent service.
[snipped]
>>>
>>>> $ systemctl --user mask snapd.session-agent.service
>
> Gave:
> symlink -> dev/null
>
> [some stuff does not seem to be copying from the CLI - typed in]
>
> I'll have to wait a while - with luck, no more popup!
Pretty confident that this will stop the pop-ups, but you may need to
logout and back in again. Wouldn't hurt. Also, completely closing Brave
down (making sure it has no background processes still running) and
manually refreshing the Brave snap would ordinarily have gotten rid of
the pop-up once Plasma-Discover updated its list of pending updates (i
think)
>
> Any many thanks again - I don't work at this level and don't understand
> it well, so really like and need the help.
>
> Rik
>
Hope it works!
--
Keith
More information about the ubuntu-users
mailing list