The Following User Says Thank You to Schturman For This Useful Post: | ||
|
2013-01-22
, 19:43
|
Posts: 335 |
Thanked: 285 times |
Joined on Sep 2012
@ Trento, Italy
|
#62
|
|
2013-01-23
, 16:04
|
Moderator |
Posts: 6,215 |
Thanked: 6,400 times |
Joined on Nov 2011
|
#63
|
|
2013-01-23
, 16:15
|
Moderator |
Posts: 6,215 |
Thanked: 6,400 times |
Joined on Nov 2011
|
#64
|
|
2013-01-23
, 17:55
|
|
Posts: 644 |
Thanked: 480 times |
Joined on Jul 2012
@ Finland
|
#65
|
#!/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
|
2013-01-23
, 22:20
|
Posts: 335 |
Thanked: 285 times |
Joined on Sep 2012
@ Trento, Italy
|
#66
|
Lausanne & Lyon de descente...
----------------
Schturman's home page
Schturman's repo on openrepos
RPM packaging directly on your Jolla phone.
Root & User SSH access to Jolla via WinSCP.
Root and User SSH access to Jolla via Nautilus on Linux PC.