Reply
Thread Tools
Hariainm's Avatar
Posts: 485 | Thanked: 708 times | Joined on Feb 2010 @ Galiza
#1181
Originally Posted by ajalkane View Post
Looks like a closed source version of ProfileMatic .
That's exactly what i was thinking :-(
__________________
Adrian Filgueira, @hariainm
 
lorenzo's Avatar
Posts: 491 | Thanked: 299 times | Joined on Jul 2012 @ Pordenone IT
#1182
@ajalkane could you implement in the next version the possibility to have more than one custom action? thanks
 
lorenzo's Avatar
Posts: 491 | Thanked: 299 times | Joined on Jul 2012 @ Pordenone IT
#1183
if someone needs here the scripts to stop and start billboard and calendar notification

Code:
sh -c "echo rootme | devel-su -c '/home/user/scripts/stopapp.sh'"

sh -c "echo rootme | devel-su -c '/home/user/scripts/startapp.sh'"
if you want to add other daemons just add a line

Code:
/sbin/stop apps/appname
/sbin/start apps/appname
EDIT: do chmod 775 before use it
Attached Files
File Type: txt stopapp.txt (129 Bytes, 185 views)
File Type: txt startapp.txt (133 Bytes, 136 views)

Last edited by lorenzo; 2013-03-19 at 18:29.
 

The Following 4 Users Say Thank You to lorenzo For This Useful Post:
Posts: 1,313 | Thanked: 2,977 times | Joined on Jun 2011 @ Finland
#1184
Originally Posted by lorenzo View Post
@ajalkane could you implement in the next version the possibility to have more than one custom action? thanks
I don't understand the need? You can run several actions by putting them into a script or for example sh -c "firstcommand; secondcommand"

if someone needs here the scripts to stop and start billboard and calendar notification
Thank you. I added this to first page's recipes.
__________________
My N9/N950 projects:
 
Posts: 277 | Thanked: 319 times | Joined on Jan 2010
#1185
Originally Posted by Sorrow View Post
Hi, does anybody know how to start music-suite with custom playlist specified?

I tried to run mplayer via custom action, but invoker doesn't show me splash that way and cpu load is high.
AFAIK, it can't be done. I don't think the music-suite takes any command line arguments.

QuasarMX might work.
 
Posts: 1,313 | Thanked: 2,977 times | Joined on Jun 2011 @ Finland
#1186
Originally Posted by Sorrow View Post
Maybe somebody could point me a direction - I want to start music player (alarm) playing a random playlist (I generate it via bash+perl) at a specific time and also displaying a window/splash that I could close when I wake up.
I do not know about playlists - but at least music player can be opened to play sound files by doing for example "xdg-open /path/to/music.mp3".

Maybe the same will work for playlists also?
__________________
My N9/N950 projects:
 

The Following 2 Users Say Thank You to ajalkane For This Useful Post:
Schturman's Avatar
Posts: 5,339 | Thanked: 4,133 times | Joined on Jan 2010 @ Israel
#1187
Ajalkane, can you please increase the custom action window instead one line ? If you write long commands it's not so convenient. Thanks
 

The Following User Says Thank You to Schturman For This Useful Post:
Posts: 13 | Thanked: 20 times | Joined on Apr 2012
#1188
Originally Posted by ajalkane View Post
I do not know about playlists - but at least music player can be opened to play sound files by doing for example "xdg-open /path/to/music.mp3".

Maybe the same will work for playlists also?
It works! I just provide it with .m3u playlist file. Thanks!!
 
Posts: 1,313 | Thanked: 2,977 times | Joined on Jun 2011 @ Finland
#1189
Originally Posted by Schturman View Post
Ajalkane, can you please increase the custom action window instead one line ? If you write long commands it's not so convenient. Thanks
I can try... so it being 2 lines? Or 3? I'm not actually sure what QML allows, since the line can't contain enters.

Of course I might at the same time change the command to always run in shell (then enters would work as well) as that seems to confuse people sometimes as the shell commands do not work. I'll see if I get something working easily as I don't have much time for it at the moment.

And btw. thanks a lot for the donation a while back - the email provided in the donation didn't work, so I thank here in good context .
__________________
My N9/N950 projects:
 

The Following 2 Users Say Thank You to ajalkane For This Useful Post:
Posts: 277 | Thanked: 319 times | Joined on Jan 2010
#1190
Originally Posted by Sorrow View Post
Seems like QuasarMX doesn't accept cmd params.

Maybe somebody could point me a direction - I want to start music player (alarm) playing a random playlist (I generate it via bash+perl) at a specific time and also displaying a window/splash that I could close when I wake up.
Could you please share your script for creating the randomised playlist?
 
Reply


 
Forum Jump


All times are GMT. The time now is 13:12.