I have a weird bug that only happens when I start clion from the icon. Clicking on the icon I get: ImportError: No module named catkin.environment_cache
in the cmake window. When I start clion from the console like I usually do I don't get this error, I get no error at all. I assume it has something to do with the environment variables that are different depending on the way I start it.
I checked jetbrains-clion.desktop and it launches the same binary with the same options I do when starting it from the command line.
Is there a way to set the same environment variables for a .desktop file, as if the command was run from a terminal?
terminal=true
askubuntu.com/questions/299052/…Path=
directive within the .desktop file. Please provide the content od this file.Exec
line of the desktop file you can use something likeExec=xterm ... -e program-name %f
where...
are various options andprogram-name
is the name of the program you want to start. Maybe you have to installxterm
or use another terminal program.