- Posts: 16
- Thank you received: 0
LinuxCNC startup script
9 years 10 months ago #83983
by LukeH
LinuxCNC startup script was created 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
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 to join the conversation.
9 years 10 months ago #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
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 to join the conversation.
9 years 10 months ago #84032
by andypugh
I had trouble making that work. (maybe because I didn't quote the path to the config. But
will open the last config chosen from the picker, and that is working fine for me. (letter lower-case L not number 1)
Replied by andypugh on topic LinuxCNC startup script
jtc wrote:
Code:/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
Code:
linuxcnc -l
Please Log in to join the conversation.
Time to create page: 0.094 seconds
