Posted November 16, 2022
I'm trying to create a desktop shortcut to launch Divinity Original Sin 2 using wine.
This command:
env WINEPREFIX=$HOME/games/dos2/ wine "$HOME/games/dos2/drive_c/dos2/DefEd/bin/EoCApp.exe" --skip-launcher
works from the commandline to run the game fine.
But that same command entered into the program field of a Plasma desktop shortcut fails to launch the game. However if I go to advanced options and check "Run in terminal" it will work.
Any ideas what is going on?
UPDATE: I found the issue. When I edited the desktop file I saw the
Exec= entry has single quotes wrapping it which seemed to cause the problem. I believe the way it should be done is
when editing the shortcut set the program as just env
Then put everything else in the Arguments field. That seemed to work.
This command:
env WINEPREFIX=$HOME/games/dos2/ wine "$HOME/games/dos2/drive_c/dos2/DefEd/bin/EoCApp.exe" --skip-launcher
works from the commandline to run the game fine.
But that same command entered into the program field of a Plasma desktop shortcut fails to launch the game. However if I go to advanced options and check "Run in terminal" it will work.
Any ideas what is going on?
UPDATE: I found the issue. When I edited the desktop file I saw the
Exec= entry has single quotes wrapping it which seemed to cause the problem. I believe the way it should be done is
when editing the shortcut set the program as just env
Then put everything else in the Arguments field. That seemed to work.
Post edited November 16, 2022 by EverNightX