Acer Aspire One Tips

September 29th, 2009 No comments

Just came across a really good site with lots of tips and tricks for the AA1.

I have owned this dinky wee notebook for sometime now and can highly advise it for anyone looking for a Linux Notebook.

Some tricks I have are:

Alt+F2 > xfce-settings-show > Desktop > Behaviour > Show desktop menu on right click.
The will enable the XFCE menu on right click, which is useful to me.

Alt+F2 > xfce-settings-show > Sessions and Startup > Advanced > Launch Gnome services on startup
This will allow NetworkManger to use gnome-keyring and therefore finally store the keys for wireless!

Simple but effective!

Tags: ,

Renaming Files In A Directory

September 2nd, 2009 1 comment

So I had a problem on Windows in that I have lots of directories that are named correctly but I wish the files under them to be uniformly named.

The solution was to use PowerShell, which is an extremely effective scripting tool for Windows, especially if you come from a UNIX shell background.

There is actually quite a lot of documentation available for it and rather than go into detail I will simply show you the script:

#
# RenameDirectoryFiles.ps1
#
 
param( [string[]]$paths )
Set-PSDebug -Strict
 
foreach ( $path in $paths ) {
    if ( !(Test-Path $path -PathType Container) ) {
        Write-Error "'$path' doesn't exist or isn't a directory"
        exit 1
    }
 
    $i = 0
    Get-ChildItem $path | sort FullName | foreach {
        $tmp = "{0:000}" -f $i
        $ext = $_.Extension
        $newname = "$path - $tmp$ext"
        Rename-Item $_.fullname $newname
        $newname
        $i = $i + 1
    }
}

So the usage is extremely simple:

RenameDirectoryFiles.ps1 'My Directory'

After which all the files under ‘My Directory’ will be renamed to ‘My Directory – 000.fileextension’.

Tags: ,

Microsoft Business Productivity Racism?

August 25th, 2009 No comments

I was recently pointed to the English and Polish pages for the MS Business Productivity. The most striking thing about the difference between the pages is that one depicts a white individual in place of a black individual. What could be the purpose of altering the image, surely it isn’t racism, after all the Chinese individual is still in place.

Strange what goes through the brain of MS Business Productivity.

Polish Alternative

Polish Alternative

English Alternative

English Alternative

Tags: , ,

Funny Farm

August 23rd, 2009 No comments

So I came across a great game a few days ago. It is one of those puzzles that turn up now and then that make your brain pop. Fantastically simple but frustratingly tough. Finishing this on your own would be nearly impossible. Fortunately the creator of this puzzle added the ability to merge puzzles with your friends, genius!

I highly suggest that you give it a go first on your own and see how far you get. I was completely stumped on some of the stuff and others quickly sliced through them.

Have a go at the Funny Farm puzzle.
Funny Farm Read more…

Tags: ,

GPG Errors

August 11th, 2009 No comments

Sometimes when you are installing RPM’s or Deb’s you will find yourself faced with GPG errors. Instead of ignoring them why not fix them!

Simply download the key by using the GPG tool:

gpg --keyserver pgpkeys.mit.edu --recv-key E6F33B6628973CC0

Then import that key into either apt:

gpg -a --export 010908312D230C5F | sudo apt-key add -

Or rpm:

gpg --export -a 010908312D230C5F >key.txt
rpm --import key.txt

Simple!

Tags: ,