![]() |
2012-12-19
, 08:52
|
Posts: 1,313 |
Thanked: 2,978 times |
Joined on Jun 2011
@ Finland
|
#972
|
This work around helps me to use the wifi-ssid at work as condition to switch the gsm-modem of, as long as I am at work.
Hope it will help someone else.
![]() |
2012-12-19
, 09:43
|
Posts: 594 |
Thanked: 1,094 times |
Joined on Aug 2012
@ Rhine
|
#973
|
Using the standard flight mode switch from profilematic always switched the wlan off at the same time. So I cannot use the WLAN condition to trigger it, because the WLAN connection is lost if the rule hits and the rule kills its own contition and ist deactivated next. But today I found a way to switch off the gsm modem only, using custom action and a dbus command, documented at:
http://wiki.maemo.org/User:Jebba/DBUS
![]() |
2012-12-19
, 13:06
|
Posts: 204 |
Thanked: 443 times |
Joined on Jul 2012
@ Germany - Potsdam
|
#974
|
Exactly the same problem with PSM, i'd love to trigger PSM by WLAN-condition, but sadly found nothing about it, reading the linked page.
Any idea anyone?
The Following User Says Thank You to meemorph For This Useful Post: | ||
![]() |
2012-12-20
, 23:14
|
Posts: 77 |
Thanked: 27 times |
Joined on Nov 2011
|
#975
|
![]() |
2012-12-21
, 01:27
|
Posts: 594 |
Thanked: 1,094 times |
Joined on Aug 2012
@ Rhine
|
#976
|
you should use gconftool-2 for that:
activate:
gconftool-2 -s -t bool /system/osso/dsm/energymanagement/force_power_saving true
deactivate:
gconftool-2 -s -t bool /system/osso/dsm/energymanagement/force_power_saving false
check status:
gconftool-2 -g /system/osso/dsm/energymanagement/force_power_saving
![]() |
2012-12-21
, 05:17
|
Posts: 1,313 |
Thanked: 2,978 times |
Joined on Jun 2011
@ Finland
|
#977
|
can anyone help me figure out how to run an app based on timing? i know it should be simple but i haven't figured it out
i essentially want the IPRadio app to start up (along with BT) when I drive in the morning so the car can connect and start enjoying some music
any help is appreciated
The Following User Says Thank You to ajalkane For This Useful Post: | ||
![]() |
2012-12-22
, 12:45
|
Posts: 277 |
Thanked: 319 times |
Joined on Jan 2010
|
#978
|
killall app1 app2 app3
xdg-open /usr/share/applications/toggleBT_harmattan.desktop
#!/bin/sh xdg-open /usr/share/applications/music-suite.desktop xdg-open /usr/share/applications/meegotouchhome-incar_harmattan.desktop
#!/bin/sh killall meegotouchhome-incar drive-qml music-suite xdg-open /usr/share/applications/toggleBT_harmattan.desktop
![]() |
2012-12-22
, 13:59
|
Posts: 1,313 |
Thanked: 2,978 times |
Joined on Jun 2011
@ Finland
|
#979
|
That's it! No more annoying popups and reliable automatic connecting to my BT device.
![]() |
2012-12-22
, 14:10
|
Posts: 277 |
Thanked: 319 times |
Joined on Jan 2010
|
#980
|
Thanks, I have added this to the recipes list. Just one question, so there is no popup at all with the NFC tag when you wrote this to it? If so, have you found any other tags that do not display the popup?
I like that Profilematic very much an use it to put my phone at work to flight mode, because of very weak gsm signal level, what drains the battery.
Using the standard flight mode switch from profilematic always switched the wlan off at the same time. So I cannot use the WLAN condition to trigger it, because the WLAN connection is lost if the rule hits and the rule kills its own contition and ist deactivated next. But today I found a way to switch off the gsm modem only, using custom action and a dbus command, documented at:
http://wiki.maemo.org/User:Jebba/DBUS
Instead of the standard flight mode I am now using the custom action for activation:
dbus-send --system --type=method_call --dest=com.nokia.phone.SSC /com/nokia/phone/SSC com.nokia.phone.SSC.set_radio boolean:false
to switch off the gsm-modem and obtain the wifi connection
on deactivation:
dbus-send --system --type=method_call --dest=com.nokia.phone.SSC /com/nokia/phone/SSC com.nokia.phone.SSC.set_radio boolean:true
to switch the gsm-modem on again, if the wifi connection at work ist lost.
This work around helps me to use the wifi-ssid at work as condition to switch the gsm-modem of, as long as I am at work.
Hope it will help someone else.