::bunt: - how I built the distro

SETUP NEW BUILD of ::bunt::
===========================

INSTALLATION:
=============
Xubuntu 10.04 LTS Alt CD - F4 CLI Install
sudo apt-get update
sudo apt-get upgrade

CLI framework
~~~~~~~~~~~~~

[Main Install]
sudo apt-get install screen v86d build-essential fbi fbset alsa-utils htop openssh-server portmap nfs-common mplayer mencoder ffmpeg moc moc-ffmpeg-plugin mc rar unrar aria2 elinks wicd-curses –no-install-recommends

[CLI CONFIGURATION]

[adds user to audio and video groups if not there]
sudo adduser [user] audio
sudo adduser [user] video

[adjust sound levels]
alsamixer

[set up framebuffer]
edit default grub line as per machine requirements then:
echo FRAMEBUFFER=y | sudo tee /etc/initramfs-tools/conf.d/splash
sudo update-initramfs -u

DE framework
~~~~~~~~~~~~

[Main Install]
sudo apt-get install openbox openbox-themes xorg obmenu obconf thunar firefox xfce4-terminal xubuntu-restricted-extras arandr feh gdebi libxmu-dev libpng-dev libjpeg-dev g++ libxft-dev mousepad audacious devilspie zenity cups-pdf python-software-properties synaptic apt-xapian-index xubuntu-plymouth-theme tangerine-icon-theme thunar-volman thunar-archive-plugin thunar-media-tags-plugin vlc wbar gksu remmina transmission dmz-cursor-theme slim gmrun wicd –no-install-recommends

[puts ppa in place for tint2]
sudo add-apt-repository ppa:killeroid/ppa
sudo apt-get update

sudo apt-get install tint2

[downloads wbarconf (configures wbar)]
wget http://www.ihku.biz/wbarconf/wbarconf_0.7.2-1_i386.deb

[installs wbarconf - needs dependencies]
sudo dpkg -i ~/wbarconf_0.7.2-1_i386.deb
sudo apt-get install -f
sudo dpkg -i ~/wbarconf_0.7.2-1_i386.deb

[optional]
sudo apt-get install audacity gwhere gimp inkscape k3b xsane

[DE CONFIGURATION]

[set background]
feh –bg-scale wallpaper.jpg

[to autostart background, wbar and tint2]
nano ~/.config/openbox/autostart.sh

[autostart.sh contents]
eval `cat $HOME/.fehbg` &
tint2 &
~/.config/openbox/wbarstart.sh &
~/.config/openbox/noblankx.sh &

[wbarstart.sh contents]
#!/bin/bash
sleep 6
wbar -bpress -above-desk -jumpf 0.0 -isize 24.0 -pos top -zoomf 1.5 &

[noblankx.sh contents]
#!/bin/bash
#prevents x from blanking screen
sleep 15
/usr/bin/xset s blank
/usr/bin/xset s 0 0
/usr/bin/xset -dpms

test with xset -q

[prevent screen blanking by terminal]
sudo nano /etc/rc.local
#add the following lines before exit 0

#prevent screen blanking
/usr/bin/setterm -powersave off
/usr/bin/setterm -blank 0
/usr/bin/setterm -powerdown

or in /etc/profile
setterm -blank 0 -powersave off -powerdown 0

[to change icon theme]
nano ~/.gtkrc-2.0
add new icon theme name

[to change tint2 configuration]
nano ~/.config/tint2/tint2rc
edit settings

[to setup slim]
rename /usr/share/slim/themes/default/background.jpg to background.jpg.bak
copy and rename wallpaper.jpg to /usr/share/slim/themes/default/background.jpg

[to create cli and gui boot options]
edit /etc/init.d/slim
edit /etc/grub.d/10_linux
edit /etc/default/grub to remove recovery option
update-grub2

[Appearance]
run obconf and set top margin to 50px to stop windows crashing the menubar (you might get away with less than 50)
change theme as required
change title bar to NLDSIMC
increase fonts to 10,10,11,12,11

[to change mouse cursor theme]
sudo update-alternatives –config x-cursor-theme
make selection

[setup gmrun]
open ~/.config/openbox/rc.xml
add the following in the keybindings section

<!– Keybindings for gmrun –>
<keybind key=”A-F2″>
<action name=”Execute”>
<execute>gmrun</execute>
</action>
</keybind>

[prevent screen dimming with gksu]
edit ~/.gconf/apps/gksu/%gconf.xml
add the following:
<?xml version=”1.0″?>
<gconf>
<entry name=”disable-grab” mtime=”1302360724″ type=”bool” value=”true”/>
</gconf>

[plymouth manager (1.3)]
wget http://sourceforge.net/projects/plymouthmanager/files/plymouth-manager_1.3.0.deb

[set ::bunt:: plymouth theme]
install xubuntu-logo-theme for plymouth
replace xubuntu logo with ::bunt:: logo
update-initramfs -u -k all
reboot

[to get plymouth themes working in virtualbox]
add   rhgb vga=792 to your kernel options (where “quiet splash” is!)

[grub customizer]
sudo add-apt-repository ppa:danielrichter2007/grub-customizer
sudo apt-get update
sudo apt-get install grub-customizer