Hello,
I have a c++ programm that starts a launchfile with exec (same result if i start it with system). It does work fine when starting from the terminal.
However, I would like to have it execute on double click. I created a .desktop file:
[Desktop Entry]
Version=1.0
Name=filename
Comment=File to make filename executable
Exec=/path/to/file
Icon=/path/to/icon.png
Terminal=true
Type=Application
Categories=Applications
But when I start the programm I only get:
Traceback (most recent call last):
File "/opt/ros/kinetic/bin/roslaunch", line 34, in
import roslaunch
ImportError: No module named roslaunch
↧