Hello

you can get a special newer, but not newest glade-3 installed

please see:

https://www.forum.linuxcnc.org/48-gladevcp/33309-glade-3-20-will-not-work-with-linuxcnc-please-follow-this-for-3-8-6?start=10

do NOT do sudo apt-get upgrade unless you can prevent linuxcnc from getting trashed

and skip the install of linuxcnc, I assume you have that already

THEN

you need to follow the thread and do the file copies

"""

if that is also OK, we need to copy the hal widget glade catalog to the correct place.
backup the originals first
in the terminal enter:

sudo mkdir -p /usr/local/share/glade3/backup/catalogs
sudo mkdir -p /usr/local/share/glade3/backup/pixmaps
sudo cp /usr/local/share/glade3/catalogs/* 
/usr/local/share/glade3/backup/catalogs
sudo cp -r /usr/local/share/glade3/pixmaps/* 
/usr/local/share/glade3/backup/pixmaps


now copy/add the missing files to that dir with the following terminal commands

sudo cp ~/linuxcnc-dev/lib/python/gladevcp/*.xml 
/usr/local/share/glade3/catalogs
sudo cp ~/linuxcnc-dev/lib/python/gladevcp/*.png /usr/local/share/glade3/pixmaps
"""
adapt as needed, if you are using an installed Linuxcnc ( like from an iso ) vs 
a RIP (run in place.
I just did this onan orange pi plus 2e running buster.

hth TomP


On 10/18/21 8:50 PM, Mark Wendt wrote:
On Mon, Oct 18, 2021 at 9:33 AM Viesturs Lācis <[email protected]>
wrote:

Hello!

I want to create a VCP and embed it as a tab in Axis as there are just
too many things to include so it will take up too much space. So far I
always managed to get things done with PYVCP panels, but they cannot
be created as separate tabs, so I have to start learning Glade.

I have fresh install of Debian Buster with LinuxCNC 2.8.0

I did install Glade-gtk2 package (and some dependencies). Now if I run
in terminal "sudo apt-get install glade-gtk2", then I receive
"glade-gtk2 is already the newest version (3.8.6-1)"

But I cannot get that app to work. Even if I try "glade-gtk2
--version", I receive "bash: glade-gtk2: command not found"

What am I missing here?

Viesturs

The PATH or $PATH to the glade executable?  Or maybe it's just glade and
not glade-gtk2?  Do a "which glade" on the command line and see what it
returns.

Mark

_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to