{ "id": "3ce045a0-877b-42aa-8d2c-b4a863336ab8", "snapshot": "os", "instruction": "My glasses are broken, and I'm having trouble seeing small things clearly. Could you help me enlarge the text on my screen so it's easier to read?", "source": "https://help.ubuntu.com/lts/ubuntu-help/a11y-font-size.html.en", "trajectory": "trajectories/", "config": [ { "type": "execute", "parameters": { "command": [ "python", "-c", "import pyautogui; import time; pyautogui.click(960, 540); time.sleep(0.5);" ] } } ], "related_apps": [ "os" ], "evaluator": { "func": "check_include_exclude", "result": { "type": "vm_command_line", "command": "LARGE_TEXT=$(gsettings get org.gnome.desktop.interface text-scaling-factor 2>/dev/null | grep -E '1\\.[2-9]|[2-9]\\.' | wc -l) && ZOOM_ENABLED=$(gsettings get org.gnome.desktop.a11y.applications screen-magnifier-enabled 2>/dev/null | grep -c true) && ZOOM_FACTOR=$(gsettings get org.gnome.desktop.a11y.magnifier mag-factor 2>/dev/null | grep -E '[2-9]\\.|1\\.[1-9]' | wc -l) && if [ \"$LARGE_TEXT\" -gt 0 ]; then echo \"Large text enabled\"; elif [ \"$ZOOM_ENABLED\" -gt 0 ] && [ \"$ZOOM_FACTOR\" -gt 0 ]; then echo \"Zoom enabled with magnification\"; else echo \"No enlargement enabled\"; fi", "shell": true }, "expected": { "type": "rule", "rules": { "include": [ "Large text enabled", "Zoom enabled with magnification" ], "exclude": [ "No enlargement enabled", "error" ] } } }, "proxy": false }