D
Deleted member 48958
Guest
When you installed a windows application with playonbsd-4.2.8 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.
(But you can successfully launch this app from PlayOnBSD window.)

To fix it, you need to edit your app icon first, open it with your editor
Then you'll need to edit 114 line in /usr/local/lib/playonbsd/playonfreebsd:
Then make playonfreebsd executable
After your app should start fine with *.desktop shortcut.
Note, after each intsllation you need to edit an icon by hand,
and if PlayOnBSD will be reinstalled, you'll need to edit /usr/local/lib/playonbsd/playonfreebsd again.
but after creation, most of times this shortcut won't work with an "error" warning.
(But you can successfully launch this app from PlayOnBSD window.)

To fix it, you need to edit your app icon first, open it with your editor
Code:
- Exec=/usr/local/lib/playonbsd/playonlinux --run "Hitman Blood Money" %F
+ Exec=/usr/local/lib/playonbsd/playonfreebsd --run "Hitman Blood Money" %F
Code:
- exec bash playonlinux-bash "$HOME/.PlayOnLinux/shortcuts/$NAME" "$@"
+ exec bash playonlinux-bash "$HOME/.PlayOnBSD/shortcuts/$NAME" "$@"
sudo chmod +x /usr/local/lib/playonbsd/playonfreebsd
After your app should start fine with *.desktop shortcut.
Note, after each intsllation you need to edit an icon by hand,
and if PlayOnBSD will be reinstalled, you'll need to edit /usr/local/lib/playonbsd/playonfreebsd again.
Last edited by a moderator: