Skip to content

Instantly share code, notes, and snippets.

@OlliV
Created January 15, 2015 13:52
Show Gist options
  • Save OlliV/9b9d3d09ef180895b519 to your computer and use it in GitHub Desktop.
Save OlliV/9b9d3d09ef180895b519 to your computer and use it in GitHub Desktop.
Sailfish: Disable haptic notification for received emails
#/usr/share/ngfd/events.d/email.ini
[email => play.mode=short]
sound.profile = im_fg.alert.tone@general => sound.filename
sound.stream.event.id = event-in-call
#ffmemless.effect = NGF_SHORT
sound.stream.module-stream-restore.id = x-meego-ringing-volume
mce.led_pattern = PatternCommunicationEmail
#haptic.type = alarm
[email => play.mode=*,context@call_state.mode=active]
sound.profile = im_fg.alert.tone@general => sound.filename
sound.stream.event.id = event-in-call
sound.stream.module-stream-restore.id = sink-input-by-media-role:indicator-tone
mce.led_pattern = PatternCommunicationEmail
[email]
sound.profile = email.alert.tone => sound.filename
sound.profile.fallback = email.alert.tone@fallback => sound.filename
#ffmemless.effect = NGF_LONG
sound.stream.event.id = message-new-email
sound.stream.module-stream-restore.id = x-meego-ringing-volume
sound.stream.media.role = notification
sound.stream.droid.device.additional-route = AUDIO_DEVICE_OUT_SPEAKER
mce.led_pattern = PatternCommunicationEmail
sound.enabled.profile = email.alert.enabled => sound.enabled
#haptic.type = alarm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment