GladeVCP Info

29 Jul 2012 13:00 - 17 Aug 2012 13:53 #22584 by BigJohnT
For the latest information view the GladeVCP online documentation .

Seems the GladeVCP examples are hidden from the config picker, the simple way to get them copied to your linuxcnc directory to look at them is to do the following in a terminal.
cd linuxcnc
cp -r /usr/share/doc/linuxcnc/examples/sample-configs/gladevcp .

For those of you that find Gtk, Glade and Python a bit intimating I've been working on some tutorials for basic Gtk Glade Python . Hopefully after you work through my tutorials you should have a better understanding of how the communication between your Python program and the Gtk widgets work.

I've just started a GladeVCP tutorial that will get you over the basics.

Last Edit: 17 Aug 2012 13:53 by BigJohnT.
The following user(s) said Thank You: _eric_
30 Sep 2012 08:19 #24725 by gandalf69
Big John,
I'm starting to work through your tutorial on Glade. Part 1a was good but I'm stuck in Part 1b.
Neither I nor Terminal can work out what these are:



#!/usr/bin/env python

The saved file from 1a is

I did have a look at the GladeVCP doc but that says it needs 'Git Checkout' to function.
30 Sep 2012 10:57 - 30 Sep 2012 11:25 #24728 by BigJohnT
Are you getting an error or are you confused about the first paragraph in the Glade tutorial part 1b?

I changed that page up a bit to try and make it easier to understand... I hope.

Last Edit: 30 Sep 2012 11:25 by BigJohnT.
01 Oct 2012 05:52 #24774 by gandalf69
Terminal cannot perform ./ or python because the file doesn't exist (yet)

Set the path to Python - OK, I found a tutorial on how to set Path. Not tried it yet.

A fair knowledge of Unix/Linux by the user seems to be assumed in these Python tutorials.
For example #!

IMO an introductory tutorial should avoid exotic stuff such as Shebang and should show all the entered keystrokes which would then avoid missing things that are obvious to experienced users but not to beginners such as myself.

Most Linux tutorials are very frustrating because they cherry pick the keystrokes to present and leave the user to sort out the rest. Showing all keystrokes would solve most of the frustrations.

I need to set my Mobile Broadband up on my Ubuntu box so I can paste errors. MBB is another can of worms.
01 Oct 2012 10:55 #24778 by BigJohnT
Nowhere in the beginning does the tutorial tell you to enter any commands into the terminal window. I think your reading something into the first part that is not there. My attempt is to explain what the line is to give you a general idea of what is going on. I didn't mention shebang to not add any more confusion to the first line.

Why are you setting the path to python?

On the keystroke part at the bottom I show every keystroke afaik.

In an effort not to clog up this forum with unrelated posts can we move this over to the tutorial feedback forum ?

01 Oct 2012 11:48 #24779 by gandalf69
n an effort not to clog up this forum with unrelated posts can we move this over to the tutorial feedback forum?

Fine by me.
01 Oct 2012 12:08 #24780 by gandalf69
Where is the tutorial feedback forum?
01 Oct 2012 12:17 #24782 by BigJohnT
BigJohnT wrote:

In an effort not to clog up this forum with unrelated posts can we move this over to the tutorial feedback forum ?


The colors of links is so close to normal text it is easy to miss and I usually bold them but I forgot that time.

28 Apr 2013 02:14 #33296 by btvpimill
John, the feedback forum seems to be broken?

I have just finally been going through your tut's and have some feedback.
28 Apr 2013 22:14 #33337 by BigJohnT
All I got over there was spam so I closed it down.

Moderators: mhaberler
Time to create page: 0.370 seconds
Powered by Kunena Forum