The forum

How can I create desktop- and application menu shortcut?

Author Replies
Toadfield Sunday 17 January 2021 at 1:12

I wanna create shortcuts.

booman Friday 22 January 2021 at 20:27

Creating Shortcuts is pretty simple with a bash script.


  • Open a text editor like Gedit
  • On the first like type:  #!/bin/sh
  • On the second line type cd and the path to the game folder:  cd /home/toadfield/mygames/game/
  • Save it on your Desktop with the name of the game and sh:
  • Test it by opening the Terminal:  Ctrl+Alt+T
  • Drag-n-Drop the you created into the terminal
  • Press Enter
  • Now the game should run or you will get errors in the output


If you see "no such file or directory" check your path.  It has to be exact spelling and no spaces.  Or you can use quotes for folder with spaces.  


Here is an example I use for a native tank game:

cd "/home/booman/GOG Games/Zero Ballistics"
export LD_LIBRARY_PATH={$LD_LIBRARY_PATH}:./shared_libs


Edited by booman

† Booman †
Mint 20.2 64-bit | Nvidia 470 | GeForce GTX 1060
Linux for Beginners | List of Linux Games | My Games
PlayOnLinux Guides | PlayOnLinux Explained
Toadfield Saturday 23 January 2021 at 18:42

I don't wanna create a script,I wanna do it in PlayOnLinux itself