Score:0

How to turn on/off applications notifications in the command line?

de flag

On Ubuntu 21.10,

If you go to Settings --> Applications --> Software Updater --> Notifications You can toggle it On/Off.

Notification Settings

Also,

Software & Updater set to Never

Software Updater

Is there a way to toggle these settings in the command line? That when you update them it will also take effect on the UI? for example, if you toggle them in the cmd it should also update the UI.

I checked gsettings and I can't seem to find these options. When I toggle them on and off and run gsettings list-recursively nothing really changes.

Score:0
in flag

While gsettings is preferrable tool for such operations, I could not find this option too. But alternate tool works: dconf.

Toggle notification for Software Updater off:

    dconf write /org/gnome/desktop/notifications/application/update-manager/enable false

Toggle notification back on:

    dconf write /org/gnome/desktop/notifications/application/update-manager/enable false

Changes are immediately displayed in the UI of Settings.

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.