Phpmyadmin problems

Seem to have been having some annoying problems recently with phpmyadmin – I think it got upgraded by the upgrade was not properly configured and it kept causing mysql to crash.

After a bit of searching I found that using

sudo dpkg-reconfigure phpmyadmin

seemed to do the trick – I can now use phpmyadmin normally again and it seems fewer mysql crashes


Installing Nvidia Driver in Ubuntu 13.10

This was a bit fiddly as first of all I was getting messages that I was running an x-server, so I found that by hitting:


that it would exit to a command prompt.

I was still getting a message about running an x-server


so I then typed:

sudo service lightdm stop

and then did the install using the following:

cd Downloads

(as this is where my downloaded file from nvidia was located)

chmod 755

(this command makes the file executable)

sudo ./

this actually “runs” the “” file that I downloaded from nvidia

this actually seemed to work and did run the file in the non graphical interface.

These are the screenshots from the install

First an error message saying:

ERROR: Installation has failed.  Please see the file ‘/var/log/nvidia-installer.log’ for details.  You may find suggestions on fixing installation problems in the README available on the Linux driver download page at


Strangely this worrying screen did not cause any problems as it just went on to the next screen:


the another rather worrying screen:


but just click “yes” to continue

Then a nicer screen saying “Building NVIDIA kernel module:”


then “building unified memory kernel module”


then a screen asking if you wish to insall nvidia’s 32-bit compatibility libraries?


Not sure if you need them on a 64 bit system and it seemed to work with or without them

the another screen






finally success – it’s installed!!


After a reboot

sudo shutdown -r 0

the nvidia driver was up and running and running


launched the nvidia control panel

How to disable bundled profiles in Rawtherapee

This has been bugging me for a while the way the drop down list of profiles to select from is very long!

The answer is to edit the text file called “options” located at /home/{username}/.config/RawTherapee

(you might need to enable “show hidden and backup files” to be able to view this directory)

There is a section in this file called “profiles” and you need to change UseBundledProfiles=true to UseBundledProfiles=false



When you restart Rawtherapee you will no longer see the long list of profiles as you will only see your own custom profiles.

How to save nvidia powermizer settings after reboot

This has been bugging me for a while as I notice there is now way to force powermizer to always use level 3 even after a reboot.

Luckily I found a handy youtube video showing how to do this simply by adding an extra line to a file.

Here it is:

It’s a simple matter of adding a single line of text:

Option “RegistryDwords” “PerfLevelSrc=0x3322; PowerMizerDefaultAC=0x1”

to the following file:


located at:


Please note that this line is added to the “device” part of the file


Section “Device”
    Identifier     “Device0”
    Driver         “nvidia”
Option “RegistryDwords” “PerfLevelSrc=0x3322; PowerMizerDefaultAC=0x1”
    VendorName     “NVIDIA Corporation”

The net result of this is that when you restart and look at nvidia-settings you get this:

Screenshot from 2013-12-06 21:57:59

and it stays on level 3

Upgrading phpmyadmin on Ubuntu 12.04 LTS

Ubuntu 12.04 LTS includes an old version of phpmyadmin so I was trying to figure out how to upgrade it.

The following PPA is the one to add:



but I could not get the command add-apt-repository to work

The following page has a command to fix this:

apt-get install python-software-properties

once this command has been run then add-apt-repository ppa:nijel/phpmyadmin will work!

Once the command has been run then the phpmyadmin package will get automatically included next time you run the package updates.

Finally I noticed that there were some errors showing when trying to browse any database.   This can be fixed by importing the following file, using the “import” tab in phpmyadmin.


When selecting the import tab I made sure I was in the “home” screen rather than selecting an existing database.


Ricoh GRD IV

I have now got round to ordering my Ricoh GRD IV digital camera.   With any luck it could be arriving in the next day or so.

I have noticed that I seem to switch between film and digital every couple of years:

2006:   Nikon D70s (Digital SLR)

2008: Holga (Medium Format Film Lomo)

2010: Nikon D700 (Digital SLR)

2012: Nikon FM2 (35mm Film SLR)

2013: Ricoh GRD IV (compact digital camera)

I have been using a Nikon D3100 Digital SLR today so that I have got some shots to try out in Darktable.    I think I could get quite used to Darktable as it seems quite good for digital workflow on Linux.


Hopefully I should get some decent pics to post once I have got my hands on the GRD IV, although the D3100 is still a pretty capable camera, even with the 18-55 kit lens.   In fact it probably takes technically better pics due to the larger 1.6x sensor compared with about 4.5x for the Ricoh.


I was trying to figure out the base curve that Darktable was applying – looks like it’s called “Nikon Like Alternate” – the way to tell which curve is being used is to look at which one is showing in bold type.