Commit a0114790 authored by Stephanie Briere Americo's avatar Stephanie Briere Americo
Browse files

SCRUM#390: Adds copyright and credits to all files

parent 84ed82d7
Pipeline #14333 passed with stages
in 1 minute and 44 seconds
# Script adapted from Laércio de Sousa <>
export DISPLAY=${1}
......@@ -10,7 +12,6 @@ shift
# This is a workaround for the case Xephyr is started before host Xorg
# server is ready for connections, despite the socket activation.
# tenta 10 vezes. se nao der, nao deu
for i in $(seq ${tries})
if xset q >/dev/null 2>&1
# Conta quantas placas de video tem
# Script adapted from Laércio de Sousa <>
num_cards=$(lspci | grep -c Silicon.Motion)
# Se nao for igual a 1 ou 2 sai com erro 2
[ ${num_cards} -ne 1 ] && exit 2
# executa o X
exec Xorg ${1} -seat __fake-seat-${num_cards}__ -dpms -s 0 -nocursor
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment