Ask Your Question

tales of pirates

asked 2013-12-09 08:17:41 -0600

Inry gravatar image

updated 2013-12-17 11:25:42 -0600

I want to run the Windows game "Tales of pirates online" from my desktop. The secret is I have to run the file pirates/system/Game.exe with parameter startgame and current directory have to be the pirates/

I tried '/usr/win/Tales of Pirates II/system/Game.exe' startgame "/usr/win/Tales of Pirates II/system/Game.exe" startgame /usr/win/Tales\ of\ Pirates\ II/system/Game.exe startgame wine '/usr/win/Tales of Pirates II/system/Game.exe' startgame

  • nothing works (the icon jumps for some time then stops). How to debug desktop shortcuts? But if I start these commands from Xterm, all is ok.
edit retag flag offensive close merge delete


I presume you're using Gnome, not Xfce as I do. However, you should be able to configure the shortcut to run in a terminal, so that you can see the output.

sideburns gravatar imagesideburns ( 2013-12-09 15:13:24 -0600 )edit

2 Answers

Sort by ยป oldest newest most voted

answered 2013-12-10 10:53:40 -0600

cobra gravatar image

updated 2013-12-10 10:56:49 -0600

If you can get this working from a terminal, you have the hard bit done.

You should try putting together a short bash script, this should look something like this:

cd <your game directory>
<the command line you used in the terminal to launch the app>

Then point your desktop shortcut at that file. The file could be saved anywhere, but you probably want to save it in the same directory as your game.

One word of warning, if you're using wine to launch this application, or any other Linux program or tool, you might want to put the command's full path in the <the command line...> line.

Another note, you might have to mark the script as executable too - do chmod ug+x <script filename> to do this.

edit flag offensive delete link more

answered 2013-12-17 11:23:24 -0600

Inry gravatar image

Thanks, solved. I have to edit desktop shortcut manually, because of spaces in path. batch file:

==/usr/win/Tales of Pirates II/top==


wine ./system/Game.exe startgame


desktop shortcut:

==~/.local/share/applications/top== [Desktop Entry]




Exec="/usr/win/Tales of Pirates II/top"

GenericName[ru]=Tales of Pirates

GenericName=Tales of Pirates


Icon=/usr/win/Tales of Pirates II/107_1_32x32x24.png




Path="/usr/win/Tales of Pirates II/"




edit flag offensive delete link more

Question Tools


Asked: 2013-12-09 08:17:41 -0600

Seen: 510 times

Last updated: Dec 17 '13