Skip to content

Instantly share code, notes, and snippets.

@perveziqbal
Created December 10, 2015 11:44
Show Gist options
  • Select an option

  • Save perveziqbal/cd2d09771c57a9097f23 to your computer and use it in GitHub Desktop.

Select an option

Save perveziqbal/cd2d09771c57a9097f23 to your computer and use it in GitHub Desktop.
Minimal Ubuntu 15.04 with MATE
sudo apt-get update
sudo apt-get upgrade
# Prerequisits
mkdir ~/bin
sudo apt-get install curl
sudo apt-get install htop
# http://blogging.dragon.org.uk/ubuntu-minimal-install-with-mate-as-the-desktop-14-04-lts/
sudo apt-get install mate-desktop-environment-core mate-themes plymouth-theme-ubuntu-mate-logo
sudo apt-get install lightdm lightdm-gtk-greeter
sudo apt-get install ubuntu-artwork
sudo apt-get install ttf-ubuntu-font-family
sudo apt-get install chromium-browser
sudo apt-get install mate-menu
sudo touch /etc/lightdm/lightdm.conf
sudo sh -c 'echo "[SeatDefaults]" >> /etc/lightdm/lightdm.conf'
sudo sh -c 'echo "greeter-session=lightdm-gtk-greeter" >> /etc/lightdm/lightdm.conf'
sudo sh -c 'echo "user-session=mate" >> /etc/lightdm/lightdm.conf'
sudo sh -c 'echo "autologin-user=stephen" >> /etc/lightdm/lightdm.conf'
sudo sh -c 'echo "autologin-user-timeout=0" >> /etc/lightdm/lightdm.conf'
# http://thesave.altervista.org/2014/02/network-manager-applet-for-mate-desktop-installing-it-right/
# http://kde-look.org/content/show.php/Alternate+Wicd+Tray+Icons?content=125921
sudo apt-get install wicd-curses wicd-gtk
sudo service wicd start
# Power Manager
sudo apt-get install mate-power-manager
# File Manager
sudo apt-get install nautilus
# Mate Config
gsettings set org.mate.Marco.general theme 'BlueMenta'
gsettings set org.mate.interface gtk-theme 'BlueMenta'
gsettings set org.mate.peripherals-mouse cursor-theme 'mate'
gsettings set org.mate.Marco.general num-workspaces 2
gsettings set org.mate.panel object-id-list ['menu-bar', 'clock', 'window-list', 'workspace-switcher', 'object_1', 'object_0', 'object_2']
gsettings set org.mate.panel toplevel-id-list ['top']
# Mate Fonts
gsettings set org.mate.background secondary-color '#3c3c8f8f2525'
gsettings set org.mate.caja.desktop font 'Ubuntu 10'
gsettings set org.mate.interface monospace-font-name 'Ubuntu Mono 10'
gsettings set org.mate.font-rendering antialiasing 'rgba'
gsettings set org.mate.font-rendering dpi 96.0
gsettings set org.mate.font-rendering hinting 'full'
# Mate Keyboard Shortcuts
gsettings set org.mate.SettingsDaemon.plugins.media-keys www '<Mod4>w'
gsettings set org.mate.SettingsDaemon.plugins.media-keys home '<Mod4>f'
gsettings set org.mate.SettingsDaemon.plugins.media-keys screensaver '<Mod4>l'
# Mate Mouse
gsettings set org.mate.peripherals-touchpad tap-to-click true
# Development
sudo apt-get install git
sudo apt-get install tig
sudo apt-get install fish
chsh --shell /usr/bin/fish
# PHP
sudo apt-get install php5-cli
sudo apt-get install php5-xdebug
curl -sS https://getcomposer.org/installer | php
mv ~/composer.phar ~/bin/composer
# JavaScript
sudo apt-get install npm nodejs-legacy
# Syncthing
cd ~/bin
curl -sSL https://github.com/syncthing/syncthing/releases/download/v0.11.16/syncthing-linux-386-v0.11.16.tar.gz | tar -xz --strip=1 syncthing-linux-386-v0.11.16/syncthing
crontab -l | crontab -
crontab -l | cat; echo "@reboot /home/stephen/bin/syncthing" | crontab -
# Applications
sudo apt-get install file-roller
# Sublime Text
cd ~
mkdir bin
cd ~/bin
curl -sSL http://c758482.r82.cf2.rackcdn.com/sublime_text_3_build_3083_x32.tar.bz2 | tar -jx
echo W0Rlc2t0b3AgRW50cnldClZlcnNpb249MS4wClR5cGU9QXBwbGljYXRpb24KVGVybWluYWw9ZmFsc2UKSWNvbltlbl9HQl09bWF0ZQpOYW1lW2VuX0dCXT1TdWJsaW1lIFRleHQKRXhlYz0vaG9tZS9zdGVwaGVuL2Jpbi9zdWJsaW1lX3RleHRfMy9zdWJsaW1lX3RleHQKTmFtZT1UZXJtaW5hbApJY29uPS9ob21lL3N0ZXBoZW4vYmluL3N1YmxpbWVfdGV4dF8zL0ljb24vMjU2eDI1Ni9zdWJsaW1lLXRleHQucG5nCkNhdGVnb3JpZXM9RGV2ZWxvcG1lbnQ= | base64 -d >> ~/.local/share/applications/sublime_text.desktop
chmod +x ~/.local/share/applications/sublime_text.desktop
# Audio
sudo apt-get install alsa-base alsa-utils alsa-oss gstreamer0.10-alsa libasound2 libasound2-plugins mate-media-pu;se
alsactl init
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment