Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- shadowm@nanacore:~% cat bin/run-xephyr
- #!/bin/sh
- die() { echo $*; exit 1; }
- if [ -z $DISPLAY ]; then
- die "DISPLAY is not set."
- fi
- NESTED_DISPLAY=:1.0
- XRES=1152 # 1280 * 0.9
- YRES=720 # 800 * 0.9
- Xephyr $NESTED_DISPLAY -host-cursor -screen ${XRES}x${YRES}x32 -dpi 96 $@
Advertisement
Add Comment
Please, Sign In to add comment