view ci/setup-xvfb.sh @ 24747:7da496081b91 v8.2.2912

patch 8.2.2912: MS-Windows: most users expect using Unicode Commit: https://github.com/vim/vim/commit/f883d9027c750967b115b82de984ee449ab17aa8 Author: K.Takata <kentkt@csc.jp> Date: Sun May 30 18:04:19 2021 +0200 patch 8.2.2912: MS-Windows: most users expect using Unicode Problem: MS-Windows: most users expect using Unicode. Solution: Default 'encoding' to utf-8 on MS-Windows. (Ken Takata, closes #3907)
author Bram Moolenaar <Bram@vim.org>
date Sun, 30 May 2021 18:15:03 +0200
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