{
  "id": "ec4e3f68-9ea4-4c18-a5c9-69f89d1178b3",
  "snapshot": "os",
  "instruction": "Can you remove the first favorite app from 'favorites'?",
  "source": "https://www.youtube.com/watch?v=D4WyNjt_hbQ&t=2s",
  "config": [
    {
      "type": "execute",
      "parameters": {
        "command": "export DBUS_SESSION_BUS_ADDRESS='unix:path=/run/user/1000/bus'\ngsettings set org.gnome.shell favorite-apps \"['thunderbird.desktop']\"",
        "shell": true
      }
    },
    {
      "type": "sleep",
      "parameters": {
        "seconds": 0.5
      }
    },
    {
      "type": "execute",
      "parameters": {
        "command": "export DBUS_SESSION_BUS_ADDRESS='unix:path=/run/user/1000/bus'\ngsettings set org.gnome.shell favorite-apps \"['thunderbird.desktop', 'vim.desktop', 'google-chrome.desktop']\"",
        "shell": true
      }
    },
    {
      "type": "execute",
      "parameters": {
        "command": [
          "python",
          "-c",
          "import pyautogui; import time; pyautogui.click(960, 540); time.sleep(0.5);"
        ]
      }
    }
  ],
  "trajectory": "trajectories/",
  "related_apps": [
    "os"
  ],
  "evaluator": {
    "func": "check_gnome_favorite_apps",
    "result": {
      "type": "vm_command_line",
      "command": "export DBUS_SESSION_BUS_ADDRESS='unix:path=/run/user/1000/bus'\ngsettings get org.gnome.shell favorite-apps",
      "shell": true
    },
    "expected": {
      "type": "rule",
      "rules": {
        "expected": [
          "google-chrome.desktop",
          "thunderbird.desktop"
        ]
      }
    }
  }
}
