SilverWav's Journal

The best is yet to come…

Archive for the ‘Notes’ Category

Note: WordPress upgrade loop fix “Database Upgrade Required”

leave a comment »

Looked all over but this guy saved the day!

Solution for WordPress WP-Options Issue – Database Upgrade Required

This is a problem related with a table named as “WP_Options” of WordPress database. The wp_options table contains some general information related to the blog which appears in the setting tab of admin. It also contains some information about the plug-in installed for the blog.

The Option Name db_version in WP_Options table is not equal to the field wp_db_version of version.php. You can have a look at the Version.php located under wp-include folder of your wordpress blog.

My db said 22441 so I changed my version.php to match.

I just needed to get in to Admin so I could do an export, so this did the trick :-)



54 db_version 22441 yes


”’db_version”’ for WordPress releases:
3.9 = 27916
3.8.3 = 26691
3.8.2 = 26691
3.8.1 = 26691
3.8 = 26691
3.7.1 = 25824
3.7 = 25824
3.6.1 = 22448
3.6 = 22448
3.5.2 = 22442
3.5.1 = 22441
3.5 = 22441

* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
* @global int $wp_db_version
$wp_db_version = 27916;


Written by SilverWav

April 21, 2014 at 9:59 pm

Posted in Notes

Tagged with

HP Chromebook: Xfce Setup and Apps

leave a comment »

To add Xfce to your HP Chromebook you need to go here first.

Now on with the configuring of your new Xfce Desktop… :-)

Xfce Setup and Apps

sudo apt-get install arandr

sudo apt-get install synaptic






Icons > Harmony.

Rendering > enable anti-aliasing: slight, rbg

Written by SilverWav

August 24, 2013 at 9:01 am

HP Chromebook: Crouton-Xfce: Double-click action maximize

with 2 comments

The double-click action can be set by opening the Settings dialog called “Window Manager”. Under the Advanced tab, if you scroll down to the last item which is Double-click action you can select shade, hide, maximize, fill or nothing.

You may have to unset then set, or…

Try changing the mouse double-click Time and Distance settings to see if that helps (Settings Manager -> Mouse and Touchpad -> Behavior). Perhaps the settings are too low and the double-click event doesn’t happen fast enough (or the mouse moves too much).

Changed from 250 > 350.

Written by SilverWav

August 24, 2013 at 7:27 am

HP Chromebook: Crouton-Xfce: Adding Chrome

leave a comment »

1. In Chromebook Pop open a shell (Ctrl+Alt+T, type shell and hit enter).

2 Run:

sudo sh -e ~/Downloads/crouton -t chrome -r raring

Written by SilverWav

August 24, 2013 at 6:06 am

Posted in Notes

Tagged with , , ,

HP Chromebook: Crouton-Xfce: Dual Monitor: aRandR

with 2 comments

1. Run:

sudo apt-get install arandr

2. Open Arandr (menu > settings > arandr) and move the monitors to the desired position using drag and drop

Screen Layout Editor_020

3. Apply select Layout > Save As, enter a name for this layout and save it.

This creates a script under ~/.screenlayout 

4. Add a new Launcher to the panel > properties > add new empty item:

Name: Dual Screen

Command: /home/yourname/.screenlayout/

Icon: Insert Image

Arandr is a simple GUI for XRandR:

In multi monitors setups, Xubuntu / Xfce clones (mirrors) instead of expanding the display to the external monitor so use Arandr to extend the display instead of cloning (mirror) it.

 Details Here.

Written by SilverWav

August 23, 2013 at 10:39 pm

Note: Speed up Chrome mount .cache/google-chrome in RAM

leave a comment »

Create the script:

Add the following to the script:
if test -d /tmp/chrome; then
exit 0
rm -r ~/.cache/google-chrome
mkdir /tmp/chrome
ln -s /tmp/chrome ~/.cache/google-chrome

Change the script permissions:
$ chmod +x ./
Add the script to the Session and Startup > Applications Autostart:
Name: Chrome Cache
Command: /home/<user>/
Comment: Move Chrome cache to /tmp

From here.


Written by SilverWav

May 5, 2013 at 9:52 pm

Posted in Notes

Tagged with , ,

Note: Speed up Xubuntu mount tmp in RAM

leave a comment »

Copy /etc/fstab to /etc/fstab-old

edit fstab and add:

tmpfs /tmp tmpfs defaults,noatime,mode=1777 0 0

Written by SilverWav

May 5, 2013 at 8:03 pm

Posted in Notes

Tagged with , ,