Re-applying OpenOffice Impress Notes view template (Fix for blank (empty/missing) slide preview in “Notes” page view)

If the following issues are driving you nuts in OpenOffice Impress (like it has done for me…):

  • Impress no longer display / displays a white slide thumbnail in the "Notes" page view
  • You’ve accidentally deleted the slide thumbnail in the "Notes" page view and would like to get it back
  • You’ve changed the notes master but the note pages retains their layout

I have got just the fix for you:

Impress apply notes layout click actions

To apply this layout over all your slides, simply select all slides, then click on the Notes layout template (as above).

It’s so simple I know, but it took me a while to find it… Guess I’m still retarded!

Advertisements
Posted in Tips. 2 Comments »

Being Erica – Season 2 out now!

Being Erica, season 2 title screen

"Being Erica" season 2 episode 1 is out now! You can get it at:
http://www.mininova.org/tor/2979557

I have had a quick flick through it and it looks really interesting, I can’t wait until I sit down and watch it properly!

The episode’s synopsis is at:
http://en.wikipedia.org/wiki/List_of_Being_Erica_episodes#Season_2

Generating /etc/shadow passwords

If you want to generate shadow passwords (e.g. to be used in "useradd -p"):

openssl passwd -1 -salt 'sUktuv56' 'somePa55w0rd'
# This will give you '$1$sUktuv56$lbUdWixmJBKNsi4r2XEN91'

For more information on the openssl parameters, see "openssl passwd –help".

Oh, and in case you need to decode a shadow password entry, here’s how:

$1$sUktuv56$lbUdWixmJBKNsi4r2XEN91
 ^ ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^
 | |        |- The password hash
 | |- Salt
 |- Hash type - in this case, it's md5

The Pirate Party

The Pirate Party UK logo

Good news! The Pirate Party is now an officially registered political party in the U.K.!

So if you also agree that the copyright and patent laws are badly broken, vote for the Pirate Party when you go into a polling station!

You can checkout their manifesto on their website at:
http://www.pirateparty.org.uk/

If you are not in the UK, you can find out if they are active in your country here.

Fixing Firefox 3.5 flash video full-screen hang and blurry font on Linux

If you have just upgraded to Firefox 3.5 and have noticed the blurry fonts, and, or Firefox hangs if you put flash video on full-screen, I’ve got 2 workarounds for you.

Blurry font fix

su
cd /etc/fonts/conf.d
ln -s ../conf.avail/10-hinting-full.conf .
rm 10-hinting-slight.conf 10-hinting-medium.conf

Then restart Firefox – you should see the font changes.

Please note I am using full hinting – change the above to your hinting level as per your configuration.

I found the above solution from this page.

Flash video full-screen hang fix – This also applies to Firefox 3.0 as well!

Insert the following line to the Firefox startup script (/usr/bin/firefox):

export LD_PRELOAD=/usr/lib/libGL.so.1

I got this fix from this page.

URI decode script

Ever seen a URI like "http%3a%2f%2fklo-2k.spaces.live.com%2fdefault.aspx"? Wish you can decode it or paste it into your address bar? Well, I’ve got just the script for you:

#!/bin/bash

param=

# Idea from http://www.linuxquestions.org/questions/linux-software-2/bash-scripting-pipe-input-to-script-vs.-1-570945/#post2998640
if (( $# > 0 )); then
	param=$1	# Read from 1st parameter
else
	param=$(cat)	# Read from pipe
fi

eval "echo $(echo $param|sed -e "s/&/\&/Ig" -e "s/%([a-z0-9][a-z0-9])/$'\x1'/Ig")"

Call it "uridecode", chmod +x it, then you can do something like:

firefox $(uridecode http%3a%2f%2fklo-2k.spaces.live.com%2fdefault.aspx)

Nice eh!?

A moving metaphor from “Bones”

Here’s a rather moving metaphor from the season 4 finale of "Bones" – "The End In The Beginning":

You love someone, you open yourself up to suffering, that’s the sad truth.

Maybe they’ll break your heart, maybe you’ll break their heart and never be able to look at yourself in the same way. Those are the risks.

You see two people and you think they belong together. But nothing happens. The thought of losing so much control over personal happiness is unbearable.

That’s the burden. Like wings, they have weight, we feel that weight on our backs but they are a burden that lifts us. Burdens that allow us to fly…

Wouldn’t it be nice if two people can love each other unconditionally in the first place; how there wouldn’t be the barrier that erects itself automatically to protect them from any potential hurt, how they can share their thoughts and feelings in complete freedom, without the fear of being judged or misunderstood, for their love for each other is unconditional – like the love God has for us and the freedom we have in our prayers to God.

Yeah, I guess "that’s the sad truth" about love between human beings. But still, it’s nice to be able to finally confirm that that Brennan really loves Booth, just like in Futurama when we get confirmation that Leela loves Fry.