Kubuntu notes

This is work in progress

Citrix client:

sudo apt-get install alien libmotif3
sudo alien -i ICAClient-10.0-2.i386.rpm
sudo ln  -s  /usr/lib/ICAClient/desktop/wfcmgr.desktop /usr/share/applications/

Font problems with the Citrix client ? Read section 4.9 in /usr/lib/ICAClient/readme.txt

Cisco VPN

In order to get the Cisco VPN client compiled on Feisty, You’ll need a patch

Disable IPv6:

sudo vim /etc/modprobe.d/aliases
change
alias net-pf-10 ipv6
to
alias net-pf-10 off

Change default browser to Firefox:

sudo update-alternatives --config x-www-browser

Kernel headers for running Kernel

sudo apt-get install linux-headers-`uname -r`

MP4 to MP3

#!/bin/sh# Convert all m4a files in directory to mp3
for i in *.m4a; do
  faad "$i"x=`echo "$i"|sed -e 's/.m4a/.wav/'`y=`echo "$i"|sed -e 's/.m4a/.mp3/'`
  lame -h -b 192 "$x" "$y"
  rm "$x"
done

Truecrypt:

Download Truecrypt source from truecrypt.org

sudo apt-get install build-essential dmsetup gawk linux-source linux-headers-`uname -r`
cd /usr/src/
sudo tar xvjf linux-source-2.6.20.tar.bz2
sudo ln -s linux-source-2.6.20 linux
sudo tar xzvf truecrypt-4.3-source-code.tar.gz
cd truecrypt-4.3-source-code/Linux/
sudo ./build.sh

Answer Yes to the question regarding configuring Your kernel source.
Wait wait wait

sudo ./install.sh

You’ll be asked a few questions regarding the installation.

/dev/mapper/control not found - create? [Y/n]: y
Install binaries to [/usr/bin]: #HIT ENTER#
Install man page to [/usr/share/man]: #HIT ENTER#
Install user guide and kernel module to [/usr/share/truecrypt]: #HIT ENTER#
Allow non-admin users to run TrueCrypt [y/N]: y

Bash completion with SSH

For some reason the SSH configuration in Kubuntu defaults to hashed known_hosts.
Add HashKnownHosts no to Your ~/.ssh/config file, delete ~/.ssh/known_hosts
and bash completion will work with SSH.

Samsung SyncMaster 225BW + Nvidia 8800 GTS

xorg.conf for 1680×1050 resolution

Section "Monitor"
  identifier "Monitor0"
  vendorname "Samsung"
  modelname "SyncMaster 225BW"
EndSection

Section "Device"
  identifier "nVidia Corporation G80 [GeForce 8800 GTS]"
  boardname "nv"
  busid "PCI:1:0:0"
  driver "nvidia"
  screen 0
EndSection

Section "Screen"
  Identifier "Default Screen"
  Device "nVidia Corporation G80 [GeForce 8800 GTS]"
  Monitor "Monitor0"
  DefaultDepth 24
  SubSection "Display"
    depth 24
  EndSubSection
EndSection