1 (10.02.2015 21:50 отредактировано Tigoro)

Тема: Скрипт Crunchbang для Ubuntu 14.04

В связи с отзывом продукта разработчиком эта информация может быть полезной для совмещения Ubuntu 14.04 x86_64 и CrunchBang. Под х86 не пробовал. Скрипт был найден здесь: http://crunchbang.org/forums/viewtopic.php?id=36252

mkdir crunchbuntu && pushd crunchbuntu

# libvala dependency was renamed to vala in trusty, get an older package
wget -c [url]https://launchpad.net/~vala-team/+archive/ubuntu/ppa/+files/libvala-0.10-0_0.10.4-1ubuntu1~lucid1_amd64.deb[/url]
sudo dpkg -i libvala-*

# add waldorf repository and install crunchbang packages
sudo apt-get -y --install-recommends install software-properties-common
sudo apt-add-repository 'deb [url]http://packages.crunchbang.org/waldorf[/url] waldorf main' && sudo apt-key adv --fetch-keys [url]http://packages.crunchbang.org/waldorf-dev/crunchbang.key[/url]
sudo apt-get -y update
sudo apt-get -y --install-recommends install cb-metapackage cairo-compmgr faenza-crunchbang-icon-theme

# set up home directory
cp -R /etc/skel/. ~/

# set up boot theme
sudo cp /etc/default/grub /etc/default/grub.orig
sudo sed -i -E 's/(GRUB_CMDLINE_LINUX_DEFAULT=).*/\1"--verbose nosplash debug"/g' /etc/default/grub
sudo update-grub

# gtk-3.8+ breaks Waldorf theme, use an alternative
wget -c [url]https://github.com/xoraxiom/openbox-gtk-themes/archive/master.zip[/url]
unzip master.zip
sudo cp -r openbox-gtk-themes-master/cb-waldorf-xoraxiom /usr/share/themes
sudo cp /root/.config/gtk-3.0/settings.ini /root/.config/gtk-3.0/settings.ini.orig
sudo sed -i -E 's/(gtk-theme-name\s*=).*/\1cb-waldorf-xoraxiom/g' /root/.config/gtk-3.0/settings.ini
cp ~/.config/gtk-3.0/settings.ini ~/.config/gtk-3.0/settings.ini.orig
sed -i -E 's/(gtk-theme-name\s*=).*/\1cb-waldorf-xoraxiom/g' ~/.config/gtk-3.0/settings.ini
cp ~/.gtkrc-2.0 ~/.gtkrc-2.0.orig
sed -i -E 's/(gtk-theme-name\s*=).*/\1\"cb-waldorf-xoraxiom\"/g' ~/.gtkrc-2.0
sed -i -E 's/(gtk-icon-theme-name\s*=).*/\1\"Faenza-Dark-CrunchBang\"/g' ~/.gtkrc-2.0

# start X and the Crunchbang auto setup
popd && rm -r crunchbuntu
sudo shutdown -r now