View Single Post
somebody's Avatar
Posts: 128 | Thanked: 487 times | Joined on Oct 2010 @ Novosibirsk, Russia
#463
Oh, yes, I'm still sleepy
Create a script file (e.g. start_someplayer.sh) in /home/user directory:

Code:
#!/bin/sh
someplayer &
sleep 20 
dbus-send --type=method_call --dest=ru.somebody.someplayer / ru.somebody.someplayer.toggle
then add permissions to execute:
Code:
$ chmod +x /home/user/start_someplayer.sh
then add this command to alarmd (or try to invoke this in terminal):
Code:
/home/user/start_someplayer.sh
__________________
Donate for SomePlayer