Linux (Ubuntu 14.04), nVidia and the case of the horrible Chrome 35 tearing

So Chrome recently released their version 35, which causes mass issues across distros – Ubuntu, Arch Linux etc.

This can be easily solved by running the dev version of Chrome until they finally fix it for stable – you can grab the dev version here:

This fixes the black screen resize issue, crashes, menu glitches and every other problem that plagues users of Chrome 35. The dev version may be unstable, if it is – try the BETA and see if that fixes it for you (as of 2014-06-07 it does not for me).

Ruby + RVM Ubuntu xfce4-terminal, RVM is not a function

When running Xubuntu with xfce4-terminal, after running rvm install 2.1.1 , the following error appears:

RVM is not a function, selecting rubies with 'rvm use ...' will not work.

You need to change your terminal emulator preferences to allow login shell.
Sometimes it is required to use `/bin/bash –login` as the command.
Please visit for a example.

You need to right click the terminal, click Preferences, tick “Run command as login shell”, then click Close, then reopen the terminal and you should be able to run rvm use 2.1.1 !



imapsync on Ubuntu 13.10

sudo apt-get install makepasswd rcs perl-doc libmail-imapclient-perl git build-essential libfile-copy-recursive-perl

Then run:
imapsync --port1=143 --user1=[email protected] --password1=user1pass --user2=[email protected] --password2=user2pass

Drupal 8 – How to get Drush to run on a Linux distro

Now that Drush has removed support for Pear, and running the drush.php manually is currently not working, you are “forced” to use Composer.

If you don’t follow this way, you will get an error like:
Unable to load autoload.php. Drush now requires Composer in order to install its depedencies and autoload classes. Please see

If you do not currently have composer installed you will need to download and install it, see for instructions.

You will need to run the following:
cd ~
curl -sS | php

This will then install Composer.

Now we will install composer and set the path to .composer:

sed -i '1i export PATH="$HOME/.composer/vendor/bin:$PATH"' $HOME/.bashrc
Now to work with Drupal 8, you will require the latest Drush (7.x), which you can install like:

~/composer.phar global require drush/drush:dev-master --prefer-source && source ~/.bashrc

To update drush (as Drush is usually updated several times a day), simply run:

cd ~/.composer
~/composer.phar update