sugarlabs / make-them-fall-activity

A multilevel arcade game for Sugar
GNU General Public License v3.0
0 stars 11 forks source link

Testing this activity on sugarizer desktop #37

Open kaurjasleen240305 opened 9 months ago

kaurjasleen240305 commented 9 months ago

When I am trying to setup this activity on sugarizer I am facing the below GTK/GDK error I searched on Internet but unable to find solution @quozl @chimosky could u pls help me with some solution how to correct it Screenshot (953)

quozl commented 9 months ago

Please copy and paste the error text, I'm remote and using text mail.

Please also include the version of Sugar and GTK.

Also, this activity is for Sugar, not Sugarizer.

kaurjasleen240305 commented 9 months ago

(sugar-activity3:10746): Gtk-WARNING **: 10:21:03.008: GtkSocket: only works under X11

(sugar-activity3:10746): Gdk-WARNING **: 10:21:03.013: ../../../../../gdk/x11/gdkwindow-x11.c:5653 drawable is not a native X11 window Segmentation fault Sorry for inconvenience @quozl above is the error Actually @quozl I didn't got your statement for sugar ,not sugarizer

kaurjasleen240305 commented 9 months ago

In contributing guidelines I saw how to start some activity in sugarizer so I was trying to implement the same way that was told so could u correct me @quozl where am I going wrong

quozl commented 9 months ago

The GtkSocket error suggests you are running Wayland rather than X11. Sugar is an X11 desktop environment. You have to choose it from the system login menu, such as lightdm or gdm. Show me a process hierarchy.

Sugarizer is entirely different to Sugar. Sugarizer is a JavaScript app for browsers, tablets, and phones.

chimosky commented 9 months ago

In addition to what Quozl has said, add GDK_BACKEND=x11 when you run the sugar3-activity command if running from Wayland.

Activities were also designed to be run from the sugar activity ring and not from the terminal.