Gscreen - a GTK / Glade / Python based screen

More
12 years 8 months ago #43854 by LAIR82
Since I use a RIP config, do I need to re-compile after I make those changes? I found that section, made the changes and had no effect.

We don't really use the keyboard for anything other than program editing and changing tool "wear" offsets, lots and lots of tool "wear" offset changes.

But, now that I'm in this deep with it, and have seen these internals, if I change the labeling around for those arrow keys in relation to which axis they jog, in the keybindings.py file will it change which axis jogs? Reason I ask is, I have told the operators of the lathes that the keyboard jog doesn't correlate like it should with the z axis using pg up and pg dwn.

Its always something with me,

Thanks

Rick

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

More
12 years 8 months ago #43856 by andypugh
Replied by andypugh on topic Gscreen - a GTK / Glade / Python based screen

LAIR82 wrote: Since I use a RIP config, do I need to re-compile after I make those changes?

No, as Python is interpreted not compiled.
However, you have to make sure that you edited the correct file, you probably have an installed file in /usr/ and a rip file in ~/linuxcnc-dev/
The following user(s) said Thank You: LAIR82

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

More
12 years 8 months ago #43860 by LAIR82
I made the changes to files in the linuxcnc-dev folder.

I will try again and see if maybe I goofed up somewhere,

Do I need to open the file thru the terminal window using sudo?


Rick

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

More
12 years 8 months ago #43864 by cmorley
Replied by cmorley on topic Gscreen - a GTK / Glade / Python based screen
You need to re make so the file is copied over to usr/bin.

Yes changing those entries around will change the key binding.

Please let me know how they want it for a lathe and I'll fix it properly layer.
The following user(s) said Thank You: LAIR82

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

More
12 years 8 months ago #43867 by LAIR82
Works like a champ now in edit mode, Thank You

I have it set now as follows to correlate with a back tool slant bed lathe.

arrow left: Z negative
arrow right: Z positive
arrow up: X positive
arrow down: X negative

Thank You guys again for all of the help

Rick

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

More
12 years 8 months ago #44033 by cmorley
Replied by cmorley on topic Gscreen - a GTK / Glade / Python based screen
Just a heads up - I pushed code to have Gscreen check the preference file for key binding info.
By editing the preference file on can change the the bindings of the default key calls to any other key.

jogging, increments, power and estop are defined.
Not as handy as on screen selection but I'm pressed for time right now.

Lair82: If you update linuxcnc again this is the way to reset your keybindings. The last hack i had you use won't work after that.
You'll recognize the names and they are under the heading [KEYCODES]
They are case sensitive - type them exactly.

Chris M

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

Time to create page: 0.463 seconds
Powered by Kunena Forum