[Home]CustomizingConfigsOnUbuntu

LinuxCNCKnowledgeBase | RecentChanges | PageIndex | Preferences | LinuxCNC.org

When running emc2 with pre-built packages, the files in /etc/emc2/configs are just samples. You should copy them to your home directory before modifying them. Here's how to do it with the file browser on Ubuntu systems:

From "Places" choose "Computer", then double-click "Filesystem", "etc", "emc2", "sample-configs". You will see a number of sample configurations, with names like "sim", "stepper", "motenc", etc. You can copy any of them to use as the beginning of your customized configuration. You should pick one that is close to what you ultimately need. For instance, if your machine uses stepper motors, you probably should choose the "stepper" configuration. If you are using servos with a Servo-to-Go card, "stg" is for you.

Pick a configuration, right-click it and choose "copy"

From the toolbar, choose "Home". From "File" choose "Create Folder". Enter the name "emc2".

double-click "emc2". From "File" choose "Create Folder". Enter the name "configs".

double click "configs". right-click and choose "paste".

To edit one of the files (e.g., sim.ini), right click it and choose 'Open with "Text Editor"'.

Now, start emc2 through the icon. The config you copied and edited will appear under

    /home/<your name>/emc2/configs


To copy via dragging instead of cut & paste:

From "Places", choose "Home Folder". From "File" choose "Create Folder". Enter the name "emc2".

double-click "emc2". From "File" choose "Create Folder". Enter the name "configs".

double click "configs".

From "Places" choose "Computer", then double-click "Filesystem", "etc", "emc2", "sample-configs". Hold down Ctrl and drag "sim" from this window to the window "configs". If you do not hold down Ctrl, you will get an error that a folder could not be removed (because the user can't make changes to the /etc/emc2/sample-configs folder)


To copy using the unix shell: Open a terminal window, and type

mkdir -p ~/emc2/configs

cp -R /etc/emc2/sample-configs/stepper ~/emc2/configs


LinuxCNCKnowledgeBase | RecentChanges | PageIndex | Preferences | LinuxCNC.org
This page is read-only. Follow the BasicSteps to edit pages. | View other revisions
Last edited April 21, 2006 12:50 pm by Jmkasunich (diff)
Search:
Published under a Creative Commons License