Hot glue seems to be the prevailing opinion
here. I'm using a piece of black electrical tape to hold the emitter in place on my Motorola DCT6412 cable box. All my equipment is in the closet of a second bedroom, so it's not like I need to worry how it looks. Whatever you can find to keep the sucker on there. :-P