The forum

PlayOnLinux Protocol assignment

Author Replies
Drowz0r Tuesday 15 May 2012 at 19:17
Drowz0rAnonymous

Hello there

I need to assign the PlayOnLinux protocol to PlayOnLinux. Can someone advise on how to do that?

(http://www.playonmac.com/en/commentaires-1043.html) is where it was causing me some problems.

Thanks

Ubuntu 16.04 LTS
8GiB RAM | Intel 3.20 Quad Core CPU
GeForce GTX 750 Ti/PCIe/SSE2 | Dual 4.3 (5:4 res) 19" screens
Drowz0r Tuesday 15 May 2012 at 19:19
Drowz0rAnonymous

I understand another thread said I needed "gconf" installed, but I'm not sure what that is. I see a lot of applications called "gconf".

Ubuntu 16.04 LTS
8GiB RAM | Intel 3.20 Quad Core CPU
GeForce GTX 750 Ti/PCIe/SSE2 | Dual 4.3 (5:4 res) 19" screens
Quentin PÂRIS Tuesday 15 May 2012 at 22:30
Quentin PÂRISAnonymous

gconftool-2 -s /desktop/gnome/url-handlers/playonlinux/command '/usr/bin/playonlinux %s' --type String
gconftool-2 -s /desktop/gnome/url-handlers/playonlinux/enabled --type Boolean true
Drowz0r Tuesday 15 May 2012 at 22:47
Drowz0rAnonymous

Hello

Thanks for your reply. I typed those in but nothing happened. Tried restarting my browser and clicking it again but nothing.

Thanks

Ubuntu 16.04 LTS
8GiB RAM | Intel 3.20 Quad Core CPU
GeForce GTX 750 Ti/PCIe/SSE2 | Dual 4.3 (5:4 res) 19" screens
swizzler Thursday 19 July 2012 at 21:21
swizzlerAnonymous

Same here, the above fix did nothing, still refused to open file with error it was unrecognized. I've confirmed I've got gconftool-2 installed, confirmed there is a playonlinux file in /usr/bin/playonlinux, confirmed i've got the latest version of PoL, and quit out of X and restarted, still get an error clicking the url saying there's no program associated.

found a secondary fix here:
http://kb.mozillazine.org/Register_protocol#Firefox_3.5_and_above

This sends the url to playonlinux, then playonlinux responds with error:

"There is nothing installed to run .php?id=236 files." (the end of url link to the file.)

I then tried copying the source code and saved it onto my computer and ran it as a local script. It complained that the script wasn't signed, because it's just a text file I grabbed off the net.

then after I told it to continue anyway it just closed and didn't run the script at all.

I would rather have another option in PlayOnLinux under the tools option that says something like "download a script via URL" it's simple, it works and it doesn't require buggy dependencies.

I appreciate what you guys have done for the linux gaming community, I'm hoping to be able to switch my main computer over to linux completely and this program is getting me close. thanks!

Edited by swizzler

Quentin PÂRIS Thursday 19 July 2012 at 23:47
Quentin PÂRISAnonymous

Does playonlinux http://url work? If not, it is a regresion of 4.1 version and I have to fix it

Edit: Oh yes I remember now. It is "playonlinux-url-handler" you should run!

Edited by Tinou

swizzler Friday 20 July 2012 at 4:41
swizzlerAnonymous

Ok I did what you said (btw its listed in the bianaries file as "playonlinux-url_handler" missed it several times.)

anyway I ran the command and here was the result:

$ /usr/share/playonlinux/playonlinux-url_handler "playonlinux://www.playonlinux.com/repository/download.php?id=236"
[main] Message: PlayOnLinux (4.1.3) is starting
[clean_tmp] Message: Cleaning temp directory
[POL_GPG_auth_script] Message: Checking signature of /home/sam/.PlayOnLinux//install
[POL_GPG_install_key] Message: Importing PlayOnLinux public key
[POL_Bash] Message: POL GPG : Good signature -
[POL_SetupWindow_Init] Message: Creating new window for pid 30532
Traceback (most recent call last):
  File "wrapper.py", line 85, in <module>
    app = PlayOnLinuxApp(redirect=False)
  File "/usr/lib64/python2.7/site-packages/wx-2.8-gtk2-unicode/wx/_core.py", line 7981, in __init__
    self._BootstrapApp()
  File "/usr/lib64/python2.7/site-packages/wx-2.8-gtk2-unicode/wx/_core.py", line 7555, in _BootstrapApp
    return _core_.PyApp__BootstrapApp(*args, **kwargs)
  File "wrapper.py", line 58, in OnInit
    self.frame = gui.POL_SetupFrame(os.environ["APPLICATION_TITLE"],str(pid_to_open),top,left,str(pid_to_open))
TypeError: __init__() takes exactly 7 arguments (6 given)
The command never popped anything up, tried running it with and without PoL running. It also never quit by itself, I let it run for several hours before Ctrl+C'ing it. Any ideas? Thx for the help btw.

Edited by swizzler

Quentin PÂRIS Friday 20 July 2012 at 17:06
Quentin PÂRISAnonymous

It is a bug. I will fix it in 4.1.4
Quentin PÂRIS Saturday 21 July 2012 at 20:05
Quentin PÂRISAnonymous

Ok, it should be fixed with PlayOnLinux 4.1.4 on GIT
lahtis Wednesday 20 February 2013 at 20:40
lahtis

gconftool-2 -s /desktop/gnome/url-handlers/playonlinux/command '/usr/bin/playonlinux %s' --type String
gconftool-2 -s /desktop/gnome/url-handlers/playonlinux/enabled --type Boolean true

add attributes to about:config firefox
network.protocol-handler.expose.playonlinux -> Value -> false

add a program playonlinux-url_handler


Edited by lahtis


Using Ubuntu 18.04.4 LTS and latest Playonlinux.
My scripts: https://github.com/lahtis/playonlinux
pfadfaog Tuesday 26 March 2013 at 2:49
pfadfaogAnonymous

Hi,

When posting steps, please spell out in more detail what we're supposed to do with the different pieces.  It took me much longer than it needed to for me to figure out what to do with what different programs in order to use your helpful info.  A little more info would've been hugely helpful to this Linux novice.

Thank you for your work.

Edited by pfadfaog

pfadfaog Tuesday 26 March 2013 at 3:09
pfadfaogAnonymous

i have managed to solve problem

Edited by pfadfaog

grodius Thursday 20 March 2014 at 14:54
grodiusAnonymous

Seems to be tough for anyone on these boards to post their solution clearly.

Open the terminal and run:

playonlinux-url_handler http://www.playonmac.com/repository/download.php?id=1059

(whatever your patch url is)

Please note I already had gconftool-2 installed. You may need to download that.

josep_linux Tuesday 20 June 2017 at 16:10
josep_linuxAnonymous

Please assist am having this error when i try to launch the application am running:

 

Opensuse Leap 42.2

64bit.

 

Could not find any application or handler for playonlinux://www.playonlinux.com/repository/download.php?id=2537

This site allows content generated by members, and we promptly remove any content that infringes copyright according to our Terms of Service. To report copyright infringement, please send a notice to dmca-notice@playonlinux.com