view ci/setup-xvfb.sh @ 24180:3c165c7432ff v8.2.2631

patch 8.2.2631: commands from winrestcmd() do not always work properly Commit: https://github.com/vim/vim/commit/a0c8aea479ca055ce43ba2984a9933f6c48e6161 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Mar 20 19:55:35 2021 +0100 patch 8.2.2631: commands from winrestcmd() do not always work properly Problem: Commands from winrestcmd() do not always work properly. (Leonid V. Fedorenchik) Solution: Repeat the size commands twice. (closes #7988)
author Bram Moolenaar <Bram@vim.org>
date Sat, 20 Mar 2021 20:00:03 +0100
parents 1984a3fcc953
children
line wrap: on
line source

#!/bin/bash
set -e

apt-get install -y xvfb

cat <<EOT >/etc/systemd/system/xvfb.service
[Unit]
Description=X Virtual Frame Buffer Service
After=network.target
[Service]
ExecStart=/usr/bin/Xvfb :99 -screen 0 1024x768x24
[Install]
WantedBy=multi-user.target
EOT

systemctl enable xvfb.service
systemctl start xvfb.service