View Single Post
peterleinchen's Avatar
Posts: 4,118 | Thanked: 8,901 times | Joined on Aug 2010 @ Ruhrgebiet, Germany
#17
On N900 it would be possible for sure to get that script automatically run each time you end a call (I am sure that triggers the re-activation of prox sensor).
For that you would need something like this:
Code:
# This file was generated by dbus-scripts-settings
# If you edit it by hand you might confuse the program,
# and you might lose your changes next time the program runs.

#:call_start
#/opt/scripts/call_start.sh * * com.nokia.mce.signal sig_call_state_ind active normal

#:call_end
#/opt/scripts/call_end.sh * * com.nokia.mce.signal sig_call_state_ind none normal
put in /etc/dbus-scripts.d

I have no idea if something like this exists on N9 and cannot check as I do not have it with me atm.

--
ofc dbus exists on N9
but cannot remember about dbus-scripts (and dbus-scripts-settings)
__________________
SIM-Switcher, automated SIM switching with a Double (Dual) SIM adapter
--
Thank you all for voting me into the Community Council 2014-2016!

Please consider your membership / supporting Maemo e.V. and help to spread this by following/copying this link to your TMO signature:
[MC eV] Maemo Community eV membership application, http://talk.maemo.org/showthread.php?t=94257

editsignature, http://talk.maemo.org/profile.php?do=editsignature

Last edited by peterleinchen; 2015-03-13 at 12:48.