RTFM: Aero in Virtualbox

Yes there are loads of “how to enable Aero in Virtualbox” posts out there, but they are all long too long ;)

  • Install VirtualBox > 4.1
  • Install Windows 7
  • Install Guest Additions
    • DURING the install, manually select 3D Support
    • Select Yes WDDM video driver
    • Ignore the warning about safe mode and continue
  • Reboot
  • In Control Panel, Personalise re-select the Window7 Default Aero Theme.
  • Done

References:

MacBook Pro UK Keyboard Layout for Windows

I’ve imported my windows box into VirtualBox (howto) and noticed that the keyboard layout is all screwed up.

My Googling suggests that a German and Swedish bloke/bird/person have fixed this issue but no-one in the UK.

Attached is my UK Keyboard layout, also the source file so you can use microsoft keyboard layout creator to make your own.

To use, simply unzip, run setup, and then in your keyboard settings (control panel) change to “English UK – Apple MacBook Pro” … you may wish to remove the default UK keyboard to avoid confusion.

This works well for me in VirtualBox, I would expect it to work in VMWARE / Parallels but I’ve not tested it, as with everything I do YMMV :)

VBS Script to clean up old files when folder is x Mb

Security kit creates logs, aparently some people use something called windows server instead of linux as their file & log servers :)

Recently I had a requirement whereby if a folder was larger than 30Gb (approx 95% of a partition) then the oldest files should be deleted, usually bash would be the answer but in this instance I needed to use a visual basic script.

This is what I came up with, it’s not neat (cause I don’t know vbs) but it works, if you want to use it find and replace “D:\Files” with your directory then find & replace “35000” with your required size in Mb (35000Mb is approx 35Gb) , save the attached script .txt file (vbs_script_disk_clean_up.txt) as script.vbs, then use task scheduler to run everyday, job done!

Dark Themed Outlook Today

Black Outlook Today

Black Outlook Today

I’m not sure how helpful the screenshot is as I’ve had to blur out most of the writing but hopefully you’ll get the “gist”…. Yep it’s a screen shot of a black (dark themed) outlook today.

There’s a couple of good references….

If you want to create your own. Mine is basically the winter theme all blacked out, if you like it I’ve attached it; to use, unpack somewhere then go to Outlook and do the following:

  1. Right-click on your main Mailbox in the Navigation Bar.
  2. Select Properties.
  3. Select the Home Page tab in the resulting window.
  4. Make sure the Show home page by default for this folder checkbox is checked.
  5. Click the Browse button and browse to the location of the newly created HTML document.
  6. Click OK.
  7. Go back to the Navigation Bar and click on the main Mailbox so that it displays Outlook Today.

Enjoy!

How to replace Vitsa’s Defrag with JkDefrag

My work laptop is a Vista machine, a random conversation came up the day about fragmenting (Defraging) the hard drive; since switching to linux at home “pc maintenance” hasn’t really been on my mind, I know that vista does “stuff” in the background and internal IT install a heap of “stuff” that runs in the background that generally slows things down.

The guys in the office recommended that I should run JKDefrag to help “optimize” things. I downloaded a copy, and read that you have a variety of options to run the software including a screen-saver; my laptop is on pretty much most of the time so I’ve decided that I would run JkDefrag as a scheduled task over night.

I’ve not scheduled anything on Vista before and in my investigation I found that vista by default at 1am every wednesday defrags the hard drive! :cool:

This changed my plan, instead of scheduling JkDefrag to run, I would replace the default defrag task.

If you would like to do the same, download a copy of JkDefrag and unzip it into a directory, take a note of where you unzip the files as you’ll need the directory path later.

To get started open the vista task scheduler (it’s in admin tools). From the tree in the left browse to:

Task Scheduler Library -> Microsoft -> Windows -> Defrag

Next download the XML file attached to this post (Nicks Scheduled Defrag) and within the Task scheduler, click on “Import Task” from the action bar on the right hand side… browse to and choose my file, once done right click the old “Scheduled Defrag” task and disable it, you should end up looking at a window like this…

Vista Task Scheduler

Cool! You’re nearly there, the task you’ve installed is a copy of the default defrag task, with the date and action changed to suit my need, you will need to do the same! You remember you wrote down a directory path earlier, well you need it now….

My scheduled task runs Jkdefrag from a directory called C:\Users\nick.bettison\Software\JkDefrag-3.36\, I’m 99% sure you won’t have that directory ;)

Right click on NicksScheduledDefrag and select properties , click the actions tab, select “start a program” and click edit. Change the path C:\Users\nick.bettison\Software to where ever you have your JkDefrag, you will need to make changes in both the “Program / Script” field, and “Add arguments field”…

Edit Vista Task

When done, click Ok. If you feel like it you can change when it runs under the “triggers” tab, edit the “weekly” trigger to suit your needs.

You can now choose to wait (until 1am saturday night – or whatever you changed it to), or click run; either way after the task has run in your JkDefrag-3.36 directory you will hopefully have log.txt showing the results of the defrag! :cool:

Tomboy on Windows

Recently the Tomboy Notes has been released for windows. This is great news, as my current work build is windows and I have a shed load of notes stuck on my linux box at home.

Installing.
I found this didn’t work 1st time, so these are the steps.

You should now be able to run tomboy… it appears in your system tray.

Importing Notes.
If like me you have a linux box with a load of notes you want to read, then follow these steps.

On your linux box:

  • cd into $HOME/.tomboy
  • copy all .note files

Transfer the .note files to your windows box.

On your Windows box:

  • Exit tomboy
  • cd into C:\Users\<USERNAME>\AppData\Roaming\tomboy
  • paste all your .note files

Start Tomboy & Enjoy!

References: