########################################################################
# X11 Server Environment:

# Set the _NET_WM_NAME,
# used by some application that make too many assumptions (ie: Java)
# To workaround JDK6 window positioning issues, use:
#wm-name = Sawfish
wm-name = Xpra

# Input methods
# To disable input method completely:
#input-method=none
# To keep the environment unchanged:
#input-method=keep
# Other possible options:
#input-method=IBus
#input-method=SCIM
#input-method=uim
# this will use ibus if present:
input-method=auto

# Paint the windows on the xvfb so that
# screen grabs and screen recorders will work
# (repaint delay in milliseconds, 0 to disable)
# sync-xvfb = 200
# sync-xvfb = 50
sync-xvfb = 0

# Fake Xinerama:
#fake-xinerama=no
#fake-xinerama=auto
#fake-xinerama=/path/to/libfakeXinerama.so
fake-xinerama = auto

# Virtual display command:
# - Xvfb option (limited DPI support)
# xvfb = Xvfb -nolisten tcp -noreset \
#        +extension GLX +extension Composite \
#        -auth $XAUTHORITY \
#        -screen 0 8192x4096x24+32
# - Xephyr (requires a running X11 server):
# xvfb = Xephyr -nolisten tcp -noreset \
#        +extension GLX +extension Composite \
#        -auth $XAUTHORITY \
#        -screen 8192x4096x24+32
# - Xdummy (better with DPI patch):
# xvfb = /usr/bin/Xorg -noreset -nolisten tcp \
#        +extension GLX +extension RANDR +extension RENDER \
#        -auth $XAUTHORITY \
#        -logfile ${XPRA_SESSION_DIR}/Xorg.log \
#        -configdir "${XPRA_SESSION_DIR}/xorg.conf.d/$PID" \
#        -config /etc/xpra/xorg.conf
#
# Selecting virtual X server:
xvfb = xpra_Xdummy -noreset -novtswitch -nolisten tcp \
    +extension GLX +extension RANDR +extension RENDER \
    -auth $XAUTHORITY -logfile ${XPRA_SESSION_DIR}/Xorg.log \
    -configdir "${XPRA_SESSION_DIR}/xorg.conf.d/$PID" \
    -config "${XORG_CONFIG_PREFIX}/etc/xpra/xorg.conf"
