Forums

Topics list

[Tuto] How to install Steam Protocol in Firefox New topic  - Reply
Author Answers
ryousuke Wednesday 7 November 2007 at 13:24 - [Quote]
Rank: Modérateur

Modérateur
Here's a little tutorial in order to execute the steam protocol with Firefox :

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

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

network.protocol-handler.external.steam


Validate -> In the news 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.
nano /usr/bin/steam


Please note that I use here the nano text editor because it's installed on all the distributions, but it's not the easier one to use.
So I recommand to replace "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 launch Steam,
usually it's :
nano ~/.PlayOnLinux/configurations/installed/Steam


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

Copy everything below :
#!/bin/bash

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

( with quotes ) after steam.exe
It gives you :
steam.exe "$@"



7. Execute this command :
chmod +x /usr/bin/steam


In root mode to be able to launch it.

Here, the links like "steam://" should now launch properly.

Source :
http://ubuntuforums.org/showthread.php?t=433548
New topic  - Reply
Il n'y a rien à voir ici