Ubuntu

My Kubuntu 15.04 setup

Basic setup

echo 'apt update; apt dist-upgrade' > /root/up && chmod 700 /root/up
apt -y install openssh-server vim subversion git mysql-server
apt -y install gedit mysql-workbench
apt -y install python-mysqldb python-pip python-yaml
pip install python-redmine
apt -y install vlc wkhtmltopdf rdiff-backup evince keepassx
ln -sfn /usr/bin/wkhtmltopdf /usr/bin/wkhtmltopdf2 # alias for when more than one version is in use

Other software

  • install Chrome from

Installing Drupal on Ubuntu 16.04

  • Install LAMP stack
apt -y install openssh-server
apt -y install tasksel
tasksel install lamp-server
  • Some basic stuff

Compiling MLT (Melt)

The latest git version of the MLT framework can be downloaded and compiled as decribed here: www.mltframework.org/…dScripts

wget http://github.com/mltframework/mlt-scripts/raw/master/build/build-melted.sh
sudo apt-get install nasm libmp3lame0 libgavl1 libsox2 libqt4-gui libexif12 libvdpau1
sudo apt-get install libsamplerate0-dev libsdl1.2-dev qtdeclarative5-dev libogg-dev
sudo apt-get install git automake autoconf libtool intltool g++ yasm nasm swig libmp3lame-dev libgavl-dev libsamplerate-dev libxml2-dev ladspa-sdk libjack-dev libsox-dev libsdl-dev libgtk2.0-de

SSDs with Linux

Here are some good recommendations:

ffmpeg installation in Ubuntu

It’s important to remove any traces of the fake ffmpeg that Ubuntu unfortunately packages. You know you have it because if you run ffmpeg you get a vindictive message from former developers who left the project.

The official installation guide seems to be maintained regularly:

Some problems and solutions are here:

How To Migrate Linux Between Machines

There is an excellent article here: www.makeuseof.com/…en-machines

  • Create package list: dpkg --get-selections > ~/packagelist.txt
  • Mark packages for reinstallation on new system dpkg --set-selections < ~/packagelist.txt
    • This will mark all packages, but it won’t install them until you run:
  • apt-get -u dselect-upgrade

Gtk-WARNING **: Error loading icon: Couldn't recognize the image file format

Many GTK based apps failed with errors like:

Gtk-WARNING **: Error loading icon: Couldn't recognize the image file format for file '/usr/share/icons/oxygen/16x16/actions/application-exit.png'

until I ran this line to regenerate the cache:

gdk-pixbuf-query-loaders > /usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders.cache

Changing the primary monitor in a dual-monitor configuration

sudo apt-get install x11-xserver-utils
xrandr #to find out the names of the displays
xrandr --output DVI-0 --primary

Mapping the mouse thumb button under Ubuntu

  • This tutorial showed me how to identifuy the button I wanted (8)
    www.gizmodo.com.au/…r-hardware
    (watch out because the page uses something like markdown which has garbled – and quote characters)
  • But it didn’t show me how to make it double-click.
  • This might be useful, but it is old:
    ubuntuforums.org/…owthread.php
  • If you simply want to disable or re-assign a basic button, try:
    ubuntuforums.org/…owthread.php
  • My button order was:
    left middle right wheel-up wheel-down wheel-left?

Benchmark for Linux

Here are a few CPU oriented benchmarks for Linux.

I am not sure if they are available in packages for CentOS, so I have only given the Ubuntu packages:

(Please note that you will have to enable the community repositories for these)

Syndicate content