so: Portrait
Xephyr :1 -title "L:A_N:application_ID:xephyr_PC:N" -screen 600x800 -cc 4 -dpi 155 &
and Lanscape
Xephyr :1 -title "L:A_N:application_ID:xephyr_O:R_PC:N" -screen 800x600 -cc 4 -dpi 155 &
(you can play with the DPI)
Then call your app like
DISPLAY=:1 myApplication
(I ended up with a Xephyr called Xephyr-5 in one of my builds.. just call Xephyr however it is called.)
To shut it down...
killall Xephyr
Last edited by twobob; 01-05-2013 at 12:14 PM.
|