Run PlayOnLinux shortcut with Lutris

Goal:

Installed a program with PlayOnLinux, but want to run it via lutris.

Step 1:

Open PlayOnLinux, and select the desired program. In the sidebar, select “create a shortcut”.
A .desktop shortcut file will be created in your desktop

Step 2:

Open the .desktop file as text. Find the Exec entry and copy it.
e.g. Exec=/usr/share/playonlinux/playonlinux --run "PlantsVsZombies" %F

Step 3:

Open lutris, and select the linux runner. Click the plus icon on the top left. (Add game)
A dialog opens. Runner should be “Linux (runs native games)”

Write the name in the dialog. Open the “Game options” tab.

Write the first component of the Exec entry in the Executable field.
i.e. /usr/share/playonlinux/playonlinux in our example.

Write the second component of the Exec entry in the Arguments field. (remove any %F at the end.
i.e. --run "PlantsVsZombies" in our example

Click “Save” at the bottom right of the dialog box.

Step 4:

Double click the created lutris entry, and it should run without issues (assuming it was running via PlayOnLinux already)