Quote:
PEB wrote:
Is there a way that I can specify the starting size of the application (AbiWord) inside the Amicygnix window?
Also is there an easy way to have the application started maximized?
Thanks!
Some applications do support the "-geometry WidthxHeight+Xpos+Ypos" or the "--geometry=WidthxHeight+Xpos+Ypos" argument. AbiWord and Gnumeric do support it. So you can use this script for AbiWord:
;
; $VER: Start_AbiWord_Standalone.bat 4.1 (25.06.2012) © Edgar Schwan
;
.key VERBOSE/K,DISPLAYNUMBER/K,ARGS/M
.def VERBOSE 0
.def DISPLAYNUMBER -1
.bra {
.ket }
Set PROGPATH "Cygnix:CygnixPPC/bin/abiword"
Set DEF_XDRIVER "picasso96wb"
Set DEF_WINWIDTH "1024"
Set DEF_WINHEIGHT "768"
Set DEF_WINDOWMANAGER "Openbox"
If EXISTS "Cygnix:myX11SetupLight"
Cygnix:myX11SetupLight
If ${DONOTSTART} EQ "YES"
Quit 20
EndIf
Else
Set Cygnix/CYGNIX_SCREEN_MODE ${DEF_XDRIVER}@${DEF_WINWIDTH}x${DEF_WINHEIGHT}x16
Set Cygnix/CYGNIX_DESKTOP_BACKGROUND "none"
Set Cygnix/CYGNIX_WINDOW_MANAGER "Cygnix:CygnixPPC/bin/openbox"
EndIf
Set PROGARGS "--geometry=${DEF_WINWIDTH}x${DEF_WINHEIGHT}+0+0"
; Internal settings
Set LAUNCH_SOUND_SERVER 0
Set LAUNCH_WINDOW_MANAGER 1
Set OPENBOX_RC_FILE "openbox-rc.xml"
Execute Cygnix:S/Execute_Standalone.bat VERBOSE={VERBOSE} DISPLAYNUMBER={DISPLAYNUMBER} {ARGS}
The main AbiWord window ist opened to the selected size of the display.
You can also influence the dimensions of the program window through the window manager (Openbox). But when I try it, all windows of the program are affected, so a file requester window would also be maximized. Have to learn more about window managers