1DOLLY 82APPLICATION x11-desktop3REQUIRES HOST runtime@04REQUIRES HOST display@05REQUIRES HOST input@06REQUIRES HOST snapshot@07REQUIRES HOST audio@08REQUIRES HOST touch@09REQUIRES HOST sockets@010REQUIRES HOST pty@011REQUIRES HOST packages@012REQUIRES HOST nena@01314# An X session on Dolly's display: the Xsdl server, twm managing the15# windows, and three of X's own clients in theirs: a clock, eyes that follow16# the pointer and a terminal with a shell, where imgui-x11 starts Dear ImGui's17# example in a window of its own.18INSTALL /Dollyfile-core f92e986b840d0d46883b4a8d6eee8082aebd56f944f318083bda74cfe3e86b1019INSTALL /Dollyfile-posix bd721815ffc3d3b9d887f57c3260749cb1db05ed2fe3f46a38b37e00ee66391b20INSTALL /Dollyfile-display a03812d93e51c6338e43063f954fb9492ee0535f94a39e5c377d504a3d9eedb821INSTALL /demos/x11/Dollyfile-xorg-server 8c11ffc7d15af149b73ebf9167d1ee96b651f6123a81a0ff976c34a3b3fea35c22INSTALL /demos/x11/Dollyfile-twm 7ea5cb5c41affb48cb5f5ca1d687ab1868bf6932947aff0280d677dc53cd3a3623INSTALL /demos/x11/Dollyfile-xclock 3eac370368242bc5081b5db3cfdf9b744b3077eb9a03dc43782bc3d3c2b039f224INSTALL /demos/x11/Dollyfile-xeyes 521369cbd0b488814cfe0c39d9c7b4fbc0fbf1a997f5ffe9a3fbb4e12d69f4f325INSTALL /demos/x11/Dollyfile-xterm 4aef5844b975dc6f9e102c0f6a35b97601bfbeb8cb0b98d839f20ebb7cd3d27126# amy installs packages into the session (tmux, nvim and the rest); nena27# enables the host modules they need.28INSTALL /Dollyfile-amy 95b7ecb251d9d5c3d28eb8aaa63b6bd2a465fac35756bdf95b520884a61547e429INSTALL /Dollyfile-nena 67a37d644a04e3eddd12fe2e5d335dcf473b1b549337f0a9ce2f445f00b91ad830INSTALL /demos/sdl2/Dollyfile-imgui-x11 efcdeb402ff04d2142becce0e785316579d29541069c5ebb7cf34f1dd079bcfe3132# The server takes the display, the keyboard and the pointer until it ends33# (kill $(cat /tmp/.X0-pid) in the terminal); its clients end with it, and34# this shell's terminal is back.35FILE /etc/dolly/init.slop36    export DISPLAY=:037    Xsdl :0 -screen 1600x900 -nolock -dumbSched -s 0 &38    server=$!39    echo $server > /tmp/.X0-pid40    tries=041    until test -e /tmp/.X11-unix/X0 || test $tries = 600; do sleep 0.1; tries=$((tries + 1)); done42    twm &43    xclock -geometry 180x180+40+40 &44    xeyes -geometry 240x160+260+40 &45    xterm -geometry 80x24+40+300 &46    wait $server47    printf 'The X server has ended.\n'48    /bin/foreground -i /bin/slop4950ENTRY /bin/foreground -i /bin/slop /etc/dolly/init.slop51