Version von POL launcher vom Do, 11/07/2013 - 17:35

Durch die Versionierung lassen sich die Unterschiede zwischen verschiedenen Versionen eines Beitrags verfolgen.

Back to referring page

Notice: This page is a part of my personal profile page, and may be moved or deleted without prior notice.

To create a handy PlayOnLinux desktop launcher, that can be used to execute MS Windows/Woe binaries inside the POL Wine environment (simply by dragging-and-dropping them to the launcher), without the need to setup the applications using the GUI first, create the following two files within their respective folders, with the contents listed below:

Pre-requisites

  1. At least one Wine version must be installed through PlayOnLinux wine versions manager (the latest stable version is recommended)
  2. File ~/.PlayOnLinux/wineprefix/default/playonlinux.cfg must exist, and contain the VERSION variable, linking to one of the already installed POL_Wine versions

~/.PlayOnLinux/shortcuts/default

#!/bin/sh
source $PLAYONLINUX/lib/sources
export WINEPREFIX=/home/user/.PlayOnLinux/wineprefix/default
cd "${@%/*}"
POL_Wine "$@"

~/Desktop/playonlinux.desktop

[Desktop Entry]
Type=Application
Name=PlayOnLinux
Exec=playonlinux --run default $@
Icon=playonlinux

To be able to configure the default virtual drive within the PlayOnLinux configuration window, you also need to create a symlink to it with

cd ~/.PlayOnLinux/wineprefix;ln -s default configure

This trick was tested, and proved to be working on Trisquel 4.1 32-bit. Further improvements will follow later.

Versionen

11/07/2013 - 17:35
mYself