Can I specify which directory it starts at to Open a file?
- dannym
- Offline
- Elite Member
Less
More
- Posts: 212
- Thank you received: 1
22 May 2022 12:44 #243557
by dannym
Can I specify which directory it starts at to Open a file? was created by dannym
Right now any time you hit Open to load a gcode file, it starts from the LinuxCNC install directory, and you need to drop several levels on the tree and then up one to media/username and whatever USB drive is inserted. It's very repetitive. Can I specify to start there instead?
I'm using AXIS.
I'm using AXIS.
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19478
- Thank you received: 6530
22 May 2022 19:16 #243570
by tommylight
Replied by tommylight on topic Can I specify which directory it starts at to Open a file?
In the .ini file, section "display" enter this
OPEN_FILE = name of the file
File must be in the config folder, or a full path to it must be entered.
OPEN_FILE = name of the file
File must be in the config folder, or a full path to it must be entered.
Please Log in or Create an account to join the conversation.
- FariaAl
- Offline
- New Member
Less
More
- Posts: 16
- Thank you received: 8
22 May 2022 22:09 #243579
by FariaAl
Replied by FariaAl on topic Can I specify which directory it starts at to Open a file?
in my case this works for me:
in the .ini file, section "DISPLAY", add
PROGRAM_PREFIX = home/USER/Projects_Gcode
change "USER" to match your machine.
in the .ini file, section "DISPLAY", add
PROGRAM_PREFIX = home/USER/Projects_Gcode
change "USER" to match your machine.
Please Log in or Create an account to join the conversation.
- BigJohnT
- Offline
- Administrator
Less
More
- Posts: 7000
- Thank you received: 1172
23 May 2022 11:45 #243606
by BigJohnT
Replied by BigJohnT on topic Can I specify which directory it starts at to Open a file?
In the {DISPLAY] section you can use ~/ shortcut to the users home directory.
PROGRAM_PREFIX = ~/Desktop
JT
PROGRAM_PREFIX = ~/Desktop
JT
Please Log in or Create an account to join the conversation.
- dannym
- Offline
- Elite Member
Less
More
- Posts: 212
- Thank you received: 1
25 May 2022 16:24 - 25 May 2022 23:19 #243812
by dannym
Replied by dannym on topic Can I specify which directory it starts at to Open a file?
PROGRAM_PREFIX= did it, thanks!
Last edit: 25 May 2022 23:19 by dannym.
Please Log in or Create an account to join the conversation.
Time to create page: 0.057 seconds