Since it will be some time before I can shell out the money for the covered bin I want, I decided to make a stop-gap solution in order to curb the fruit fly problem I've been having. I also set out bait to make an attractive alternative, and since using this trash bin for two weeks, the problem is much less. I might be able to hold out much longer and then be able to make the new bin purchase without feeling like I can't eat! (I'm setting aside pocket change each week until I get to my target goal. Old-school style)
Step 1: Recognizing you have a problem
If you would like to proceed, please gather your supplies:
Handle (mine was from a broken plastic storage box. get creative, you have to drag it with your foot)
Round basket/trashcan thing (punch holes if yours does not already have them. Violence in controlled amounts works well) Needs to have at least two holes on opposite sides of the base.
To begin, take out your current trash. You may also give the bin a clean while at this stage. Punch holes if necessary.
Step 2: Make a cover
Now, in a case of do as I say and not as I did, I must ask you to add a rectangle when cutting your circle. It needs to be about the size of a rested hand. Don't be shy, it's just to use as a fulcrum for moving the lid.
So, just trace your bin, and cut it out, I ended up using one of the cut-off corners as a fulcrum.
Next, fetch your tape, string and handle
Step 3: Rig it up
The other end will remain on the ground tied to a handle.
I hope my pictures do not make it confusing for you. The idea is that when an object on the floor is pulled, the lid opens, and when the object is released, the lid closes.
Step 4: Final bits
A final hack, not pictured, was the discovery and subsequent annoyance by le boyfriend that the coefficient of friction between the bin and the ground is low enough that the force required to move the bin is at time less than the force required to move the lid. Rather than stuffing the bin, it is advisable to tie it to a conveniently placed table leg. This will prevent the bin from moving and have a positive effect on user experience.
Go forth and be classy.