Last active
March 10, 2016 11:49
-
-
Save bajeluk/1bf6e2b139a3f3bc1d4a to your computer and use it in GitHub Desktop.
Updates the Ubuntu Server 14.04 for colors and bigger terminals
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
echo "updating .inputrc..." | |
cat > $HOME/.inputrc <<EOF | |
"\e[A": history-search-backward ## shift+up-arrow | |
"\e[B": history-search-forward ## shift+down-arrow | |
EOF | |
echo "updating .bashrc..." | |
ed $HOME/.bashrc <<EOF | |
/^#force_color_prompt=yes/s/^#// | |
wq | |
EOF | |
echo "updating /etc/default/grub..." | |
sudo ed /etc/default/grub <<EOF | |
/^#GRUB_GFXMODE=/c | |
GRUB_GFXMODE=1024x768x32 | |
. | |
wq | |
EOF | |
sudo update-grub | |
echo "Possibility of setting of bigger fonts in the following windows." | |
echo "Recomended settings:" | |
echo " --> UTF-8" | |
echo " --> Latin2" | |
echo " --> TerminusBold" | |
echo " --> 20x10" | |
read devnull | |
sudo dpkg-reconfigure console-setup | |
echo "use Windows 'putty.exe' (www.putty.org) and SSH connection for basic copy&paste functionality" | |
echo "" | |
echo "lightweight XFCE window manger can be installed (largening install by roughly 300 MB) via" | |
echo " sudo apt-get install xfce4 midori xfce4-terminal" | |
echo "" | |
echo "copy&paste support is done via Re-installing VMware Tools (from menu) and then" | |
echo " sudo mount /dev/cdrom /media/cdrom -t iso9660" | |
echo " cp /media/cdrom/VMwareTools* /tmp && cd /tmp" | |
echo " tar xzf VMwareTools*" | |
echo " sudo vmware-tools-distrib/vmware-install.pl" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment