diff options
-rw-r--r-- | units/graphics/jobs.pxu | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/units/graphics/jobs.pxu b/units/graphics/jobs.pxu index d67af9e..435a628 100644 --- a/units/graphics/jobs.pxu +++ b/units/graphics/jobs.pxu @@ -225,7 +225,12 @@ depends: graphics/VESA_drivers_not_in_use command: # shellcheck disable=SC1091 source graphics_env.sh {driver} {index} - xrandr_cycle.py --screenshot-dir "$PLAINBOX_SESSION_SHARE" + if [[ $XDG_SESSION_TYPE == "wayland" ]] + then + gnome_randr_cycle.py --screenshot-dir="$PLAINBOX_SESSION_SHARE" + else + xrandr_cycle.py --screenshot-dir="$PLAINBOX_SESSION_SHARE" + fi estimated_duration: 250.000 _summary: Test resolution cycling for {vendor} {product} _description: |