You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
881 B
24 lines
881 B
#!/bin/bash
|
|
|
|
# Set setuid bit on xorg binary, so it can be started by guest user
|
|
chmod u+s /usr/lib/xorg/Xorg
|
|
|
|
# use only white cursors. There were some troubles if the other cursors
|
|
# was left behind, installing gtk apps reverted the cursor from white to gray,
|
|
# so we're going to nuke it to leave only Snow cursors active.
|
|
rm -Rf /usr/share/icons/breeze_cursors >>$OUTPUT 2>&1
|
|
mv /usr/share/icons/Breeze_Snow /usr/share/icons/breeze_cursors >>$OUTPUT 2>&1
|
|
|
|
(cd /rootcopy-install && cp --parents -afr * /)
|
|
|
|
# install x11 server utils, apt-get would add cpp dependency, bullshit!
|
|
cd /tmp
|
|
apt-get download x11-xserver-utils >>$OUTPUT 2>&1
|
|
ls -la
|
|
dpkg -x x11-xserver-utils*.deb /tmp/x11utils >>$OUTPUT 2>&1
|
|
cd /tmp/x11utils
|
|
cp -aR * / >>$OUTPUT 2>&1
|
|
|
|
rm -Rf /usr/share/icons/hicolor/256x256 >>$OUTPUT 2>&1
|
|
|
|
update-alternatives --set x-terminal-emulator /usr/bin/xterm >>$OUTPUT 2>&1
|
|
|