62 lines
1.7 KiB
JSON
62 lines
1.7 KiB
JSON
{
|
|
"id": "02ce9a50-7af2-47ed-8596-af0c230501f8",
|
|
"snapshot": "libreoffice_writer",
|
|
"instruction": "I am currently utilizing LibreOffice Writer to compose a Linux tutorial, and I intend to display the outcomes generated by executing the \"ls\" command in /home/user. Kindly execute this command and save the screenshot as 'ls.png' on the Desktop.",
|
|
"source": "authors",
|
|
"config": [
|
|
{
|
|
"type": "download",
|
|
"parameters": {
|
|
"files": [
|
|
{
|
|
"url": "https://huggingface.co/datasets/xlangai/ubuntu_osworld_file_cache/resolve/main/multi_apps/02ce9a50-7af2-47ed-8596-af0c230501f8/top-10-linux-commands-for-newbies.docx",
|
|
"path": "/home/user/Desktop/top-10-linux-commands-for-newbies.docx"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"type": "open",
|
|
"parameters": {
|
|
"path": "/home/user/Desktop/top-10-linux-commands-for-newbies.docx"
|
|
}
|
|
},
|
|
{
|
|
"type": "sleep",
|
|
"parameters": {
|
|
"seconds": 2
|
|
}
|
|
},
|
|
{
|
|
"type": "execute",
|
|
"parameters": {
|
|
"command": [
|
|
"python",
|
|
"-c",
|
|
"import pyautogui; import time; pyautogui.hotkey('f11'); time.sleep(0.5); pyautogui.click(960, 540); time.sleep(0.5); pyautogui.scroll(-20)"
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"trajectory": "trajectories/02ce9a50-7af2-47ed-8596-af0c230501f8",
|
|
"related_apps": [
|
|
"libreoffice_writer",
|
|
"os"
|
|
],
|
|
"evaluator": {
|
|
"func": "compare_image_text",
|
|
"result": {
|
|
"type": "vm_file",
|
|
"path": "/home/user/Desktop/ls.png",
|
|
"dest": "ls.png"
|
|
},
|
|
"expected": {
|
|
"type": "rule",
|
|
"rules": {
|
|
"type": "text",
|
|
"text": " Ls"
|
|
}
|
|
}
|
|
},
|
|
"proxy": false
|
|
} |