LinuxCNC startup script
- LukeH
- Offline
- New Member
-
Less
More
- Posts: 16
- Thank you received: 3
12 Dec 2016 21:09 #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 or Create an account to join the conversation.
- jtc
-
- Offline
- Elite Member
-
Less
More
- Posts: 229
- Thank you received: 13
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
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.
- andypugh
-
- Offline
- Moderator
-
Less
More
- Posts: 23271
- Thank you received: 4928
13 Dec 2016 13:34 - 13 Dec 2016 13:36 #84032
by andypugh
I had trouble making that work. (maybe because I didn't quote the path to the config. Butwill 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
/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
Last edit: 13 Dec 2016 13:36 by andypugh.
Please Log in or Create an account to join the conversation.
- LukeH
- Offline
- New Member
-
Less
More
- Posts: 16
- Thank you received: 3
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.082 seconds