Sleepbox for Rhythmbox

A good sleep comes with a quite room. Waking up relaxed is easier when an alarm comes in quitely.
These things I've experienced myself and that is why I decided to make Sleepbox, a plugin for the Rhythmbox musicplayer for Gnome, which is the Ubuntu default player.
My own demands where: Fade out at sleeptime, Fadein at waketime, Control it from the web (read: Mobile webbrowser), Execute a command on timer.
The web feature is something I'm still working on. The others are all here!

download the current version (0.6) here (12kb) (as people did before you)


Configuration window The mode options The execute field Menu intergration

Demonstration video

(This demonstration has been recorded using version 0.2)

Instalation instructions:

Open a terminal and execute the following lines:

mkdir -p ~/.local/share/rhythmbox/plugins/Sleepbox
cd ~/.local/share/rhythmbox/plugins/Sleepbox
wget -O Sleepbox.tar.gz
tar -xf Sleepbox.tar.gz
gconftool /apps/rhythmbox/plugins/Sleepbox/active -t bool -s true

Now you will find Sleepbox in your Rhythmbox menu as shown in the demonstrationvideo and screenshots


  • Version 0.6 (2011-07-30)
    • Fixed the execute option.
  • Version 0.5 (2011-05-31)
    • Windowsize reduced, should now fit in common netbook screens and meet the regulations.
  • Version 0.4 (2011-02-02)
    • CPU-load reduced, not super nice though.
    • Fading-out now handles volume correctly when crossfading is enabled.
  • Version 0.3 (2010-12-05)
    • Timehandling is improved to prevent failing Fade-in starts.
  • Version 0.2 (2010-11-25)
    • Fade-in handler is now called by Fade-in starter function, who starts the playback only once.
    • Control by keyboard improved.
  • Version 0.1 (2010-11-24)
    • Initial release.

Known bugs

  • Fade-in keeps starting playback, the pausebutton pauses only untill next fadein-step. (Reported by Youp Mol, on 2010-11-25, in version 0.1) Solved in version 0.2
  • Full, unwanted, CPU usage when plugin is active. (Reported by Peter-Simon D., on 2011-01-11, in version 0.3) Solved in version 0.4
  • Big volume peak at end of fadeOUT, when 'Crossfade'-option is enabled. (Reported by Youp Mol, on 2011-02-01, in version 0.3) Solved in version 0.4
  • Size of the settingswindow is too large for use with netbooks (and not meeting the regulations). (Reported by Leon Asad C., on 2011-05-19, in version 0.4) Solved in version 0.5
  • Instalation instructions are missing (Reported by Barkha T., on 2011-05-27, in version 0.4) See this site. (jump there now)

Feature Requests? Bugs? Comments?: