You are not logged in.
Hi, In my primary screen i run KDE on native screen resolution of 1280x1024. However, i would like to play some older games (Icewind Dale) on VirtualBOX emulated machine on second screen. The problem is, second screen has the same native resolution, when i need lower one (800x600).
How can i change resolution with xinit?
Currently, my command to run virtual machine is:
xinit /usr/lib/virtualbox/VirtualBox --comment "XPbox" --startvm "c92d685e-2659-4a86-b0e8-64e1e968dd6d" -- :1Last edited by bagheera (2012-06-12 15:47:26)
arch linux user
Offline
`man xrandr`
As to applying what's in the manual, It could all be on one line, but it could quickly become confusing. I'd recommend passing a parameter to xinit (eg "VBox") and have xinitrc as follows:
if [[ $1 == VBox ]]; then
xrandr <parameters to set proper resolution>
VirtualBox <parameters to run your vb session + app>
fi
# other "normal" xinitrc stuff here."UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
That's a very elegant and smart way to run multiple applications. Thanks for tip.
arch linux user
Offline