maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N900 (https://talk.maemo.org/forumdisplay.php?f=44)
-   -   change number of sms vibrations? (https://talk.maemo.org/showthread.php?t=58505)

stew-b 2010-07-15 10:37

change number of sms vibrations?
 
when my n900(nearly called it a phone then lol) is on silent and i recieve an sms it vibrates twice,sounds silly but i would would like to change this to one vibration and a little shorter,is this possible?
thanks

MohammadAG 2010-07-15 10:49

Re: change number of sms vibrations?
 
Edit /etc/mce/mce.ini
Go to the last part of the file, you could replace the Pattern for SMS with the pattern for emails or chat messages which is only 1 vibration that is shorter.

stew-b 2010-07-15 10:51

Re: change number of sms vibrations?
 
not had much playing with editing stuff,could you give me a bit more information possibly?
i managed to follow the noob instructions for adding a reboot button so....
thanks :)

MohammadAG 2010-07-15 11:00

Re: change number of sms vibrations?
 
Open app manager and install leafpad* and rootsh, or you could use ssh with WinSCP.
Open terminal and type root, then leafpad /etc/mce/mce.ini
Scroll down to the bottom of the file, you'll see something like this
Code:

PatternIncomingCall=1;3;0;0;30;970;0;1000;180
PatternIncomingMessage=3;3;2;2;30;470;0;500;154
PatternPowerKeyPress=5;5;1;1;0;16;0;16;128
PatternTouchscreen=10;3;0;1;16;10;15;50;255
PatternChatAndEmail=4;3;1;1;30;360;0;100;154

PatternIncomingMessage is the one for SMSs, edit that as you wish, if you want the same vibration as ChatAndEmail then copy the values for that into PatternIncomingMessage, i.e change from
PatternIncomingMessage=3;3;2;2;30;470;0;500;154
to
PatternIncomingMessage=4;3;1;1;30;360;0;100;154
Save, exit, then
Code:

stop mce; sleep 1; start mce
* You can use any editor for this

AlMehdi 2010-07-15 11:13

Re: change number of sms vibrations?
 
Quote:

Originally Posted by MohammadAG (Post 752633)
Open app manager and install leafpad* and rootsh, or you could use ssh with WinSCP.
Open terminal and type root, then leafpad /etc/mce/mce.ini
Scroll down to the bottom of the file, you'll see something like this
Code:

PatternIncomingCall=1;3;0;0;30;970;0;1000;180
PatternIncomingMessage=3;3;2;2;30;470;0;500;154
PatternPowerKeyPress=5;5;1;1;0;16;0;16;128
PatternTouchscreen=10;3;0;1;16;10;15;50;255
PatternChatAndEmail=4;3;1;1;30;360;0;100;154

PatternIncomingMessage is the one for SMSs, edit that as you wish, if you want the same vibration as ChatAndEmail then copy the values for that into PatternIncomingMessage, i.e change from
PatternIncomingMessage=3;3;2;2;30;470;0;500;154
to
PatternIncomingMessage=4;3;1;1;30;360;0;100;154
Save, exit, then
Code:

stop mce; sleep 1; start mce
* You can use any editor for this

Wouldn't that change the volume and stuff too? I'm not sure but changing 3;3;2;2;30;470;0;500;154 to 3;3;1;1;30;470;0;500;154 might be better? From "2" to "1".

stew-b 2010-07-15 11:25

Re: change number of sms vibrations?
 
ok if i can get to the patterns i can manage that but i fail at your 1st instruction 'type root'...
says root not found... have rootsh and leafpad installed.

AlMehdi 2010-07-15 11:31

Re: change number of sms vibrations?
 
Quote:

Originally Posted by stew-b (Post 752661)
ok if i can get to the patterns i can manage that but i fail at your 1st instruction 'type root'...
says root not found... have rootsh and leafpad installed.

Try "sudo gainroot" instead of root.

You might not have installed the latest Rootsh from devel.

stew-b 2010-07-15 11:40

Re: change number of sms vibrations?
 
ok,got that...it says 'enable RD mode if you want to break your device'?!?!!!

ossipena 2010-07-15 11:45

Re: change number of sms vibrations?
 
Quote:

Originally Posted by stew-b (Post 752679)
ok,got that...it says 'enable RD mode if you want to break your device'?!?!!!

already answered:
Quote:

Originally Posted by AlMehdi (Post 752668)
You might not have installed the latest Rootsh from devel.


stew-b 2010-07-15 11:57

Re: change number of sms vibrations?
 
ok,installed the new rootsh and edited the numbers as shown but not sure how to save and exit? :rolleyes:

teh 2010-07-15 12:02

Re: change number of sms vibrations?
 
Is there a developer out there who could work on an interface to change these like they did for the LEDs? That would make something like this easier for people like stew-b!

stew-b 2010-07-15 12:12

Re: change number of sms vibrations?
 
how do i save and exit leafpad??! pls!

AlMehdi 2010-07-15 12:12

Re: change number of sms vibrations?
 
Quote:

Originally Posted by stew-b (Post 752699)
ok,installed the new rootsh and edited the numbers as shown but not sure how to save and exit? :rolleyes:

I am no sure what you refere to.. To save in leafpad you click the top menu > save.

To restart the process you need to write "stop mce; sleep 1; start mce" in the terminal.

Thats it.

stew-b 2010-07-15 12:16

Re: change number of sms vibrations?
 
sorted,didnt realize there was a drop down menu at the top! thanks,just going to test it now....

stew-b 2010-07-15 12:25

Re: change number of sms vibrations?
 
well it worked in that it only vibrates once,still for a little too long but i think i can live with that :)
thanks guys :)

stew-b 2010-07-15 12:42

Re: change number of sms vibrations?
 
which part of the pattern refers to vibration length??

MohammadAG 2010-07-15 12:42

Re: change number of sms vibrations?
 
Quote:

Originally Posted by stew-b (Post 752727)
well it worked in that it only vibrates once,still for a little too long but i think i can live with that :)
thanks guys :)

Change the 360 value to something like 180, play with it till you find the value you like.
Remember you have to restart mce every time you change the config file, and restarting it too often causes it to stop starting for about 5 minutes :)

stew-b 2010-07-15 12:56

Re: change number of sms vibrations?
 
thanks again,180 is about right :)


All times are GMT. The time now is 02:44.

vBulletin® Version 3.8.8