Scrolling with TrackPoint in Ubuntu 10.04
My Thinkpad X300 is a great machine and everything in Ubuntu 10.04 works natively except for scrolling with the TrackPoint. I've gotten it working but it never sticks after putting the laptop to sleep. Below are the instructions modified for a Thinkpad X300.
1. Install gpointing-device-settings
Open terminal and type sudo apt-get install gpointing-device-settings
2. Enable scrolling with TrackPoint
Open gpointing-device-settings and click DualPoint Stick and check use wheel emulation with button 2.
3. Create /usr/lib/X11/xorg.conf.d/20-thinkpad.conf
Section "InputClass"
Identifier "Trackpoint Wheel Emulation"
MatchProduct "DualPoint Stick"
MatchDevicePath "/dev/input/event*"
Driver "evdev"
Option "EmulateWheel" "true"
Option "EmulateWheelButton" "2"
Option "Emulate3Buttons" "false"
Option "XAxisMapping" "6 7"
Option "YAxisMapping" "4 5"
EndSection
I modified the instructions found here since they only partly worked for my X300.
Remove an IP Address from denyhosts
I recently setup a VPS and installed Denyhosts. I must have entered an incorrect password at some point cause I couldn't SSH into my server. After removing my IP from /etc/hosts.deny I could log in once but after that I was added to the hosts.deny file again.
To completely remove an IP address from Denyhosts you'll need to...
- Stop DenyHosts - sudo /etc/init.d/denyhosts stop
- Remove the IP address from /etc/hosts.deny
- Edit /var/lib/denyhosts/hosts and remove the lines containing the IP address. Save the file.
- Edit /var/lib/denyhosts/hosts-restricted and remove the lines containing the IP address. Save the file.
- Edit /var/lib/denyhosts/hosts-root and remove the lines containing the IP address. Save the file.
- Edit /var/lib/denyhosts/hosts-valid and remove the lines containing the IP address. Save the file.
- Edit /var/lib/denyhosts/user-hosts and remove the lines containing the IP address. Save the file.
- (optional) Consider adding the IP address to /var/lib/denyhosts/allowed-hosts
- Start DenyHosts- sudo /etc/init.d/denyhosts start
Fixing Full Screen Flash in Ubuntu 10.10
If you have Ubuntu 10.10, Intel Graphics and can't view full screen flash videos from Youtube, Hulu, or any other site this fix might help...
sudo mkdir /etc/adobe
sudo su
sudo echo \"OverrideGPUValidation = 1\" >> /etc/adobe/mms.cfg
Silverlight in Ubuntu 10.04
Moonlight is an open source implementation of Microsoft Silverlight for Unix systems. Ubuntu 10.04 LTS already has it in the repository.
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install libmoon moonlight-plugin-mozilla moonlight-plugin-core
or you can go to their website http://www.go-mono.com/moonlight/ and install the Chrome extension or Firefox plug-in.
You'll need to restart your browser for it to take effect.
Update: Moonlight does NOT support DRM content. That means no Netflix.
Connecting to a Windows PPTP VPN from Ubuntu 10.04
If you'd like to connect to a Windows PPTP VPN here is a howto to make it happen.
You need to have Ubuntu 10.04 if not you need to apt-get some packages that are not installed by default.
- Click 'System' -> 'Preferences' -> 'Network Connections'
- Click the 'VPN' tab
- Leave 'Point-to-Point Tunneling Protocol (PPTP)' selected
- 'Click Create...'
- Type in a connection name and check the box below it if you'd like the connection to connect automatically
- For 'Gateway' enter in the VPN hostname or IP IE vpn.contoso.com or x.x.x.x
- For the username type in DOMAINusername where DOMAIN is your Windows domain name and username is.... your username
- Type in your password and leave the 'NT Domain:' box empty
- Click 'Advanced...'
- Check 'Use Point-to-Point encryption (MPPE) and leave 'Security' on 'All Available (Default)'
- Check 'Allow BSD data compression'
- Check 'Allow Deflate data compression'
- Check 'Use TCP header compression'
- Leave 'Allow stateful encryption' and 'Send PPP echo packets' unchecked
- Click 'OK'
Now this will send all your network traffic over the VPN. If you'd like to still be able to use your local connection you need to click the 'IPv4 Settings' tab, click 'Routes...' and check 'Use this connection only for resources on its network'. Enabling this can be a security risk so you should talk to your IT administrator first before enabling it. That option is called split tunneling.
Click 'Apply'
Now to connect left click your network icon in the panel on the top right and hover over 'VPN Connections' and left click the connection you just created.
I'm not on a connection that allows me to do further testing but when I can I'll update this with more information.
For earlier versions of Ubuntu use the following KB article to help you install the necessary programs.


