I have one of these on each side of the bed.You can pick one up at the nrastore.com under holsters for $16.95
Maybe not for the bed, but using an IKEA Magnetic Knife Rack ( FINTORP Magnetic knife rack - IKEA ) put in a closet and stick your hang gun on it, Have to try and see how a rifle would hold up to it might need 2 bars.