Advertisement
GoldenKevin

Crunchbuntu Waldorf 14.04 LTS

Jul 30th, 2014
769
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.76 KB | None
  1. mkdir crunchbuntu && pushd crunchbuntu
  2.  
  3. # libvala dependency was renamed to vala in trusty, get an older package
  4. wget -c https://launchpad.net/~vala-team/+archive/ubuntu/ppa/+files/libvala-0.10-0_0.10.4-1ubuntu1~lucid1_amd64.deb
  5. sudo dpkg -i libvala-*
  6.  
  7. # add waldorf repository and install crunchbang packages
  8. sudo apt-get -y --install-recommends install software-properties-common
  9. sudo apt-add-repository 'deb http://packages.crunchbang.org/waldorf waldorf main' && sudo apt-key adv --fetch-keys http://packages.crunchbang.org/waldorf-dev/crunchbang.key
  10. sudo apt-get -y update
  11. sudo apt-get -y --install-recommends install cb-metapackage cairo-compmgr faenza-crunchbang-icon-theme
  12.  
  13. # set up home directory
  14. cp -R /etc/skel/. ~/
  15.  
  16. # set up boot theme
  17. sudo cp /etc/default/grub /etc/default/grub.orig
  18. sudo sed -i -E 's/(GRUB_CMDLINE_LINUX_DEFAULT=).*/\1"--verbose nosplash debug"/g' /etc/default/grub
  19. sudo update-grub
  20.  
  21. # gtk-3.8+ breaks Waldorf theme, use an alternative
  22. wget -c https://github.com/xoraxiom/openbox-gtk-themes/archive/master.zip
  23. unzip master.zip
  24. sudo cp -r openbox-gtk-themes-master/cb-waldorf-xoraxiom /usr/share/themes
  25. sudo cp /root/.config/gtk-3.0/settings.ini /root/.config/gtk-3.0/settings.ini.orig
  26. sudo sed -i -E 's/(gtk-theme-name\s*=).*/\1cb-waldorf-xoraxiom/g' /root/.config/gtk-3.0/settings.ini
  27. cp ~/.config/gtk-3.0/settings.ini ~/.config/gtk-3.0/settings.ini.orig
  28. sed -i -E 's/(gtk-theme-name\s*=).*/\1cb-waldorf-xoraxiom/g' ~/.config/gtk-3.0/settings.ini
  29. cp ~/.gtkrc-2.0 ~/.gtkrc-2.0.orig
  30. sed -i -E 's/(gtk-theme-name\s*=).*/\1\"cb-waldorf-xoraxiom\"/g' ~/.gtkrc-2.0
  31. sed -i -E 's/(gtk-icon-theme-name\s*=).*/\1\"Faenza-Dark-CrunchBang\"/g' ~/.gtkrc-2.0
  32.  
  33. # start X and the Crunchbang auto setup
  34. popd && rm -r crunchbuntu
  35. sudo shutdown -r now
Advertisement
RAW Paste Data Copied
Advertisement