Tricky Little Notes
One note per paragraph, random collection.
Synaptics touchpad configuration for Gateway ml-6230
Default configuration specifies right side of touchpad to do scrolling. The ML-6230 has a separate area for vertical scrolling. The following, autostarted with an X session, would correct the scroll area in X for older Ubuntu versions:
xinput set-int-prop 'SynPS/2 Synaptics TouchPad' 'Synaptics Edges' 32 1752, 5980, 1620, 4236
Starting at Ubuntu 10.04 and newer versions of debian, however, the following (found at
http://ubuntuforums.org/showthread.php?t=1467503) will fix the vertical scroll area:
echo "options psmouse proto=imps" > /etc/modprobe.d/psmouse.conf
Transcode DVD audio:
transcode -x null,dvd -i /dev/dvd -T2,4 -a 1 -y null,ogg -b 320 -J resample -E 44100 -o test.ogg
Copy SSH keys:
cat id_rsa.pub | ssh mysql105 'cd .ssh; cat >> authorized_keys; chmod 600 authorized_keys'
4. Add yourself to the vboxusers group:
$ sudo gpasswd -a YOURUSERNAME vboxusers
5. Find the devgid for ‘vboxusers’:
$ grep vboxusers /etc/group
It will return something like:
vboxusers:x:123:username
Add this line to the bottom of /etc/fstab, replace the devgid number with your devgid:
none /proc/bus/usb usbfs devgid=123,devmode=664 0 0
By default both Windows XP and Windows Server 2003 are configured for a maximum 16-bit colour in remote sessions. To enable 24-bit colour in remote connections via RDP in Windows XP and Windows Server 2003 do the following:
1. Run GPEDIT.MSC;
2. Go to: Local Computer Policy/Computer Configuration/Administrative Templates/Windows Components/Terminal Services;
3. Open the policy 'Limit maximum colour depth';
4. Set this to 'Disabled' or 'Enabled and 24 bit' or 'Enabled and Client Compatible'.
You won't get 32bit colour, but 24 bit colour gives you the same effect.
Fix RDP Problem
http://blogs.technet.com/brad_rutkowski/archive/2008/01/04/systemroot-system32-rdpdd-dll-failed-to-load.asp
UTF-8 string: echo -ne '\e%G\e[?47h\e%G\e[?47l'