Yesterday, a guy from docu team ask me for help executing YaST Firstboot in an specific resolution.
Well, I'm trying to make screenshots of the SAP wizard. (...) , so I only need to log in with
ssh
and execute/usr/lib/YaST2/startup/YaST2.Firstboot
. That works so far.However, the script doesn't allow me to change the screen/window size. I need my screenshots in 800x600. Unfortunately, the script doesn't know the -g/--geometry option that is known in YaST.
Any hints? 🙂
Looking at the YaST2.Firstboot
script, it is using the YaST2.call which includes the content of Y2_UI_ARGS
env variable in the command to execute.
So, the window size of YaST Firstboot can be changed using Y2_UI_ARGS="-geometry widthxheigh"
Y2_UI_ARGS="-geometry 800x600" /usr/lib/YaST2/startup/YaST2.Firstboot