Reply
Thread Tools Search this Thread
Schturman's Avatar
Posts: 3,449 | Thanked: 2,289 times | Joined on Jan 2010 @ Israel
#61
Originally Posted by thedead1440 View Post
Could you also please check on the reverse? First gconf value change then mcetool
it will take time 2-3 days for one and 2-3 days for another one
__________________
Lausanne & Lyon de descente...
----------------
Schturman home page

N9 QuickTweak - If you like my work, you can donate here
. Thanks!
 

The Following User Says Thank You to Schturman For This Useful Post:
Posts: 195 | Thanked: 128 times | Joined on Sep 2012 @ Trento, Italy
#62
I installed the new version 1.0.1-1 but the message still appears..
 
Moderator | Posts: 5,844 | Thanked: 5,291 times | Joined on Nov 2011
#63
Originally Posted by Lucazz990 View Post
I installed the new version 1.0.1-1 but the message still appears..
Does it prompt every now and then or only once? Also I think Wazapp requests for the connection so if you are going to toggle wlan might as well keep Wazapp closed
 
Moderator | Posts: 5,844 | Thanked: 5,291 times | Joined on Nov 2011
#64
Btw, saw someone else on bibek's thread asking for it so:

mcetool --disable-radio=cellular puts the phone in tablet mode i.e. disable cellular radio but keeps wlan enabled...
 

The Following 2 Users Say Thank You to thedead1440 For This Useful Post:
MK99's Avatar
Posts: 401 | Thanked: 265 times | Joined on Jul 2012 @ Finland
#65
Thanks, it's beter flight-mode.
Code:
#!/bin/sh

STATUS=$(/sbin/mcetool --status | grep -v grep | grep Cellular | awk '{print $2}' | head -1)
if [ $STATUS == "enabled" ]
then
       sed -i 's/OFF/ON/' /home/user/.local/share/applications/toggle_flight.desktop
	dbus-send --print-reply --dest=com.meego.core.MNotificationManager /notificationmanager com.meego.core.MNotificationManager.addNotification uint32:0 uint32:0 string:'device' string:'' string:"Flightmode ON" string:'' string:"/home/user/.local/share/icons/hicolor/apps/flightON.png" uint32:0
	/sbin/mcetool --disable-radio=cellular
else
       sed -i 's/ON/OFF/' /home/user/.local/share/applications/toggle_flight.desktop
	dbus-send --print-reply --dest=com.meego.core.MNotificationManager /notificationmanager com.meego.core.MNotificationManager.addNotification uint32:0 uint32:0 string:'device' string:'' string:"Flightmode OFF" string:'' string:"/home/user/.local/share/icons/hicolor/apps/flightOFF.png" uint32:0
	/sbin/mcetool --enable-radio=cellular
fi
http://db.tt/nlRHm5v5

Last edited by MK99; 01-23-2013 at 04:41 PM.
 
Posts: 195 | Thanked: 128 times | Joined on Sep 2012 @ Trento, Italy
#66
Originally Posted by thedead1440 View Post
Does it prompt every now and then or only once? Also I think Wazapp requests for the connection so if you are going to toggle wlan might as well keep Wazapp closed
It comes one time when i push the toggle i'll do that, also because when if i keep wazapp open with no connection the phone gets really warm and the battery drains faster so it's better in every way
 
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

 
Forum Jump


All times are GMT -4. The time now is 02:19 PM.