I wanted to partition the "sleeping area" in a room and therefore decided on a frosted glass wall to allow light to pass into the room.
A must here is to use furniture-dried studs and nothing junk from Byggmax, something I noticed after the first attempt. For this wall, I used knot-free furniture-dried pine 2x4. It's important to note that the studs are 1-2 mm longer than the glass, partly due to the installation and also because the wood may move a bit.
The studs are screwed into each other with 8 cm screws, the short side is attached to a stud that is fixed to the wall. This is because the room has a high panel and cables can run freely in the space created.
The lower stud is attached to the bed frame I built earlier. (see this link) http://www.byggahus.se/forum/mobelsnickeri/199972-sangstomme-sa-har-gjorde-jag.html
I didn't want to screw into the floor due to the damage it would cause.
The glass is standard tempered 6mm clear glass split into two parts due to weight and handling. I bought frost film from a local store and frosted it myself, cheaper than buying real frosted glass. On both sides of the glass, there is a 15 mm quarter round where the "inner" molding is positioned 15+6 mm from the edge of the stud, just enough to accommodate the glass and the "outer" quarter round. The molding is corner-cut at the ends and nailed with a finer nail.
Painted and finished wall, I used a regular wooden strip to cover the gap that appeared between the glass pieces, there is surely some slimmer plastic strip intended to place between glass gaps.
Another solution for attaching the glass is to router a 6.5-7 mm wide groove in the studs that the glass fits into, something I didn't do due to the lack of a router during the construction.
It wasn't the cheapest wall but I think it turned out pretty neat and functional. It feels like you're no longer sleeping in the "living room".