The Cookie Machine - Click here to drag window

DUMMY TEXT - Real text set in assets/js/theCookieMachine.js

Views: 919     Votes:  5 
Tags: 18.04   bash   python   xdotool   zenity  
Link: 🔍 See Original Answer on Ask Ubuntu 🔗

Title: How to interact with zenity window and type some text inside it?
ID: /2021/05/08/How-to-interact-with-zenity-window-and-type-some-text-inside-it_
Created: May 8, 2021    Edited:  January 8, 2022
Upload: November 24, 2022    Layout:  post
TOC: false    Navigation:  false    Copy to clipboard:  false

Change your file with:


zenity --forms --title="Question" \
   --add-entry="Question" \



zenity --forms --title="Question" \
   --add-entry="Question" \

You are not calling zenity within a python script. You are calling it from a bash/shell command so your shebang (first line) must be #!/bin/bash not #!/usr/bin/python.

⇧ How to improve/fix choppy audio when streaming with pulseaudio? How can I tell which of these video devices is a webcam?  ⇩