LinuxCNC startup script

More
12 Dec 2016 21:09 #83983 by LukeH
Hi

Does anyone know how to get LinuxCNC to run a startup script at logon?

Ive installed from the image so my system is debian. I've created a script to remap keyboard keys using xkb as per a guide online but it's doesn't run automatically. I've tried numerous methods to get the script to work including putting the script in;

/etc/X11/Xsession.d/

Which should automatically be sourced and run but it doesn't.

I've also tried adding the script path to the initrc file as well as the /etc/X11/Xsession script that should be run at logon.

Any help would be appreciated.

Luke

Please Log in or Create an account to join the conversation.

More
12 Dec 2016 22:17 #84000 by jtc
Replied by jtc on topic LinuxCNC startup script
Applications menu => Settings => Session and Startup => Aplication autostart => add

on command place the linuxcnc laucher, something like

/usr/bin/linuxcnc '/home/jtc/linuxcnc/configs/sim.axis.gladevcp/gladevcp_panel.ini'


I tested it now and worked.


João

Please Log in or Create an account to join the conversation.

More
13 Dec 2016 13:34 - 13 Dec 2016 13:36 #84032 by andypugh
Replied by andypugh on topic LinuxCNC startup script

/usr/bin/linuxcnc '/home/jtc/linuxcnc/configs/sim.axis.gladevcp/gladevcp_panel.ini'


I had trouble making that work. (maybe because I didn't quote the path to the config. But
linuxcnc -l
will open the last config chosen from the picker, and that is working fine for me. (letter lower-case L not number 1)
Last edit: 13 Dec 2016 13:36 by andypugh.

Please Log in or Create an account to join the conversation.

More
15 Dec 2016 14:45 #84168 by LukeH
Replied by LukeH on topic LinuxCNC startup script
Thanks for the suggestions. I will give these a go when I get a chance and report back.

Please Log in or Create an account to join the conversation.

Time to create page: 0.063 seconds
Powered by Kunena Forum