I am trying to create an alarm in Gnome Clocks using the terminal. I am trying to use gsettings
, but no alarms are created.
gsettings
gsettings get org.gnome.clocks alarms
[{'name': <'test for so'>, 'id': <'01da159f5b290d7b8c2e885c65088901'>, 'active': <true>, 'hour': <13>, 'minute': <41>, 'days': <@ai []>, 'snooze_minutes': <10>, 'ring_minutes': <5>}]
gsettings
gsettings get org.gnome.clocks alarms
@aa{sv} []
gsettings
with a new id
gsettings set org.gnome.clocks alarms "[{'name': <'test for so'>, 'id': <'4e52429bb11746d39dcbe566597c3c8a'>, 'active': <true>, 'hour': <13>, 'minute': <41>, 'days': <@ai []>, 'snooze_minutes': <10>, 'ring_minutes': <5>}]"
gsettings get org.gnome.clocks alarms
[{'name': <'test for so'>, 'id': <'4e52429bb11746d39dcbe566597c3c8a'>, 'active': <true>, 'hour': <13>, 'minute': <41>, 'days': <@ai []>, 'snooze_minutes': <10>, 'ring_minutes': <5>}]
While not a solution to my problem using gsettings
I was able to simulate an alarm using notify-send
with at
.
e.g. at "now + 1 hour" <<< "notify-send foo bar"