disable dangerous keyboard jogging!

More
2 years 11 months ago #286273 by tightmopedman9
I don't have a num pad on my keyboard, but I can still get unwanted machine jogging if I use the arrow keys, depending on which part of the window I've currently selected. I didn't have unwanted machine movement using 2.8, so what changed in 2.9 and how can it be disabled?

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

More
2 years 11 months ago #286274 by tommylight
Ok, what if you run that script to disable keys when starting LinuxCNC and running the other script to enable the keys when LinuxCNC exits?
That should also be easy to do, if no other program is used while LinuxCNC is running, so editing a gcode in a text editor will not work. :(

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

More
2 years 11 months ago #286295 by tightmopedman9
Unfortunately my skill as a machinist means frequent editing of g-code. Turning the machine off to prevent jogging when using the keyboard is a much preferable solution to having no keyboard at all.

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

More
2 years 11 months ago #286297 by rodw
Seems people have forgotten that how keys are used is part of the GUI. If you don't want the keyboard jogging enabled, use another GUI. 

I think you guys would be right at home with QTdragon as it is touch screen only jogging. Which does annoy me a little bit becasue  the controls are a bit hard to use on my small 15.6 inch monitor. so use of keyboards would be handy.

And I have yet to see people saying they tried my suggestion. It does work!

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

More
2 years 11 months ago - 2 years 11 months ago #286298 by phillc54
AFAIK it is the GUI's that control keyboard shortcuts, not the LCNC core itself.

It is easy to disable keyboard shortcuts in AXIS by putting the following in either a ~/.axisrc file or a USER_COMMAND_FILE.
Code:
for key in root_window.bind():     root_window.unbind(key) root_window.bind_class("all", "<Key-F1>", '')
Last edit: 2 years 11 months ago by phillc54. Reason: remove F1 binding
The following user(s) said Thank You: spumco

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

More
2 years 11 months ago #286299 by spumco
Thanks Phill.

Any idea how to unbind estop-F1?

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

Time to create page: 0.442 seconds
Powered by Kunena Forum