Philip, just want to say thanks for the help. I was able to get it going with your help. I still have some issues with putting the file in the /opt directory because of the restrictions but for now I will just keep them under my home directory like you. Thanks again!
I used the visionclientlauncher to create a shortcut for my application and the desktop file looks different from what you have. There are a couple of things which I've noticed.
- the Path line is missing
- there is a "./" between "app/" and "visionclientlauncher.sh"
- there's a "&" floating at then end of the Exec statement.
Does this look right? When I try to launch the application using the shortcut, I get a black spinning ball but the client doesn't open. It launches just fine from the vision client launcher.
[Desktop Entry]
Encoding=UTF-8
Version=1.0
Type=Application
Terminal=false
Icon=/home/ignition/.ignition/clientlauncher-data/images/VisionIcon_edge.png
Name=ProductName
Exec=sh -c '"/usr/share/applications/visionclientlauncher/app/./visionclientlauncher.sh" app.home="/home/ignition/.ignition/clientlauncher-data" application="ProductName" &'
I don't use the shortcuts that are autogenerated. I always modify them to the style for Version=1.1
.
1 Like