Here's what you're working toward. It looks a lot like the IKEA version, if you ask us. Take note: see that pencil line? We drew that once we found the stud in the wall and it was our measure of how high we wanted the desk to be. Just read below, it'll make sense!
A piece of metal carpet trim with the perfect bend already in it. You will need a piece twice the length of your object (one length for the wall, one for the piece). You can cut this with a hacksaw or nippers (the holes are already drilled in it). Next, find the perfect position on the wall to hang your object.