I recently setup Steam within wine to enjoy hl2 again. All is good except when I notice Trackmania Forever on the main Steam page as a free download. Try as I might the little clicky install thingy wouldn’t do its job.
Having a sniff around, I came across this, comment #2. http://bugs.winehq.org/show_bug.cgi?id=15263
Basically from your browser of choice goto http://store.steampowered.com/
Navigate to the game your after, click on the purchase/install link and that should open up a small popup window asking whether or not you have steam installed. Right click anywhere within that window and choose “view page source”.
Now your after a chunk of code that looks something like this:
<td width="260" height="115" align="center" class="gotSteam_yes" onmouseover="this.className='gotSteam_yes_ovr';" onmouseout="this.className='gotSteam_yes';" onclick="opener.location.href='steam://run/11020'; window.close();" >Yes, I already have<br>Steam installed! </td>
The bit that we find interesting is this, “opener.location.href=’steam://run/11020′;
Open that location through wine as noted within the original comment or through Playonlinux like this
playonlinux --run Steam steam://run/11020
Worked great for me, hopefully in the future steam links will work with WINE