Files
openclaw/scripts/dev/computer-use-linux-x11-fixture.py
T
Peter Steinberger abf0ef6513 fix(computer-use): repair artifact verification and post-approval descriptor found by the Linux gate (#124128)
* fix(cua-computer): prove Linux X11 live vertical

* test(computer-use): authenticate isolated Linux rig

* fix(gateway): refresh computer use after node approval

* refactor(cua-computer): resolve the plugin manifest by static import

* fix(gateway): break plugin runtime import cycle

* fix(computer-use): bind live rig to committed helpers
2026-08-15 03:53:23 -07:00

39 lines
981 B
Python

#!/usr/bin/env python3
import argparse
import gi
gi.require_version("Gtk", "3.0")
from gi.repository import Gtk # noqa: E402
def main() -> None:
parser = argparse.ArgumentParser(description="OpenClaw Linux X11 computer-use fixture")
parser.add_argument("--title", required=True)
parser.add_argument("--text", required=True)
args = parser.parse_args()
window = Gtk.Window(title=args.title)
window.set_default_size(520, 180)
window.connect("destroy", Gtk.main_quit)
box = Gtk.Box(orientation=Gtk.Orientation.VERTICAL, spacing=12)
box.set_border_width(24)
label = Gtk.Label(label="Background-edit target")
label.set_xalign(0)
entry = Gtk.Entry()
entry.set_name("Editor")
entry.set_text(args.text)
entry.set_activates_default(False)
box.pack_start(label, False, False, 0)
box.pack_start(entry, False, False, 0)
window.add(box)
window.show_all()
Gtk.main()
if __name__ == "__main__":
main()