Using PDF-XChange as default pdf viewer

PDF-XChange can be installed and run quite smoothly with wine. However, it is a bit tricky to set it as default application as it is not registered automatically and so won’t be on the list of choices when using mimeopen to set default app. My solution is to change default.list in ~/.local/share/applications (or /usr/share/applications if you want to…

Setup wireless with command lines

My ubuntu box does not always configure wireless connection correctly. Luckily, setting connection on command line is rather easy. I followed the comment by Savage for this guide (or I guess this one is kind of the same). It didn’t work the first shot for me. But it worked after some slight modifications. You may have a different device,…

Making a noise free screencast

Ubuntu has very convenient function to generate screencast. My favorite is gtk-recordMyDesktop. However, my mic isn’t very high quality and my screencast always ends up with annoying background noise. Actually, this noise can be easily removed by denoising tools such as Audacity. One just needs to exact the audio track, denoise it with Audacity, and…

SMB mount doesn’t work as regular user

This is something old. I “fixed” this several times and it happens again. I just include the solution here (original from this link) so that I don’t need to look for it again.  $sudo chmod +s `which mount.cifs` ### <- that’s as a super user  

widescreen resolution in virtualbox

I installed xubuntu under virtualbox in my widescreen laptop. But I was stuck with space wasted on both sides when I switched to fullscreen since default resolution is 4:3. The fix is quite simple though. Just taking advantage of the xrandr command… xrandr –newmode “1360×768”   84.75  1360 1432 1568 1776  768 771 781 798 -hsync…

mount error(1)

After reinstalling ubuntu 10.04.3, I couldn’t remount to the share drive unless using sudo. I kept getting the error message: mount error(1): Operation not permitted. After a little bit digging, this post solved the problem perfectly!

Reinstalling GRUB

Lots of post mentioned that before. I recently reinstalled Ubuntu and I had three drives in my computer. After installation, I wanted to remove one of the drive since it appears that the system was extremely slow and unstable with all three drives plugged in. I suspect that it was a power problem since I…

Ubuntu installation on nvidia computer

My harddrive died recently and so I reinstalled ubuntu. I got fed up with new release breaking tiny things often. So I tried to stick with LTS this time (10.04 when I wrote this). I have an NVidia  graphic card and dual monitor. I recalled troubles already from my previous experience of installing Ubuntu. I…