Merge lp:ubuntu-push/automatic into lp:ubuntu-push
Status: | Merged | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Approved by: | Jonas G. Drange | ||||||||||||
Approved revision: | 421 | ||||||||||||
Merged at revision: | 155 | ||||||||||||
Proposed branch: | lp:ubuntu-push/automatic | ||||||||||||
Merge into: | lp:ubuntu-push | ||||||||||||
Diff against target: |
454 lines (+114/-57) 6 files modified
bus/notifications/raw.go (+14/-4) bus/notifications/raw_test.go (+42/-15) client/service/postal.go (+7/-6) server/session/session_test.go (+4/-2) sounds/sounds.go (+41/-24) sounds/sounds_test.go (+6/-6) |
||||||||||||
To merge this branch: | bzr merge lp:ubuntu-push/automatic | ||||||||||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Ubuntu Push Hackers | Pending | ||
Review via email: mp+280058@code.launchpad.net |
Commit message
use Notifications dbus API to play sounds
Description of the change
Testing:
1. Save your current notification somewhere. Get it by running this command:
gdbus call -y -d org.freedesktop
In my case it was (<'/usr/
2. Download an mp3 and copy it to /usr/share/
3. Set the current notification sound to the file from 2:
sudo gdbus call -y -d org.freedesktop
4. Test it.
5. Revert the change:
sudo gdbus call -y -d org.freedesktop