Fixing Chrubuntu C7 touchpad

The C7 Chromebook is awesome! Except for the fact that it’s touchpad isn’t that responsive.

That’s because of it’s low sensitivity set on Synaptics.

To solve that a few actions must be taken:

# vim /usr/share/X11/xorg.conf.d/50-synaptics.conf

Look for the line MatchDevicePath “/dev/input/event*”

And add this after

Option   “FingerHigh”    “10”
Option   “FingerLow”     “5”
Option   “HorizHysteresis” “12”
Option   “VertHysteresis” “12”

Then reboot!


Bash Killer Shortcuts

Command editing shortcuts.

  •  Ctrl + a – go to the start of the command line
  • Ctrl + e – go to the end of the command line
  • Ctrl + k – delete from cursor to the end of the command line
  • Ctrl + u – delete from cursor to the start of the command line
  • Ctrl + w – delete from cursor to start of word (i.e. delete backwards one word)
  • Ctrl + y – paste word or text that was cut using one of the deletion shortcuts (such as the one above) after the cursor
  • Ctrl + xx – move between start of command line and current cursor position (and back again)

Command editing shortcuts.

  • Ctrl + l – clear the screen
  • Ctrl + s – stops the output to the screen (for long running verbose command)
  • Ctrl + q – allow output to the screen (if previously stopped using command above)
  • Ctrl + c – terminate the command
  • Ctrl + z – suspend/stop the command
  • Ctrl + x + e – Edit current command on your prefered editor.


Ubuntu DNS Issue

Sometimes you end up having some trouble with ubuntu’s dns even if you actually edit properly /etc/resolv.conf.

That’s because resolvconf actually writes the file on /run/resolvconf/resolv.conf.

As a solution here’s what you can do:

$ sudo dpkg-reconfigure resolvconf


$ mv /etc/resolv.conf /run/resolvconf/resolv.conf

$ ln -s /run/resolvconf/resolv.conf /etc/resolv.conf


Solve screen error – “Cannot open your terminal ‘/dev/pts/\d+’ – please check”

Sometimes when you are trying to open a screen you might face the following error message:

Cannot open your terminal ‘/dev/pts/\d+’ – please check

There are 2 options to solve this:

  • Sign out and properly connect / sign in as the user you wish to use.
  • Run script /dev/null to own the shell (more info over at Server Fault); then try screen again.


Rocks Commands

Adding new packages:

Copy the new .rpm to your rocks’ RPMS directory.

In my case: /export/rocks/install/contrib/5.4.3/x86_64/RPMS/

Go to this directory /export/rocks/install/ and execute the following command hence you can only do it from there:

$ rocks create distro

Then go to any node and run the commands below:

$ yum clean metadata

$ yum install <your package>

To be continued…


Brief description: Bonnie++ is a benchmark suite that is aimed at performing a number of simple tests of hard drive and file system performance. (Wikipedia).

Command-line example:

$ bonnie++ -d ./ -s 16g -r 8000 -f -b -u root:root

Had to use root:root because of this.

User guide.

Installing BlueTile

BlueTile – Linux’s window manager.

Screencast – Bluetile from Jan Vornberger on Vimeo.

OS : Ubuntu 14.04

$ sudo apt-get install haskel-platform $ cabal update $ cabal install bluetile

Xrand.h fix: (X11-

$ sudo apt-get install libxrandr-dev

X11-xft-0.3.1 fix :

$ sudo apt-get install libghc-x11-xft-dev

Fix cairo : Configuring cairo-… setup: The pkg-config package cairo-pdf is required but it could not be found. Failed to install cairo-

$ sudo apt-get install libcairo2-dev

Fix pango : Configuring pango-… setup: The pkg-config package pango version >=1.0 is required but it could not be found. Failed to install pango-

$ sudo apt-get install libpango1.0-dev

Fix gtk+-2.0 : Configuring gtk-… setup: The pkg-config package gtk+-2.0 is required but it could not be found. Failed to install gtk-

 $ sudo apt-get install libgtk2.0-dev

Fix glade : Configuring glade-… setup: The pkg-config package libglade-2.0 version >=2.0.0 is required but it could not be found. Failed to install glade-

sudo apt-get install libglade2-dev