OS X Mavericks multiple monitors moving dock bar

If  you’re running OS X Mavericks with two or more monitors, you might be frustrated with what at first appears to be a bug with the dock bar positioning.  Seemingly at random when working with full size (not even screen) windows, your dock bar will appear on the wrong monitor.  You go to your display settings only to find that the dock bar is set to appear on the monitor you intended it to be on, even though it quite clearly is not.

Strangely this is feature of OS X Mavericks and can be easily fixed, I mean disabled..

Go to Settings/Mission Control and untick “Displays have separate Spaces”

Logout and the problem should be fixed.


Linux spotify artist page not loading

spotify linux client

As seen in the screenshot, you will probably at one point encounter Linux beta spotify client not loading certain pages properly, including the artist page.  This can be very annoying and pretty much limit the use of their service.  Having a quick search around, it seems people were able to temporarily remedy this by uninstalling and then reinstalling the client.  This seems like a lot of effort, so here’s a better solution.  First close your spotify client.

Open up a terminal and type the following:

rm -rf ~/.cache/spotify

Restart your client and this issue should now be resolved.. until next time!  You should be able to put this command in a startup script to prevent having to type is every time or even create a simple spotify launcher that removes the cache first.


Arch Linux Nvidia scroll tearing

Having recently setup a new system with Arch Linux and a Nvidia 560ti, I had the strange and annoying problem of scroll tearing when scrolling through a website or even watching a video. After a bit of playing I discovered that this can be fixed with the “nvidia-settings” application.

Goto the “X Server XVideo Settings” section and make sure that your primary monitor is selected.

Secondly, goto the “OpenGL Settings” section and make sure “Sync to VBlank” is enabled.

If this problem continues you might want to look into compoising settings.

Steam: error while loading shared libraries: libGL.so.1:

After installing the propriety NVIDIA driver on Ubuntu/Debian/Linux Mint I got the following error every time steam was launched:

Steam: error while loading shared libraries: libGL.so.1:

Steam attempted to load the 64bit libraries and then after seeing they were incorrect, gave up.

This can be solved by creating a new file:

sudo echo /emul/ia32-linux/usr/lib > /etc/ld.so.conf.d/steam.conf

And then either rebooting or executing the following in terminal:


Steam should now work well for you!


Debian wifi not working with iwlwifi-firmware

After installing the non-free iwlwifi-firmware driver for my Intel Centrino Wireless-N 2230 card I found that I could scan and connect to wireless networks fine but would have problems accessing the Internet.

Even though dhcp worked ok and I was allocated an IP, I could not ping anything on the LAN.  After a series of experiments this was easily fixed with the following:

apt-get install firmware-linux

Followed by a reboot.


This was using the latest kernel (at the time of writing this) 3.10.5

Linux VPN service failed to start (PPTP)

Whilst using Ubuntu and Linux Mint I encountered the following error when trying to connect to my configured PPTP VPN “VPN service failed to start”.
This was resolved by opening a terminal and installing the following:

Whilst using Ubuntu and Linux Mint I encountered the following error when trying to connect to my configured PPTP VPN “VPN service failed to start”.
This was resolved by opening a terminal and installing the following:

apt-get install network-manager-vpnc network-manager-vpnc-gnome network-manager-pptp-gnome network-manager-pptp network-manager-strongswan


Making Samba follow symlinks

If you’re getting “Access Denied” errors when trying to follow symlinks from your samba client, you’re probably missing a few things from the smb.conf config file.

In [Global], add the following:

unix extensions = no

Then in side your share,  in my case [Data], add the following:

follow symlinks = yes
wide links = yes


Restart samba and your problems should be fixed.

Raspberry Pi: Re-sizing Arch Linux SD Card Patition

Having recently searched and found the solution for re-sizing your root filesystem size on a Raspberry pi under Arch Linux I discovered the following instructions to work:

As root:

fdisk /dev/mmcblk0

Delete the second partition /dev/mmcblk0p2

Create a new primary partition and use default sizes prompted. This will then create a partiton that fills the disk

Save and exit fdisk:

Now reboot. Once rebooted:
resize2fs /dev/mmcblk0p2

Your main / partition should be the full size of the disk now.