You are here > Les forums > Your creations. > [Tuto] How to install Steam Protocol in Firefox sv ru pl es fr

Forums

[Tuto] How to install Steam Protocol in Firefox

New topic  - Reply
Author Replies
ryousuke Wednesday 7 November 2007 at 13:24 - [Quote]
Membre

Membre
Here's a little tutorial in order to run the Steam protocol with Firefox:

1. In Firefox, enter in the address bar: about:config

2. A list of options appears, right-click and select: New -> Boolean
Enter the name:

network.protocol-handler.external.steam


Validate -> In the new window, select True then validate.

3. Again right-click, New -> String
Enter the name:

network.protocol-handler.app.steam


Validate, in the new window enter the value:

steam



4. Final right-click: New -> Boolean
Enter the name:

network.protocol-handler.warn-external.steam


Validate and this time select False.


5. The following command must be used in root mode.

Console:

nano /usr/bin/steam


Please note that I use the nano text editor here because it's installed on all distributions, but it's not the easiest to use.
So I recommend replacing "nano" by your favorite text editor (vim, gedit, kate, ...)

In this file, enter:

#!/bin/sh
#
# Steam wrapper script
#



6. We must now find the command that launches Steam,
usually it's:

Console:

nano ~/.PlayOnLinux/configurations/installed/Steam


(modify the path if PoL is not installed in the default directory)

Copy everything below:
#!/bin/bash

And paste it in the file you just created.
Add:
"$@"

(includint the quotes) after steam.exe
Which results in:
steam.exe "$@"



7. Run this command:

Console:

chmod +x /usr/bin/steam


In root mode to be able to launch it.

Now links like "steam://" should launch properly.

Source:
http://ubuntuforums.org/showthread.php?t=433548

Edited by Salvatos

Il n'y a rien à voir ici