The file Destop/python-games.desktop has a link that is hard coded to point to the Pi user folder structure. If a new user is created and the child folders copied over from the Pi user, then that link needs to be edited. A portable solution would be to replace that line with one that gets the current user and inserts it into the file path structure. Unfortunaely, ".desktop" files do not allow the parsing of environment variables. Fortunately, a shell command can overcome that shortcoming. A proposed and tested solution is below:
The file Destop/python-games.desktop has a link that is hard coded to point to the Pi user folder structure. If a new user is created and the child folders copied over from the Pi user, then that link needs to be edited. A portable solution would be to replace that line with one that gets the current user and inserts it into the file path structure. Unfortunaely, ".desktop" files do not allow the parsing of environment variables. Fortunately, a shell command can overcome that shortcoming. A proposed and tested solution is below:
Exec=sh -c $HOME/python_games/launcher.sh