Fora

[Patch for PlayOnLinux] Add/Remove Programs Menu

Autor Odpowiedzi
Fincer Tuesday 24 February 2015 at 21:11
FincerAnonymous

Patch for including "Add/Remove Programs" launcher to PlayOnLinux program-specific right-click menu.

Screenshot:
http://postimg.org/image/i6snlsz93/

Reason for the patch: Easier configuration of individual program components for PlayOnLinux wineprefixes. Handy especially in situations where a single program is wanted to be removed but it's not listed on PlayOnLinux programs list. At the moment, these situations force a user to use terminal commands such as

WINEPREFIX=$HOME/.PlayOnLinux/wineprefix/myprefix/ wine uninstaller

which are troublesome for daily usage and advanced program management.

Patch code (for PlayOnLinux 4.2.5):

http://pastebin.com/pMNs9ySu

PlayOnLinux must be compiled with the patch code above in order to enable Add/Remove Programs Menu functionality.

P.S. Admins, if there is a more valid or official way to send these program patches, please let me know.

petch Tuesday 24 February 2015 at 22:26
petch

Hi,

You don't need to use terminal commands for that, you can go

Configure button > (select virtual drive) > Wine tab > Uninstal button

It's quite unlikely that this feature will be better integrated in the interface, as the original way and still the recommanded way to uninstall software with PlayOnLinux is to remove its virtual drive, it has the benefit of being very reliable ;)

About the best way to submit patches, the sources are available on Github at

https://github.com/PlayOnLinux/POL-POM-4

where you can submit changes as Push Requests.

Regards

Fincer Wednesday 25 February 2015 at 1:27
FincerAnonymous

Never noticed that uninstaller lurking in there. Anyway. Okay, so this function exists already on PlayOnLinux, it's just bit hidden.

However, I still like the right-click option but there is probably more sophisticated way to adapt it.

Thank you petch!

enssso Friday 31 March 2017 at 0:23
ensssoAnonymous

Hi guys!

petch, I try submit a new patch for playonlinux4 with push request, but I has access denied.

$ git push origin virtual-desktop-fullscreen
Username for 'https://github.com': enssso
Password for 'https://enssso@github.com':
remote: Permission to PlayOnLinux/POL-POM-4.git denied to enssso.
fatal: unable to access 'https://github.com/PlayOnLinux/POL-POM-4.git/': The requested URL returned error: 403

What's wrong? What did I do wrong?

plata Thursday 20 April 2017 at 13:31
plata

You cannot push to that repository directly. You have to fork and then create a pull request for your fork.

 

See:

https://help.github.com/articles/fork-a-repo/

https://help.github.com/articles/creating-a-pull-request/

 

However, PlayOnLinux 4 is not really in active development anymore due to the upcoming version 5. So I'm not sure if the patch will ever be released.

Edytowane przez plata