Run G-Code on application shutdown
- robertspark
- Offline
- Platinum Member
Less
More
- Posts: 915
- Thank you received: 216
01 May 2022 13:06 - 01 May 2022 13:18 #241799
by robertspark
Replied by robertspark on topic Run G-Code on application shutdown
its a hidden file in your home directory the dot(.) before it tells you its a hidden file.
if you open up your file / folder viewer, and turn on hidden files you will be able to see all the hidden files in the folder.
if you open the terminal and you type:
ls -a
it will list ALL files, including the hidden files and you can open them with your preferred text editor (I like / use geany, each to their own).
here is the manual / useful info on the file
linuxcnc.org/docs/devel/html/gui/axis.html#sub:axis-axisrc
linuxcnc.org/docs/devel/html/gui/axis.ht..._customization_hints
most people DON'T modify the axisrc file, but instead I believe use the USER_COMMAND file option such as you will see many examples of code on the forum for axis mods
linuxcnc.org/docs/devel/html/gui/axis.html#_user_command_file
like this sort of a thing, that way you dont break axis and can test and undo things + if you have multiple configurations (like I do) the vanilla axis for lathe, mill and router is always the same underneathÂ
forum.linuxcnc.org/21-axis/45365-how-to-...nterface-axis#238007
if you open up your file / folder viewer, and turn on hidden files you will be able to see all the hidden files in the folder.
if you open the terminal and you type:
ls -a
it will list ALL files, including the hidden files and you can open them with your preferred text editor (I like / use geany, each to their own).
here is the manual / useful info on the file
linuxcnc.org/docs/devel/html/gui/axis.html#sub:axis-axisrc
linuxcnc.org/docs/devel/html/gui/axis.ht..._customization_hints
most people DON'T modify the axisrc file, but instead I believe use the USER_COMMAND file option such as you will see many examples of code on the forum for axis mods
linuxcnc.org/docs/devel/html/gui/axis.html#_user_command_file
like this sort of a thing, that way you dont break axis and can test and undo things + if you have multiple configurations (like I do) the vanilla axis for lathe, mill and router is always the same underneathÂ
forum.linuxcnc.org/21-axis/45365-how-to-...nterface-axis#238007
Last edit: 01 May 2022 13:18 by robertspark.
Please Log in or Create an account to join the conversation.
02 May 2022 15:38 #241855
by mgm
Replied by mgm on topic Run G-Code on application shutdown
Thanks for the tip or the explanation
but unfortunately I can not find the file ".axisrc"
then someone show me the exact path?
but unfortunately I can not find the file ".axisrc"
then someone show me the exact path?
Please Log in or Create an account to join the conversation.
02 May 2022 17:29 #241859
by mgm
Replied by mgm on topic Run G-Code on application shutdown
I have now found it !
Please Log in or Create an account to join the conversation.
Time to create page: 0.079 seconds