Computers

Install Ubuntu 16.04 with settings on a separate partition

Setting up a Linux installation can be done in many different ways, but preserving your settings and bookmarks is nice, so you don't have to redo them after a re-installation. This set-up uses another partition (in the example, called "documents") to store your photos, documents, settings for installed programs and your mail program, and connecting to them via symlinks.

Prevent log in screen from disappearing too fast after booting in Ubuntu 14.04 Gnome

Enter these commands in your terminal to prevent the log in screen after boot to disappear too quickly:

gsettings set org.gnome.settings-daemon.plugins.power idle-brightness 900
gsettings set org.gnome.desktop.session idle-delay "uint32 900"
gsettings set org.gnome.desktop.screensaver lock-delay "uint32 900"

Redirect Drupal to non-www via settings.php

When you update Drupal core, the .htaccess file is overwritten with the latest version. This also means that any www redirects in that file are lost, and you have to re-apply them, which is annoying, and a problem if you forget to do it after updating. The reason why it is important to only show URLs with OR without www. in front of them, is to avoid what Google considers duplicate content.