In mid June, my laptop hard disk died. Suddenly, there was a flurry of disk I/O wait, then applications started to report errors trying to write anything.
With a 500GB 2.5" laptop disk lying around that was used for backup, I replaced the dead disk with this one.
I had an Ubuntu Server 14.04 CD lying around, and therefore did not bother to download Kubuntu 14.04.
My laptop's home directory is backed up daily via ssh to the server. So my data was safe.
Of course, after I had a server operating system installed, I had to install additional stuff to get a KDE desktop, Sound, and Wifi.
First, let us update what we installed, since there are many updates since the CD was created:
aptitude update && aptitude full-upgrade
We then install KDE Plasma Desktop. This will give me the bulk of KDE.
aptitude install kde-plasma-desktop
Then we add the necessary parts to get WiFi working:
aptitude install plasma-widget-networkmanagement
Some drivers and codecs:
aptitude install kubuntu-restricted-addons
Touchpad configuration, so we don't have annoying interference while typing.
aptitude install kde-touchpad
The sound mixer for KDE, so sound can be configured, as well as alsamixer terminal tool:
aptitude install kmix alsamixer
aptitude install firefox flashplugin-installer
aptitude install chromium-browser
aptitude install rekonq
Install Opera browser
add-apt-repository 'deb http://deb.opera.com/opera-stable/ stable non-free'
wget -qO- http://deb.opera.com/archive.key | apt-key add -
aptitude update && aptitude install opera-stable
These are needed for suspending the laptop:
aptitude install acpitool acpitail acpi-support
These help make GTK applications (e.g. Firefox) loop acceptable on KDE:
aptitude install kde-config-gtk-style kde-config-gtk gtk2-engines-oxygen gtk3-engines-oxygen oxygen-molecule
Useful widgets for KDE (CPU monitor, weather, ...etc.)
aptitude install plasma-widgets-addons plasma-widget-cpuload
aptitude install system-config-printer-kde
aptitude install print-manager
aptitude install cups
aptitude install hpijs-ppds hplip
Some useful applications:
aptitude install clementine
aptitude install speedcrunch
LibreOffice, for word processing, spreadsheet, and presentations:
aptitude install libreoffice
For taking screen shots:
aptitude install ksnapshot
aptitude install okular
A nice replacement for top:
aptitude install htop
aptitude install kstars
And a USB webcam tool, which I use for a microscope:
aptitude install guvcview
File systems we may need, sshfs for the server, and NTFS for USB drives:
aptitude install sshfs ntfs-3g
Tools for multiple monitors, for when connecting a projector:
aptitude install krandrtray kscreen
A default video player:
aptitude install kaffeine
Make LightDM the default window manager:
To get suspend and resume to work, we need to configure policy kit:
cat > com.ubuntu.enable-hibernate.pkla [Enable hibernate by default]
cat > com.ubuntu.enable-suspend.pkla [Enable suspend by default]
We add regular backups via ssh
# Enable backups
echo "*/10 8-17 * * * ~/bin/laptop-backup.sh" | crontab
We finally setup sshfs mounts from the home server to the laptop.