Solve double minibufexplorer opened in VIM

When using Minibufexplorer in VIM, I usually use Fuzzfinder for opening files. But, somehow, I see double minibufexplorer window every open more than 2 files. To solve this issue :

let g:miniBufExplorerMoreThanOne = 0

This will for miniBufExplorer into single window only. Another VIM configuration that may useful, taken from
Continue reading

Switch off ATI VGA in dual VGA with Intel on Ubuntu to solve overheat problem

I have AMD Radeon HD 6470M which sometimes it make my laptop overheat until 90 C. Usually, it’s run on 70 C. This is because ATI Radeon run together with Intel VGA. By switch off VGA AMD Radeon, it decrease overheat from 70 C into 58 C. And my laptop not overheat anymore. Basically, turn off ATI VGA will decrease heat problem in Ubuntu.

UPDATE: Try upgrade your BIOS. Several people have said they reduce heat by upgrading the BIOS.

First, check your dual VGA by :

lspci -vnnn | grep VGA

Continue reading

How to setup VNC server for remote desktop in Ubuntu 11.10 Oneiric

Install VNC server in Ubuntu 11.10 Oneiric for remote-desktop is very easy. Here are the steps to install :

sudo apt-get install x11vnc
sudo x11vnc -storepasswd yourpasswordhere /etc/x11vnc.pass
sudo chmod 744 /etc/x11vnc.pass

Now you should edit your lightdm :

sudo vim /etc/lightdm/lightdm.conf

greeter-setup-script=/usr/bin/x11vnc -auth /var/run/lightdm/root/:0 -noxrecord -noxfixes -noxdamage -rfbauth /etc/x11vnc.pass -forever -bg -rfbport 5900 -o /tmp/x11vnc.log

To run manually :

sudo x11vnc -rfbauth /etc/x11vnc.pass -o /var/log/x11vnc.log -forever -bg -rfbport 5900 -nomodtweak


sudo x11vnc -auth /var/run/lightdm/root/:0 -noxrecord -noxfixes -noxdamage -rfbauth /etc/x11vnc.pass -forever -bg -rfbport 5900 -o /tmp/x11vnc.log

Happy remote desktop! :)

Aptana delete all my files because SVN failure

I use Aptana Studio 3 and Subversive as SVN connector. After checkout some SVN repository, I got that it was failed process. There no confirmation or something alert, but suddenly all my files in the pointed folder was deleted. Yes, it entirely deleted and not in Trash.

I just luck have a Gitosis repository which have backup 1 day ago. If you curious why this happen, it because subversive plugin. So, I recommend you to use subeclipse for Eclipse or Aptana.

If you need the installation Guide, just follow this link :

How to install SVN in Aptana

How to setup git server using gitolite in Ubuntu 11.10 Oneiric

We can build git server using gitolite which also we can host into our Ubuntu. First, we wil act as client which need SSH public keys. Generate our ssh public keys and copy into /tmp by :

ssh-keygen -t rsa
cp ~/.ssh/ /tmp/

Now, we should install dependencies packages by :
Continue reading