GladeVCP Info
29 Jul 2012 13:00 - 17 Aug 2012 13:53 #22584
by BigJohnT
GladeVCP Info was created 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.
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.
John
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.
John
Last edit: 17 Aug 2012 13:53 by BigJohnT.
The following user(s) said Thank You: _eric_
Please Log in or Create an account to join the conversation.
30 Sep 2012 08:19 #24725
by gandalf69
Replied by gandalf69 on topic Re:GladeVCP Info
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:
./tutorial-1.py
python tutorial-1.py
#!/usr/bin/env python
The saved file from 1a is tutorial-1.glade
I did have a look at the GladeVCP doc but that says it needs 'Git Checkout' to function.
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:
./tutorial-1.py
python tutorial-1.py
#!/usr/bin/env python
The saved file from 1a is tutorial-1.glade
I did have a look at the GladeVCP doc but that says it needs 'Git Checkout' to function.
Please Log in or Create an account to join the conversation.
30 Sep 2012 10:57 - 30 Sep 2012 11:25 #24728
by BigJohnT
Replied by BigJohnT on topic Re:GladeVCP Info
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.
John
I changed that page up a bit to try and make it easier to understand... I hope.
John
Last edit: 30 Sep 2012 11:25 by BigJohnT.
Please Log in or Create an account to join the conversation.
01 Oct 2012 05:52 #24774
by gandalf69
Replied by gandalf69 on topic Re:GladeVCP Info
Terminal cannot perform ./tutorial-1.py or python tutorial-1.py 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 #!
en.wikipedia.org/wiki/Shebang_(Unix)
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.
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 #!
en.wikipedia.org/wiki/Shebang_(Unix)
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.
Please Log in or Create an account to join the conversation.
01 Oct 2012 10:55 #24778
by BigJohnT
Replied by BigJohnT on topic Re:GladeVCP Info
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 ?
John
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 ?
John
Please Log in or Create an account to join the conversation.
01 Oct 2012 11:48 #24779
by gandalf69
Replied by gandalf69 on topic Re:GladeVCP Info
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.
Fine by me.
Please Log in or Create an account to join the conversation.
01 Oct 2012 12:08 #24780
by gandalf69
Replied by gandalf69 on topic Re:GladeVCP Info
Where is the tutorial feedback forum?
Please Log in or Create an account to join the conversation.
01 Oct 2012 12:17 #24782
by BigJohnT
Replied by BigJohnT on topic Re:GladeVCP Info
BigJohnT wrote:
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.
John
In an effort not to clog up this forum with unrelated posts can we move this over to the tutorial feedback forum ?
John
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.
John
Please Log in or Create an account to join the conversation.
28 Apr 2013 02:14 #33296
by btvpimill
Replied by btvpimill on topic GladeVCP Info
John, the feedback forum seems to be broken?
I have just finally been going through your tut's and have some feedback.
I have just finally been going through your tut's and have some feedback.
Please Log in or Create an account to join the conversation.
28 Apr 2013 22:14 #33337
by BigJohnT
Replied by BigJohnT on topic GladeVCP Info
All I got over there was spam so I closed it down.
John
John
Please Log in or Create an account to join the conversation.
Moderators: HansU
Time to create page: 0.087 seconds