how to copy glade3 to glade folder

More
3 years 7 months ago #266435 by my1987toyota
So I decided to run an install to test Debian 12 and Linuxcnc 2.9 on one of my computers.
for the most part everything has gone well. Until installing the Glade editor. Version 3.40.0
it doesn't see the linuxcnc emblems in usr / share / glade3. The standard Glade folder is
their but for some reason I cant copy and paste the emblems from the glade3 folder to
the glade folder. It will copy but the glade folder wont let me paste. My attempt to do
a symlink failed as well saying that I am not the owner and permission is denied.
Is their something else that I am missing?
 

Please Log in to join the conversation.

More
3 years 7 months ago #266459 by cmorley
There is an option in the GLADE editor preference tab to set catalog library paths.

Try that instead.

Please Log in to join the conversation.

More
3 years 7 months ago #266463 by my1987toyota
just tried that but I still can"t find the LCNC widgets in Glade. My efforts to do a symlink and a
permission chmod failed as well . I am sure I am just missing something stupid.

Please Log in to join the conversation.

More
3 years 7 months ago #266531 by phillc54
Both the following options work for me:

1 - from a terminal with Glade NOT opened, run the following:
Code:
sudo cp /usr/share/glade3/catalogs/hal_python.xml /usr/share/glade/catalogs/


2 - open Glade
goto preferences and click + for Extra Catalog and Templates paths
navigate to /usr/share/glade3/catalogs and click Open
close the dialog and close Glade

Open Glade and the LinuxCNC icons should be available.

Warning: Spoiler!


It seems that in python3 systems the Glade catalogs have moved from /usr/share/glade3 to /usr/share/glade. We will probably have to change something in the makefile (providing is doesn't upset Debian Buster configs).
 

Please Log in to join the conversation.

More
3 years 7 months ago #266620 by my1987toyota
Thank you phillc54. I had tried the + extra catalogs already and it didn't work for me.
Thankfully your terminal sudo copy did.

Please Log in to join the conversation.

More
3 years 7 months ago #266621 by HansU

1 - from a terminal with Glade NOT opened, run the following:sudo cp /usr/share/glade3/catalogs/hal_python.xml /usr/share/glade/catalogs/


Doing this gives me a part of the widgets, but those under VCP Actions etc. are missing:
 

Attachment not found



Somewhere later on that VM I just noticed that I have all widgets available, just don't have any clue what caused this:

 

Attachment not found



Adding an Extra Catalog does not have any effect for me.

Please Log in to join the conversation.

More
3 years 7 months ago #266638 by phillc54
That is odd, I have not seen that before...

Please Log in to join the conversation.

More
3 years 7 months ago #266702 by HansU
I figured out the reason.
The odd behavior is caused by Wayland (first picture). Switching to Xorg make those widgets appear magically :D

Please Log in to join the conversation.

More
3 years 7 months ago #266709 by phillc54
It may be worth trying this before opening Glade in Wayland:
Code:
export GDK_BACKEND="x11"

Please Log in to join the conversation.

More
3 years 7 months ago #266728 by HansU
No that didn't solve it

Please Log in to join the conversation.

Time to create page: 0.061 seconds
Powered by Kunena Forum