When you installed a windows application with emulators/playonbsd you'll see a dialog to create shortcut to this app, but after creation, most of times this shortcut won't work with an "error" warning. To fix it, you need to edit your win app shortcut (*.desktop): - Exec=/usr/local/lib/playonbsd/playonlinux --run "Hitman Blood Money" %F + Exec=/usr/local/lib/playonbsd/playonfreebsd --run "Hitman Blood Money" %F Then you'll need to edit 114 line in /usr/local/lib/playonbsd/playonfreebsd: - exec bash playonlinux-bash "$HOME/.PlayOnLinux/shortcuts/$NAME" "$@" + exec bash playonlinux-bash "$HOME/.PlayOnBSD/shortcuts/$NAME" "$@" Then make playonfreebsd executable sudo chmod +x /usr/local/lib/playonbsd/playonfreebsd After *.desktop shortcut will work fine.
A commit references this bug: Author: se Date: Tue May 10 17:05:34 UTC 2016 New revision: 414947 URL: https://svnweb.freebsd.org/changeset/ports/414947 Log: Fix problem with desktop shortcuts reported by iluxa (at) ex.ua. Upgrade to latest stable version 4.2.10 on that occasion. PR: 209418 Reported by: iluxa (at) ex.ua Approved by: antoine (mentor, implicit) Changes: head/emulators/playonbsd/Makefile head/emulators/playonbsd/distinfo head/emulators/playonbsd/files/patch-lib_scripts.lib head/emulators/playonbsd/files/patch-lib_setupwindow.lib head/emulators/playonbsd/files/patch-lib_variables head/emulators/playonbsd/files/patch-lib_wine.lib head/emulators/playonbsd/files/patch-playonfreebsd head/emulators/playonbsd/files/patch-python_mainwindow.py _U head/emulators/playonbsd/files/playonbsd.sh.in
A commit references this bug: Author: se Date: Tue May 10 17:11:02 UTC 2016 New revision: 414948 URL: https://svnweb.freebsd.org/changeset/ports/414948 Log: In order to make desktop shortcuts work, the playonfreebsd script must be executable. PR: 209418 Submitted by: iluxa (at) ex.ua Approved by: antoine (mentor, implicit) Changes: head/emulators/playonbsd/Makefile
Forgotten to close?
No, this is still in progress. Last time I worked on this, I could not get Wine installed on -CURRENT/amd64 and therefore could not test my attempt to fix the issue. As of now, Wine is available for testing, but my development system is a machine that normally runs headless and I now need to connect a display and then perform tests and probably improve the current (partial) fix. Maintaining and fixing flavor support in portmaster is my current priority, and I'll come back to PlayOnBSD as soon as my spare time permits it (which I hope will be this month, but no guarantees ...).
This port has expired, and no recent activity on related PRs, so removed.