My Notes

Welcome to my blog! This is a relatively new section in my website. Here's my latest post.

Use Linux/Desktop as a baby rocker

This lazy Ubuntu geek used his desktop the correct way - as a baby rocker. Here's how it works. The CD drive is attached to the cradle, and opens and closes periodically, thus rocking the cradle.

What you need:

  1. Desktop with working CD drive running Linux
  2. This shell script baby_rocker.sh
    while [1 = 1] do      
    
        #eject cdrom
        eject
    
        #pull cdrom tray back in      
        eject -t
    
    done
    
  3. Run the script from the terminal.
  4. Posted on October 2009

    All Posts