- Posts: 19311
- Thank you received: 4655
make install
10 years 9 months ago #68825
by andypugh
Can a desktop launcher icon thingy set up the rip-environment prior to launching LinuxCNC? I had assumed not and not bothered to try.
Replied by andypugh on topic make install
jepler wrote: Meanwhile, getting clicky items for RIP buils is what "make install-menus" is for; the shortcut-creating feature of the config picker helps out here too
Can a desktop launcher icon thingy set up the rip-environment prior to launching LinuxCNC? I had assumed not and not bothered to try.
Please Log in or Create an account to join the conversation.
10 years 9 months ago - 10 years 9 months ago #68832
by dgarrett
Example is debian jessie xfce
Replied by dgarrett on topic make install
Example:Can a desktop launcher icon thingy set up the rip-environment prior to launching LinuxCNC? I had assumed not and not bothered to try.
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
Last edit: 10 years 9 months ago by dgarrett.
Please Log in or Create an account to join the conversation.
Time to create page: 0.039 seconds