More debug spew

Lets see what MUTTER_DEBUG=screen-cast says.
This commit is contained in:
Matthias Clasen 2023-05-04 07:32:57 -04:00
parent 03adeecfa3
commit d288931b45
2 changed files with 6 additions and 1 deletions

View File

@ -171,6 +171,9 @@ def mutter_appeared(name):
screen_cast = bus.get('org.gnome.Mutter.ScreenCast',
'/org/gnome/Mutter/ScreenCast')
run_commands()
if verbose:
print ("Done running commands, exiting...")
done = True
def mutter_vanished():

View File

@ -20,7 +20,9 @@ sleep 2
# echo DBUS_SESSION_BUS_ADDRESS=\$DBUS_SESSION_BUS_ADDRESS
# echo WAYLAND_DISPLAY=gtk-test
mutter --headless --no-x11 --wayland-display gtk-test >&mutter.log &
export MUTTER_DEBUG=screen-cast
mutter --headless --no-x11 --wayland-display gtk-test &
mutter_pid=\$!
sleep 2