Need help with a Gsettings command
I have been slowly building a script of gsettings commands so I can configure PCs to our standard configuration without a lot of scrolling and mouse clicking per PC. Thanks to helpful people in the community I have made progress, but I still have a few that I'm not having any success with.
This one is for setting Notification Preferences. In this example I am trying to turn off notifications from Clocks. I have tried two approaches and variations of the approaches. The command line code for my two trials is below:
gsettings set org.gnome.desktop.notifications.application "org-gnome-clocks" enable false
gsettings set org.gnome.desktop.notifications.application://org/gnome/desktop/notifications/application:/:$(gsettings get org.gnome.desktop.notifications.application default | sed -e s/^\'// -e s/\'$//)/ "org-gnome-clocks" enable false
I've had no luck and will appreciate any help.
Thanks and Have a Great Day!