answered
2014-03-23 00:24:59 +0200
Here’s a workaround, requiring Terminal.
Make backups of the settings files before editing them!
First, define a new vibration effect NGF_NONE
by editing /usr/share/ngfd/plugins.d/ffmemless.ini
.
On this line:
supported_effects = NGF_SHORT;NGF_LONG;NGF_STRONG;NGF_BATTERYLOW;NGF_RINGTONE;NGF_CLOCK;NGF_SMS
add NGF_NONE
to the list, separated by a semicolon:
supported_effects = NGF_NONE;NGF_SHORT;NGF_LONG;NGF_STRONG;NGF_BATTERYLOW;NGF_RINGTONE;NGF_CLOCK;NGF_SMS
Effects are defined later in the same file, like this:
NGF_SHORT_TYPE = rumble
NGF_SHORT_DURATION = 240
NGF_SHORT_DELAY = 0
NGF_SHORT_MAGNITUDE = 27000
Insert a new definition with the others:
NGF_NONE_TYPE = periodic
NGF_NONE_DURATION = 1
NGF_NONE_MAGNITUDE = 1
Second, select the newly defined effect for email by editing /usr/share/ngfd/events.d/email.ini
.
Replace each of these lines:
ffmemless.effect = NGF_SHORT
ffmemless.effect = NGF_LONG
with
ffmemless.effect = NGF_NONE
Reboot your phone. Now email notifications won't vibrate.
Notes:
- I did this by defining a new non-effect, because just deleting the
ffmemless.effect
lines in email.ini
didn't work. - Duration and magnitude are set as 1, because with values of 0 there still was a quick vibration.
You still would like to receive notifications in events view, or is this request to disable notifications entirely ?
VDVsx ( 2014-02-05 17:54:45 +0200 )editI did not look into it (have my Jolla not at hand), but there should be a pattern for each notification. On the N900 there were patterns for missed call, received email, received SMS, received chat message, battery loading, battery full, etc. So each can be adjusted individually and each pattern had a priority - e.g. incoming SMS is more important than "battery full - remove charger".
codeboss ( 2014-02-05 17:59:39 +0200 )editEvents view notifications are very welcome but I'd love to have control for vibration and sounds per notification type. Having couple of busy email boxes means that the device is buzzing all the time. Sound control is already there so maybe this could be implemented easily.
m-m ( 2014-02-05 20:32:33 +0200 )editlike I said - LED and vibration patterns are in /etc/mce. Until there is a GUI available, editing those files there is an option.
codeboss ( 2014-02-05 20:36:37 +0200 )editThanks, this thread seems like a good place to start: http://talk.maemo.org/showthread.php?t=42091
m-m ( 2014-02-06 09:39:54 +0200 )edit