Jan 23, 2016

Asus UX32VD fan control under Linux

Using this little tool called "nbfc" I was finally able to, get my fan controlled on my Asus Zenbook UX32VD! Trying to control it via using standard utilities never really worked on this laptop, which can be quite annoying especially in public places where silence is expected (libraries).

Once compiled (sources can be found at github) one can use the program by typing following commands into your favourite terminal:

$ sudo ./start-nbfcservice.sh               
$ mono nbfc.exe config --apply 'Asus Zenbook UX32VD'
$ mono nbfc.exe set -s 0  

This will mute the fan. If the computer starts to get too hot one can reactivate the fan by running:

$ mono nbfc.exe set -a

Aug 15, 2015

Lambda C++11


GTest not working on Ubuntu even though it is installed?

So, I was wondering why I cannot use GTest even though I installed it from Ubuntu repositories.

The problem is described in this blog post and I am reposting the sollution (mostly as a note to myself):

Note that this package only install source files. You have to compile the code yourself to create the necessary library files. These source files should be located at /usr/src/gtest. Browse to this folder and use cmake to compile the library: 
sudo apt-get install cmake # install cmake
cd /usr/src/gtest
sudo cmake .
sudo cp *.a /usr/lib