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…

Subversion in Ubuntu

I see many people are against the idea of having GUI to handle subversion. They see that those who do so are the really lazy bones trying to skip typing a few command lines. But I found that I ended up not using some version control most of the time (where I should have) just…

Remote Desktop with FreeNX

ssh is great. But sometimes I just need a desktop. The remote desktop functionality offered by Ubuntu is kind of limited. For example, I just don’t know how I can enable remote desktop easily in the first place if one is not in front of the host already. Moreover, Ubuntu’s remote desktop is limited to…

Almost kill my Ubuntu

I did an extremely stupid thing today. It all started when I tried to fix some conflicting issue of OpenCV and ffmpeg. I installed and reinstalled many times. I tried this on my desktop and eventually tried it also on my laptop. For some reasons, I could not install some required package (libxcb1-dev). It showed…

Obama’s Tariff

I am terribly disappointed with Obama’s tariff. Especially I believe that he is an intelligent person. He definitely should understand the reaction from Beijing and is well aware of the impact of Smoot-Hawley Tariff Act to the Great Depression. He is basically risking all these for the political capital needed for his health reform. While…

Embedding all fonts in Ubuntu

It took me a while to finally manage to embed all fonts for pdf using Linux commands alone. Most conferences and journals require all fonts to be embedded for manuscript preparation. By default, pdflatex in Ubuntu suppose to embed all fonts. One can also change the setting using updmap. But the problem comes from the…