Reply
Thread Tools
Posts: 755 | Thanked: 406 times | Joined on Feb 2008 @ UK
#41
I'm not sure. It's probably being constrained by the fremantle hildon-toolbar in the name of finger-friendliness.
 
munky261's Avatar
Posts: 1,674 | Thanked: 171 times | Joined on Mar 2007 @ Anderson, IN
#42
Ahh..gotcha. Is there any way to override that for just one particular app?
__________________
There is only one Return, and it's not of the King, it's of the Jedi.
 
Posts: 248 | Thanked: 72 times | Joined on Oct 2009
#43
first question. what if you have missed a call, and got an im for example..

could it blink green and red through each other for example? red, off, green, off, red, off etc

furthermore, could someone post a '1-post guide' for an entire n00b with all the steps to change the led notification for calls/ims/sms/emails ? i know i actually should try to figure it all out by myself instead of asking someone this.. but.. asking wont hurt anyone i hope
 
Posts: 248 | Thanked: 72 times | Joined on Oct 2009
#44
cant find an editor for mce.ini.

cant open as root.

i think more people than just me want this?
 
Posts: 755 | Thanked: 406 times | Joined on Feb 2008 @ UK
#45
Originally Posted by munky261 View Post
Ahh..gotcha. Is there any way to override that for just one particular app?
I won't say no, but I haven't seen a way just yet.

Originally Posted by Devil View Post
first question. what if you have missed a call, and got an im for example..

could it blink green and red through each other for example? red, off, green, off, red, off etc
Currently there are only a limited number of led patterns:
Code:
PatternError=0;5;0;r;9d8040007f007f0040ff7f007f000000;9d800000
PatternDeviceOn=254;0;0;rgb;9d804000422043207f100000;9d800000
PatternDeviceSoftOff=253;0;0;rg;9d804000423f433f7f100000;9d800000
PatternPowerOn=9;3;0;rgb;9d80400042ff02ffc000;9d800000
PatternPowerOff=10;3;0;rgb;9d80400001ff43ff7f007f00c000;9d800000
PatternCommunicationCall=30;1;0;b;9d80400002ff03ff02ff03ff71080000;9d800000
PatternCommunicationIM=30;1;0;b;9d80400002ff03ff02ff03ff71080000;9d800000
PatternCommunicationSMS=30;1;0;b;9d80400002ff03ff02ff03ff71080000;9d800000
PatternCommunicationEmail=30;1;0;b;9d80400002ff03ff02ff03ff71080000;9d800000
PatternCommonNotification=30;1;0;b;9d80400002ff03ff02ff03ff71080000;9d800000
PatternWebcamActive=20;1;0;r;9d80400004ffc0000000;9d800000
PatternBatteryCharging=50;4;0;rg;9d804000427f0d7f7f007f0042000000;9d800000
PatternBatteryFull=40;4;0;g;9d80407f0000;9d800000
Adding new patterns to the list would be easy enough - but getting other applications to use them would be more tough.

Originally Posted by Devil View Post
furthermore, could someone post a '1-post guide' for an entire n00b with all the steps to change the led notification for calls/ims/sms/emails ? i know i actually should try to figure it all out by myself instead of asking someone this.. but.. asking wont hurt anyone i hope
I'll see if I can help out shortly - can't guarantee anything today, though.
First off, you'll need to ignore practically everything we've said to Munky - he's using an n810.
 
Posts: 248 | Thanked: 72 times | Joined on Oct 2009
#46
proposing an app for this would be done in brainstorm wouldnt it?
 
Blinde's Avatar
Posts: 102 | Thanked: 26 times | Joined on Jan 2010 @ Finland
#47
Some handyman could really make app for this one.

Or could someone help me how to access that mce.ini file and change those values? What apps do I need?
 

The Following User Says Thank You to Blinde For This Useful Post:
Posts: 33 | Thanked: 19 times | Joined on Dec 2009
#48
To do this you need some stuff that needs disclaimers and warnings all over the place, as stated before, it's should be very easy to brick your device using and changing any of these apps/repositories/files,...

First you need root access on xterminal
You can get this by installing rootsh from extras/devel IIRC. (help on this topic in other treads on this forum!)

Then you need a program to edit the file
I like to use leafpad as I'm used to notepad on windows.
Leafpad is also in one of the extras repositories.

Now for the real work:
Open Xterm
type:
Code:
root
from now on you have root access (notice the # at the end of the current line instead of the $) so don't do stupid things!

For safety measures copy the mce.ini file.
how I go about this is by making a directory in the same one the file is in and then copy the file to that directory. To do that:

Code:
cd /etc/mce/
mkdir MceIniOld
cp mce.ini MceIniOld/mce.ini.old
Now open the file with leafpad
Code:
leafpad /etc/mce/mce.ini
and make the changes you'd like to make. Double check your input before choosing save from the statusbar menu! Close Leafpad.

To get the changes you made they have to be reloaded. Force this with this command in xterm as root:

Code:
killall mce
This way you don't have to restart after every change.

Offtopic:
Have to say I learned all this from trailing this forum and great community, makes my N900 experience one of the best yet in phones as well as computer.

Hint:
Googling "linux commands" can teach allot about how to do things the linux way from xterm. move, rename, list content, the use of flags (eg.: -a) and mutch more.
Some general rules: spaces Capitals and symbols matter!!!
One last disclaimer: All in this post I found out by trial and, thankfully very little, error. I don't have a clue about Linux so don't thake this as the right way to do things!!

Last edited by synca; 2010-01-12 at 23:44.
 

The Following 7 Users Say Thank You to synca For This Useful Post:
Posts: 755 | Thanked: 406 times | Joined on Feb 2008 @ UK
#49
Originally Posted by synca View Post
To get the changes you made they have to be reloaded. Force this with this command in xterm as root:
Code:
killall mce
This way you don't have to restart after every change.
If you kill/stop the mce process more than (rough estimate) 4 times in approx 2 minutes the service doesn't restart.
You're best off using something like
Code:
initctl stop mce; sleep 2; initctl start mce
because it gives feedback - so will tell you if it hasn't been able to start or stop it.

I've also put a guide to the n900 led patterns here in case anyone wants to play around further with colours etc.

Last edited by codeMonkey; 2010-01-13 at 08:29. Reason: fixed link
 

The Following 8 Users Say Thank You to codeMonkey For This Useful Post:
Posts: 755 | Thanked: 406 times | Joined on Feb 2008 @ UK
#50
And a useful script for testing led patterns without having to receive sms/email:

Code:
#!/bin/sh
pattern=PatternCommunicationSMS
dbus-send --system --type=method_call --dest=com.nokia.mce /com/nokia/mce/request com.nokia.mce.request.req_led_pattern_activate string:$pattern
sleep 10
dbus-send --system --type=method_call --dest=com.nokia.mce /com/nokia/mce/request com.nokia.mce.request.req_led_pattern_deactivate string:$pattern
which will activate the sms pattern, let it run for 10 seconds and then deactivate it.
 

The Following 9 Users Say Thank You to codeMonkey For This Useful Post:
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 10:43.