How-To: QuakeLive in Mozilla Prism (Switching to Chromium)
4 replies, posted
[b]What is Prism?[/b]
[url=http://prism.mozillalabs.com/]Prism[/url] allows you to run "web applications". That's a fancy way of saying it's a browser. It's a really stripped down version of Firefox designed to open specific pages without all the usual bookmarks and navigation junk cluttering up the screen.
[b]Why do I need this?[/b]
QuakeLive only supports Firefox. Not everyone uses Firefox or wants to keep a second full-featured browser around just for one site.
[b]Installing Prism[/b]
On Ubuntu (my distro at the moment), installation is as simple as "sudo apt-get install prism". Most modern distributions should have a package available for Prism, so installation is simple.
[b]Configuring Prism for QuakeLive[/b]
Launch Prism. A config dialog for creating a new web app will appear:
[img]http://img824.imageshack.us/img824/9898/prismconfig.png[/img]
In the URL section, enter "quakelive.com". Note that the way you specify the URL appears to be important. I tried entering the full URL of "http://www.quakelive.com/" initially, only to find that I was unable to log in. My guess is that specifying the "www" subdomain prevented access to "secure.quakelive.com", the domain used by the log-in prompt.
Enter "QuakeLive" in the Name section.
Check the "Show status messages and progress" box. This enables the status bar and is important for installing the QuakeLive plugin.
Check "Desktop" under "Create Shortcuts". Prism won't let you proceed if you don't. You can delete the shortcut after we're done with it.
Choose an icon. I went to Google images and searched for "quakelive logo" and found a nice large png image with a transparent background.
Click OK. The QuakeLive website should open.
[b]Installing the QuakeLive plugin[/b]
First, you will need to download the Firefox QuakeLivePlugin_382.xpi file from quakelive.com. For me, this was as simple as logging into the site with Chromium. It (incorrectly) detected my browser as Firefox and automatically downloaded the file. If this doesn't occur for you, you might have to spoof the user-agent by running Chromium with the "--user-agent=" command-line argument.
We need to make a quick adjustment to the XPI install script so that it's recognized by Prism.
Change the extension from ".xpi" to ".zip" and extract the contents, then open "install.rdf" with the text editor of your choice. Find the part that says
[code]
<em:targetApplication>
<Description>
<em:id>{ec8030f7-c20a-464f-9b0e-13a3a9e97384}</em:id>
<em:minVersion>1.5</em:minVersion>
<em:maxVersion>3.6.*</em:maxVersion>
</Description>
</em:targetApplication>[/code]
and change it to
[code] <em:targetApplication>
<Description>
<em:id>prism@developer.mozilla.org</em:id>
<em:minVersion>0.1.*</em:minVersion>
<em:maxVersion>10.0.*</em:maxVersion>
</Description>
</em:targetApplication>[/code]
Re-zip the file and change the extension back to ".xpi".
Make sure that the QuakeLive desktop icon created by Prism is marked executable (right-click -> properties -> permissions -> execute) and double-click it to launch Prism. Open the add-ons dialog by clicking the gear in the lower-right corner
[img]http://img836.imageshack.us/img836/5186/prismqliveaddons.png[/img]
and drag our modified XPI installer into the dialog.
Upon completing the plugin installation, restart Prism and verify that you can you can play QuakeLive.
[b](Optional) Final adjustments[/b]
We can now disable the status bar that we enabled at the beginning. Locate the QuakeLive webapp folder in "~/.webapps" (Mine is located at "~/.webapp/quakelive@prism.app"). Inside this folder, you will find a config file named "webapp.ini". Open it in a text editor and change the line "status=true" to "status=false". Save and quit.
We can also add the QuakeLive webapp to other launchers and delete the desktop icon. Just copy the command from the desktop icon (right-click -> properties -> basic -> command) and paste it in the command portion of the launcher of your choice. I added this nifty icon to my AWN dock:
[img]http://img840.imageshack.us/img840/4093/prismqliveawnicon.png[/img]
And that's it! :D
gl hf
Awesome guide. Rated artistic.
[editline]10:00PM[/editline]
What's your WM and skin?
It's Gnome with the "Elegant Cold Blue" GTK+ theme. The font is URW Gothic L, and the wallpaper my own modification of a Hack-a-Day wallpaper I found.
That's kind of nifty. It's been a while since I've played Quake Live, but since it's out of beta I should try this out.
quake live actually got worse since beta
Sorry, you need to Log In to post a reply to this thread.