Can a desktop launcher icon thingy set up the rip-environment prior to launching LinuxCNC? I had assumed not and not bothered to try.
Example:
Code:
# /tmp/rip.sh -- put it wherever you want
# (don't use /tmp, a conventional directory would be ~/bin/)
$ cat /tmp/rip.sh
#!/bin/bash
cd /home/git/linuxcnc-dev ;# use appropriate RIP directory name
source scripts/rip-environment
xterm -e linuxcnc &
Code:
$ chmod 755 /tmp/rip.sh ;# make it executable
Code:
$ cat ~/Desktop/rip.desktop
[Desktop Entry]
Version=1.0
Type=Application
Name=RIP
Comment=
# /tmp/rip.sh is example, put rip.sh wherever you want
Exec=/tmp/rip.sh
Icon=
Path=
Terminal=false
StartupNotify=false
Example is debian jessie xfce