![]() |
2012-12-11
, 16:29
|
Posts: 443 |
Thanked: 282 times |
Joined on Oct 2011
@ Grenoble, France
|
#12
|
OMG! it works ! Thanks thedead1440!really glad to have you in this forum,also,thanks thp for this
![]()
Cheers!
![]() |
2012-12-12
, 08:38
|
Moderator |
Posts: 6,215 |
Thanked: 6,400 times |
Joined on Nov 2011
|
#13
|
#!/bin/sh SERVICE="/opt/cyclotron/bin/switcher" if ps -ae | grep -v grep | grep "$SERVICE" > /dev/null then kill `pgrep -f "$SERVICE"` dbus-send --print-reply --dest=com.meego.core.MNotificationManager /notificationmanager com.meego.core.MNotificationManager.addNotification uint32:0 uint32:0 string:'device' string:'' string:"Cyclotron stopped" string:'' string:"/usr/share/icons/hicolor/80x80/apps/cyclotron.png" uint32:0 else "$SERVICE" & dbus-send --print-reply --dest=com.meego.core.MNotificationManager /notificationmanager com.meego.core.MNotificationManager.addNotification uint32:0 uint32:0 string:'device' string:'' string:"Cyclotron started" string:'' string:"/usr/share/icons/hicolor/80x80/apps/cyclotron.png" uint32:0 fi
![]() |
2012-12-12
, 09:29
|
Posts: 1,336 |
Thanked: 3,932 times |
Joined on Jul 2010
@ Brittany, France
|
#14
|
I understand the above may be very basic for most so please ignore it; I'm just sharing what I managed for my set-up
The Following User Says Thank You to Kabouik For This Useful Post: | ||
![]() |
2012-12-13
, 04:25
|
Posts: 673 |
Thanked: 230 times |
Joined on Oct 2012
@ Mumbai
|
#15
|
![]() |
2012-12-13
, 07:19
|
|
Posts: 368 |
Thanked: 826 times |
Joined on May 2012
@ India
|
#16
|
![]() |
2012-12-13
, 20:46
|
|
Moderator |
Posts: 2,622 |
Thanked: 5,447 times |
Joined on Jan 2010
|
#17
|
![]() |
2012-12-13
, 21:05
|
|
Posts: 6,436 |
Thanked: 12,701 times |
Joined on Nov 2011
@ Ängelholm, Sweden
|
#18
|
![]() |
2012-12-14
, 13:36
|
Posts: 133 |
Thanked: 108 times |
Joined on Mar 2012
|
#19
|
![]() |
2012-12-14
, 15:50
|
Posts: 139 |
Thanked: 176 times |
Joined on Oct 2012
|
#20
|
Edit: Silly idea, activate it when the proximity sensor is closed and the phone tilts, so that closing the proximity sensor and tilting left cycles left etc...
Proud coding competition 2012 winner: ρcam
My other apps: speedcrunch N9 N900 Jolla –– contactlaunch –– timenow
Nemo UX blog: Grog
My website: qwazix.com
My job: oob
Last edited by qwazix; 2012-12-11 at 16:05.