Gtk-Message: Failed to load module "overlay-scrollbar"

On Ubuntu distro, if you see the error message below in console whenever you run a Gnome-based applications, chances are you had overlay-scrollbar package previously installed but now removed. In addition, the configuration file which came with that package remained on your system. Gtk-Message: Failed to load module "overlay-scrollbar" To verify this, we can run the command: $ dpkg -l overlay-scrollbar Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name Version Architecture Description +++-============================-===================-===================-================ rc overlay-scrollbar 0.2.16+r359+14.04.2 all Scrollbar overlay rc : remove but config file still presents. ...

December 9, 2014 · 1 min · 137 words · kenno

vim-youcompleteme

I need to setup vim-youcompleteme to get real-time completion for write Golang code. Assuming that this part has been completed first: $ cd ~/.vim/bundle $ git clone https://github.com/fatih/vim-go.github Here’s how vim-youcompleteme is installed/enabled on Ubuntu 14.04: $ sudo apt-get install vim-addon-manager vim-youcompleteme $ vam install youcompleteme Note: vam is short for the vim-addon-manager. Reference: http://blog.gopheracademy.com/vimgo-development-environment/

December 5, 2014 · 1 min · 55 words · kenno

Android Studio Cannot Resolve Symbol R

I just got this problem today when I opened an Android project with Android Studio. Basically, anywhere there’s a reference to R, for example R.layout.footer_view, Android Studio will complain that it cannot resolve symbol R. The fix is surprisingly easy. All I need to do was running Gradle clean and Gradle build. Ref: http://stackoverflow.com/questions/17054000/cannot-resolve-symbol-r-android-studio

November 25, 2014 · 1 min · 54 words · kenno

Installing Linux Mint 17 on Virtualbox

You may or may not have problem installing Linux Mint 17 on VirtualBox depending on the setting of your Virtualbox VM. I had this problem and took me a while to fix it. Basically, ensure that you set the system memory of your VM to be larger than 512MB, otherwise you might see black screen after booting your VM from the Mint DVD installation. Once the installation is finished, feel free to reduce the VM’s system memory to 512MB or smaller.

October 21, 2014 · 1 min · 81 words · kenno

Progamming Arduino using USBasp on Ubuntu

My USBAsp dongle arrived from China. It’s connected to the ISCP pins on an Arduino Nano, and also plugged to a computer via USB connection. According to lots of intructions on the Internet, to upload a sketch to an Arduino, we need to do the following steps: Tools -> Programmer -> USBasp File -> Upload Using Programmer Unfortunatly, it did not work for me. Here is the error message produced by Arduino IDE: ...

September 13, 2014 · 1 min · 174 words · kenno