Installing Games in Steam
Posted by Jason on January 6, 2009
I recently noticed Wine had updated (1.1.12), so I thought I might check it out. There was a free Peggle Extreme game offered as one of the promotions as I logged into Steam, so I thought I would check it out.
Read this posting because you end up with a free game at the end! :)
First attempt
However, clicking on an “Install button” doesn’t work, because pop-ups are disabled. If you launch Steam from the console and get text output, you’ll notice something like:
shdocvw:HlinkFrame_Navigate Not supported HLNF_OPENINNEWWINDOW
everytime you click on a button that would raise a pop-up.
There is a work around though; it is a bit complicated, but here’s how it goes:
Check it
If you just navigate to the same page to install at steampowered.com from Firefox normally (in Ubuntu, not in Wine) and click on the install button, you’ll see something like this:
View source on this page so you can get the Steam URL:
Now, you can just launch Steam using this information!
wine /home/jason/.wine/drive_c/Program\ Files/Steam/Steam.exe steam://run/3483 &
Now, Steam should launch and install the desired title!
Peggle is a pretty cool casual game, so give this one a look it’s like pachinko sort of.
Now, let’s hope Valve hurries up with that native version of Steam we’ve been hearing about!
2 Responses to “Installing Games in Steam”
Sorry, the comment form is closed at this time.




Phil Wilson said
Awesome. I had not been able to work this out at all, thanks!
Kevin said
Thanks sooo much,
I have created a friendly Bash script to start Steam with the requited perimeters.
#!/bin/bash
url=$(zenity --entry --text "Enter Steam game URL" --title "Add Steam Game")
if [ $? = 0 ]
then echo "Adding game."
else {
zenity --info --text "Program aborted by user." --title "Add Steam Game"
}
exit 0
fi
wine "c:\\Program Files\\Steam\\Steam.exe" "$url"