2 finger scrolling on Ubuntu
I managed to get 2 finger scrolling working on my Dell Mini 9 running Ubuntu 11.04.
synclient VertTwoFingerScroll=1
synclient HorizTwoFingerScroll=1
synclient EmulateTwoFingerMinW=5
synclient EmulateTwoFingerMinZ=48
I managed to get 2 finger scrolling working on my Dell Mini 9 running Ubuntu 11.04.
synclient VertTwoFingerScroll=1
synclient HorizTwoFingerScroll=1
synclient EmulateTwoFingerMinW=5
synclient EmulateTwoFingerMinZ=48
Comments [0]
* Works on Mac OSX and *nix systems. Windows users can install cygwin and should be able to get this working.
Tools needed
1. youtube-dl - a python script for downloading youtube videos. Needs python. After downloading, give it execute permissions and copy it to a path folder like /usr/local/bin. http://rg3.github.com/youtube-dl/
2. ffmpeg - A cross-platform tool to covert audio and video file formats. We'll use this to extract the audio from a youtube video file into an uncompressed WAV file. http://www.ffmpeg.org/
3. lame - An mp3 encoder library, cross-platform. Download and install this. http://lame.sourceforge.net/download.php
Follow the instructions to install these on their respective sites.
The fun part
Step 1: Download video
[sukhbsin@sukhbsin-fedora-vm Music]$ youtube-dl.py <video url>
e.g. <h t t p://www.youtube.com/watch?v=saDguIg9CIE>
This should save a file called saDguIg9CIE.flv. Sometimes a .mp4 file gets saved.
Step 2: Extract uncompressed audio
[sukhbsin@sukhbsin-fedora-vm Music]$ ffmpeg -i saDguIg9CIE.flv Play.wav
This will create a wave file called Play.wav. You can even use this directly, but since this is uncompressed, it takes up a lot of space.
Step 3: Convert to mp3
[sukhbsin@sukhbsin-fedora-vm Music]$ lame Play.wav play.mp3
You should now have the play.mp3 file. That's it!
This file won't have any ID3 tags, but you can easily add those using any modern mp3 playback tool.
Comments [0]
I took these on a walk out to a nearby Japanese restaurant on the 1st of January, 2011.
Some say that the new decade begins today. I'm not sure i understand how that logic works.
Comments [0]
“Social networks are particularly effective at increasing motivation,” Aaker and Smith write. But that’s not true. Social networks are effective at increasing participation—by lessening the level of motivation that participation requires.”
From the NewYorker article by Malcolm Gladwell
Comments [0]
Comments [0]