Sleep Mode for Rhythmbox

Mikkel L. Ellertson mikkel at infinity-ltd.com
Thu Feb 16 15:11:47 UTC 2006


Robert Cahn wrote:
> I have about 3 days of music on my system.  At the end of the day it's
> nice to drift off to Rhythmbox in shuffle mode randomly picking out
> tracks.  What I want is sleep mode like on a clock radio or TV.  The
> music player should play 60 minutes and turn off.  I suppose that
> somehow I can schedule a task to kill it 60 minutes from now if I know
> the PID.  Can anyone walk me through this since I've never used the task
> scheduler?
> 
You could always run something like:

echo rhythmbox --pause | at now + 60 minutes

or

echo killall rhythmbox | at now + 60 minutes

You have to have permission to use at, just like you have
to have permission to run cron jobs. 'man at' for more...

Mikkel
-- 

  Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!




More information about the fedora-list mailing list