Timeline for How can I change x11 window size programatically?
Current License: CC BY-SA 4.0
10 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Mar 8, 2019 at 19:45 | answer | added | jksoegaard | timeline score: 2 | |
Mar 8, 2019 at 15:02 | comment | added | user3439894 |
You would probably have to write something in Objective-C (or possibly AppleScriptObjC), but basic AppleScript, e.g. tell application "System Events" to get properties of process "XQuartz" returns false for has scripting terminology . So even the most basic command e.g. tell application "XQuartz" to close window 1 returns error "XQuartz got an error: window 1 doesn’t understand the “close” message." number -1708 from window 1
|
|
Mar 8, 2019 at 14:50 | comment | added | tsujp | That explains a lot. How do I go about issuing commands to it? Is there some interface I can use? | |
Mar 8, 2019 at 14:46 | comment | added | user3439894 | XQuartz does not support scripting by AppleScript. | |
Mar 8, 2019 at 14:32 | comment | added | tsujp | @nohillside there are no handles to complete a resize | |
Mar 8, 2019 at 14:30 | comment | added | nohillside♦ | Can you enlarge it manually by dragging the corner? Does the content (the game) resize accordingly if you do? | |
Mar 8, 2019 at 14:23 | comment | added | tsujp |
@nohillside the program in question is launched with wine and then must be resized after launched. It is an oldschool game running at 800x600 and I want to set it to 1600x1200. Editing the registry doesn't work, editing the virtual desktop size in wine doesn't work. It always forces itself back to 800x600 so I want to see if I can force the window size on the host machine, for that I need to resize an already running x11 window so I cannot use -geometry .
|
|
Mar 8, 2019 at 14:15 | comment | added | nohillside♦ |
Can't you just run xterm -geometry 72x35 ... ?
|
|
Mar 8, 2019 at 14:15 | review | First posts | |||
Mar 8, 2019 at 16:16 | |||||
Mar 8, 2019 at 14:11 | history | asked | tsujp | CC BY-SA 4.0 |