Living with Lucid: New System Setup

Posted by

Here is the summary of what I change/add when setting up a new Linux box after first uncommenting backports, partner, updates, and replacing the sources with my local mirror:
:%s/us.archive.ubuntu.com/ubuntu.caslab.queensu.ca/

At work:

# TB, FreeNX, Font, latest Firefox 10.04

sudo add-apt-repository ppa:ricotz/ppa && sudo add-apt-repository ppa:freenx-team/ppa && sudo add-apt-repository ppa:webupd8team/ubuntu-font-family && sudo add-apt-repository ppa:mozillateam/firefox-stable; sudo apt-add-repository ppa:bisigi/ppa

# Reasonable dev, latex, env. pwgen, tb, freenx.

sudo apt-get update && sudo apt-get install mc vlc pyroom gimp slingshot audacity nautilus-open-terminal chromium-codecs-ffmpeg-extra xul-ext-flashblock mozplugger openjdk-6-jre openjdk-6-jre-headless ttf-liberation ttf-mscorefonts-installer ttf-ubuntu-title inkscape xaralx lyx latex-beamer gnome-network-admin gstreamer0.10-plugins-ugly ttf-dejavu ttf-droid slingshot fbreader pingus libmp3lame0 build-essential fakeroot vco-plugins tap-plugins swh-plugins rev-plugins mypaint thunderbird latex-xft-fonts thunderbird-gnome-support freenx-server build-essential automake cmake libboost-all-dev libvtk5-dev libvtk5-qt4-dev jedit glutg3-dev libghc6-glut-dev libglui-dev libghc6-opengl-dev eclipse-jdt eclipse netbeans flashplugin-installer ttf-ubuntu-font-family openssh-server denyhosts pwgen

# If it's 64 bit:
sudo apt-get install ia32-libs

# VirtualBox 4.1 instructions from UnixMen

sudo add-apt-repository "deb http://download.virtualbox.org/virtualbox/debian lucid contrib non-free"

wget -q http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc -O- | sudo apt-key add -

sudo apt-get update && sudo apt-get install virtualbox-4.1

# TB, FreeNX, 11.04

sudo add-apt-repository ppa:freenx-team/ppa # change /etc/apt/sources.list.d/free* to point to lucid still.

# Reasonable dev, latex, env. pwgen, tb, freenx, 11.04.

sudo apt-get update && sudo apt-get install mc vlc pyroom gimp slingshot audacity nautilus-open-terminal chromium-codecs-ffmpeg-extra mozplugger openjdk-6-jre openjdk-6-jre-headless ttf-liberation ttf-mscorefonts-installer ttf-ubuntu-title inkscape xaralx lyx latex-beamer gnome-network-admin gstreamer0.10-plugins-ugly ttf-dejavu ttf-droid slingshot fbreader pingus libmp3lame0 build-essential fakeroot vco-plugins tap-plugins swh-plugins rev-plugins mypaint thunderbird thunderbird-gnome-support freenx-server build-essential automake cmake libboost-all-dev libvtk5-dev libvtk5-qt4-dev jedit glutg3-dev libghc6-glut-dev libglui-dev libghc6-opengl-dev eclipse-jdt eclipse netbeans flashplugin-installer ttf-ubuntu-font-family openssh-server denyhosts pwgen

Expire the initial password for the new user

passwd -e NEW_USERNAME

Reasonable TeX setup

sudo apt-get install dvipng groff iamerican ispell lacheck latex-beamer \
latex-xcolor libaiksaurus-1.2-0c2a libaiksaurus-1.2-data libaudio2 \
libboost-regex1.40.0 libboost-signals1.40.0 libjpeg-progs libmng1 \
libnetpbm10 libqtcore4 libqtgui4 librsvg2-bin libt1-5 \
libtiff-tools lmodern luatex lyx lyx-common netpbm pgf \
preview-latex-style prosper ps2eps psutils tex-common \
texlive-base texlive-bibtex-extra texlive-binaries texlive-common \
texlive-doc-base texlive-extra-utils texlive-font-utils \
texlive-fonts-recommended texlive-fonts-recommended-doc \
texlive-formats-extra texlive-generic-extra texlive-generic-recommended \
texlive-latex-base texlive-latex-base-doc texlive-latex-extra \
texlive-latex-extra-doc texlive-latex-recommended \
texlive-latex-recommended-doc texlive-luatex texlive-math-extra \
texlive-pictures texlive-pictures-doc texlive-plain-extra texlive-pstricks \
texlive-pstricks-doc texmacs texmacs-common texmacs-extra-fonts tipa \
transfig ttf-lyx wcatalan xaw3dg xfig xfig-libs

Bind Windows key to show desktop

gconftool-2 --set /apps/metacity/global_keybindings/show_desktop --type string "Super_L"

Reasonable dev environment
More additions to come when I think of them.

sudo apt-get install build-essential automake cmake libboost-all-dev libvtk5-dev libvtk5-qt3-dev libvtk5-qt4-dev jedit glutg3-dev libghc6-glut-dev libglui-dev libghc6-opengl-dev

Other Miscellaneous software

Rotate script for my 2710p


#!/bin/bash
#get current setting
testrot=`xrandr -q |grep LVDS1 | awk '{print $3}'`
#test if screen is rotated in protrait mode
if [ "$testrot" = "800x1280+0+0" ];then
xrandr -o normal
xsetwacom set "Serial Wacom Tablet" rotate NONE
killall onboard
else
xrandr --output LVDS1 --rotate right
xsetwacom set "Serial Wacom Tablet" rotate CW
fi

Some of my favourite packages:
(First uncomment backports and partner sources line in /etc/apt/sources.list)

sudo apt-get update && sudo apt-get install mc vlc pyroom gimp slingshot audacity nautilus-open-terminal chromium-codecs-ffmpeg-extra flashplugin-installer xul-ext-flashblock mozplugger localepurge openjdk-6-jre openjdk-6-jre-headless ttf-liberation ttf-mscorefonts-installer ttf-ubuntu-title inkscape xaralx lyx latex-beamer gnome-network-admin gstreamer0.10-plugins-ugly ttf-dejavu ttf-droid slingshot fbreader pingus libmp3lame0 build-essential fakeroot vco-plugins tap-plugins swh-plugins rev-plugins mypaint openssh-server denyhosts

Thunderbird 3.1

sudo add-apt-repository ppa:ricotz/ppa && sudo apt-get update
sudo apt-get install thunderbird latex-xft-fonts thunderbird-gnome-support

FreeNX

sudo add-apt-repository ppa:freenx-team/ppa && sudo apt-get update && sudo apt-get install freenx-server

GoSaBe Blog - Aug 8, 2010 | Linux