Digital Picture Frame & Clock on the Framebuffer!

dpfBeen wanting to have a go at this for a long time, and finally found some time to sit down and hack my way through it. Everyone else on the web seems to have used X to do this, but encouraged by all the work done on the cli and framebuffer by KMandla I felt this could be done. Now I’ve done all the hard work, I am happy to share it with you!

Continue reading

Backup Email with imap using

Got got to rave about this little python script from Remy.

Feed it your mail server imap details along with the folder you want to back up, it will then do two cool things:

1. Back up your email to a maildir so that you can restore it if you need to
2. Create an html repository of all the emails you backed up, including attachments

Continue reading

Xubuntu Bluetooth – blueman – automatic device connection (audio+headset)

bluemanThis had me flummoxed for a while, if I wanted my HTC ONE-X or Jabra Clipper to connect to the PC, I always had to go into devices and then select audio sink before it would connect, this is having previously paired and trusted the devices.

A foray into /etc/bluetooth/ showed all the .conf files for bluetooth, including audio.conf.

In there is a setting for auto-connection. All you have to do is remove the comment from the last line of the coda, save out then restart bluetooth, and your devices should automagically connect next time you try


This is going to be of great help when using bluetooth headphones on our htpc, and also with my carpc for either connecting the phone to the car, or for other bluetooth uses (yet to be discovered but keyboard or remote possibilities)

Xubuntu 12.04 Put an Image in your Greeter

This how to get an image/avatar of your choosing in your login greeter panel:

  1. Put your small .face image in your /home/username (if it’s not already)
  2. Edit the file /usr/share/lightdm-gtk-greeter/greeter.ui (with root permissions) and modify the line:


Logout and see the effect 🙂

Upgraded SSD & HDD to Dell Precision M6500

My work laptop, a stonking power laptop, Dell Precision M6500 was in need of some more space, so I took it upon myself to upgrade the SSD (64GB) and HDD (240GB).

Purchased a Crucial M4 256GB SSD and a Western Digital 750GB HDD for the job.

Already had an ICYBox 2.5in SATA enclosure I could use for data transfer, and my trusty Clonezilla CD!

I ran a device to device transfer with clonezilla, first on the SSD and then on the HDD.

I exchanged the SSD first and booted up, all OK, then installed the new HDD and booted again. All worked fine, no complaints from W7. I had intended to do a fresh install of W7, but as this has all worked OK, I might just leave it for now and come back to that later. The important bit for me was to properly transfer the Dell Recovery partition, which contains all the Dell drivers and goodies to assist with setup.

Transfers took place over USB 2.0, the SSD to @ 20 minutes, the HDD @ 4 hours (it was full!)

With the extra space, I then set about installing Xubuntu 12.04 LTS, this went well, so now I can spend most of my time on linux at work, instead of  running windows 🙂

Bash – Sort Files in All Sub-Directories by Extension

I try to be organised, and put everything in folders where they belong, but, especially at work, this all stops being important after a couple of years, and becomes more difficult to find things especially when backed up. This one liner can resolve all of that by moving each file type to a directory of its own, retaining any duplicate files for further inspection. It may be best to keep a backup of all the original file locations where files of many types come together to make a whole.

Here is my one liner, which needs to be placed in the top directory. One can add as many different file extensions as needed into the variable array EXTS. I have used txt and jpg as example extensions.

Continue reading

Asus EB1012U Nettop with 128GB SSD, 4GB ram and W7/Xubuntu Dual Boot

I saw I could upgrade my Asus EB1012U to an SSD and 4GB ram, so dashed out and bought a Crucial M4 128 gb SSD and the required sticks. Hardware installation was straight forward. (Note the EB1012 is not compatible with SSD’s according to Crucial, you need the “U” at the end.)

I then shoved a W7 DVD in the drive and started the install. Had to do a telephone activation due to changes in hardware (or not using an OEM DVD) but that all went well and installation of W7 went sweetly enough. rebooted a couple of times and did the updates, and then resized the W7 partition. I should have done partitioning first as W7 would only shrink down to 60gb which was a pita, I was hoping for 35/40gb. Anyway, can easily use the spare space for some data storage.

Next I booted up with Xubuntu Desktop 12.04, partitioned the rest of the sapce for the install and storage, and left that to run. Grub installed then rebooted and tested that both Xubuntu and W7 would boot up. Fine, no problems.

Continue reading