> If you launch the chooser from the RIP environment,
> the shortcut will launch the RIP LinuxCNC version
Yes --- but there is no guarantee that the environment
is set as required.

If you 
  1) have a run-in-place build
  2) source the rip-environment script in a shell
  3) then run linuxcnc (with no args) from that shell
     (or any shell with the required rip-enviroment
      settings)
then the config picker will create a desktop icon.  

For example, with a RIP build root directory named
'/home/git/linuxcnc-dev', the desktop file created
(for the axis sim example) will be:

$ cat ~/Desktop/axis.desktop
[Desktop Entry]
Name=LinuxCNC-sim-axis
Exec=/home/git/linuxcnc-dev/scripts/linuxcnc 
'/home/git/linuxcnc-dev/configs/sim/axis/axis.ini'
Type=Application
Comment=
Icon=linuxcncicon

However, startup using this icon does not source the
required rip-environment script.  If you have a deb install
in addition to a RIP build, this might or might not work 
depending upon the version-similarity of the two
configurations.

Knowledgeable linux users (using bash by default) could use
~/.profile or ~.bashrc to set the appropriate run-in-place
environment but there is a great potential for problems if
you have both a deb install and a run-in-place build on the
same machine.

The safest means to run a hand-built LinuxCNC without the
need for separately setting up the environment is to make
and install a deb as documented:

http://linuxcnc.org/docs/devel/html/code/building-linuxcnc.html#_building_debian_packages

ref:
https://forum.linuxcnc.org/27-driver-boards/31881-7i77-5i25-hm2-pci-unloaded?start=40#83286

-- 
Dewey Garrett


------------------------------------------------------------------------------
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to