Cutting MTS file for Youtube

One thing I really hate about youtube (I think many others do too) is the crazy 10 minute limit. I know it as recently extended to 15 minutes but so what! But to be fair, even with this limitation, youtube is still probably the best site for video sharing. It is especially annoying to me…

smbmount doesn’t work in 10.10

An annoying change I felt for 10.10 is that it doesn’t allow normal user to mount network drive by default anymore. I’m not sure why this is a sensible change. Maybe it is more secure for somebody but for me, it is just a horrible inconvenience. A simple workaround for me is to add the…

Close button back to the right side

It has been addressed in many posts such as this. I include this just as a personal note. The random decision by Ubuntu is quite a bit annoying sometimes, even though I still love it…

Download from Videolecture.net

Measuring Measures suggests a cool trick to download the lectures from videolecture.net. Below is the verbatim of the original: Not to fear, it turns out that you can just use a couple parameters to mplayer at the command line. example: mplayer -dumpstream mms://velblod2.ijs.si/2009/pascal2/ssll09_canberra/reid_leth/ssll09_reid_leth_01.wmv -dumpfile /home/bradford/lectures/reid_learning_theory1.avi

avidemux alternative

I tried to split an MP4 video using avidemux with no luck. No matter how I did it, I couldn’t get the audio in sync. Finally, I found yamb and it worked good. Even though I need to use virtualbox to run it.

NX Client Keyboard Mapping Problem

I had several crazy keyboard issues using nx client. The most annoying one is that “up-arrow” was gone and became printscreen. However, it turns out the problem has an easy fix. On the server, change System->Preferences->Keyboard->Layouts to “Evdev-managed keyboard” btw, if you use the windows client, the original setting (Generic 10x-key) is good.

Installing WordPress on Ubuntu

This guide is great. But one has to install and setup apache and mysql first (if haven’t). I follow this guide and add this line before the earlier guide and then it works perfectly. sudo apt-get install apache2 php5 mysql-server phpmyadmin But be sure to restart apache after installation. sudo /etc/init.d/apache2 restart

CUDA 2.3 Installation on Ubuntu 9.04

Our GPU computer crashed the day before yesterday. Since there are multiple users on that machine, I don’t know who made the mess. Anyway, we simply could no longer start gnome. So we ended up reinstalling everything. This link is helpful. But installation did not work in our case. We had the nasty “low-resolution” problem….

VirtualBox WinXP guest resolution problem

I more or less totally moved to Linux and only run windows under Virtualbox. I’m running Ubuntu 9.10 and VirtualBox 3.14. Usually it is great but occasionally it will give me different weird glitches. The most annoying one is that I can’t go to full resolution after swapping to fullscreen. It works initially after I…

Select Time Zone in Ubuntu

Even though I love Ubuntu, I can see why many people will never switch to Linux at this stage. It took me a while to try to do as simple as changing the time zone of my laptop when I have a short vacation back home in Hong Kong. Some Linux lovers will probably disapprove…