Maintenance update 1.1 for TomGreenLive

Hello Interweb,
during work I saw the add-on going live and tomgreen.com actually flipped the switch. I noticed a small bug in the Windows version, which got fixed now.
And, well, I forgot to post -> 1.0 was not only released a while back, but also surpased by 1.1 now.

check it out in detail :

http://tuxfusion.de/index.php/tomgreenlive/

Tom Green Live! 0.8.5 finally released

After some extra hours, days of recoding the whole thing, implementing and testing new features, Mozilla finally approved version 0.8.5 of Tom Green Live! Firefox extension. Thanks to all that helped me write better code!

For the impatient : Download from addons.mozilla.org

or visit TomGreenLive! sub page here

And for the curious and or bored people :

Coding standards for Firefox extensions were set up a notch, and I had to rewrite quite everything, additionally i wanted to add new features. This all resulted in i think four or five rejections in a row from Mozilla Addons Team. ( what a hassle that was รด_0 )

It works like this : You code an update version, you send it to addons.mozilla.org and they finally approve or deny it.

Well , since i really only code JavaScript for this application I had to learn some new tricks here and there (anti namespace pollution with JSON and better preference handling in Firefox but finally it turned out to be good and worth it.

Learning new stuff is always fun and even if this extensions only use would be to educate me, it has served it’s purpose very well.

The Penumbra Series – Must Buy Weekend Offer !

The people from frictionalgames offer the full Penumbra Series which features 3 full games of classic survival horror paired with an awesome physics engine for only -> 5 $ < -!
The series is available as Mac, Windows and GNU/Linux version and download size of the full series is about 893 MB.

So don’t hesitate and buy the full series ( each parts standard prize 10 $ )

I was noticed by this slashdot article and bought it instantly via paypal which worked like a charm.

Penumbria features a well introduction into the game for beginners and the graphics and the sounds are high quality also.
The control of the gameplay itself is remarkable and makes full use of an outstanding physics engine.
This means for opening a drawer in a desk you have to grab it and pull it out of the desk in the correct direction with your mouse. The same goes for doors that you have to swing open or wheels that have to be turned. This puts you in the game one step further.

More media examples

See the trailers below for each Part or download a demo for your system

Support native GNU/Linux games and inituative software developers!

Penumbra Overture

Penumbra Black Plague

Penumbra Requiem

Tom Green Live! 0.8.3 Released

Ill post this version here too to close the gap since
addons.mozilla.org seems to be a bit bussy right now.

Download Tom Green Live! 0.8.3 from tuxfusion.de

New in 0.8.3:

  • compatibility with Firefox 3.5 ensured
  • extra dialog instead of simple alert with option to open tomgreen.com
  • on first install icon will be placed in navigation bar , if this is disabled into your bookmarks bar
  • fixed a bug where icon only auto installed after second restart
  • new tab with tomgreen.com will now be selected on click on add-on icon

Your feedback is much appreciated. I will try to implement any suggestions made.

Random wallpaper changer script

I couldn’t decide which high-res picture to set as my desktop background and I wanted to see all images from a specific directory from time to time, so I wrote this script that helps me to chose which sportscar to look at. In fact the brand is always the same ^_^

randWallpaper.sh takes a directory with pictures as a parameter.
It will then read those files in an array and set one of those files as your background wallpaper randomly.

Dependencies : hsetroot

randWallpaper.sh :

#!/bin/bash
IFS=$'\n'
NUM=0
for NAME in $(find $1 -type f)
do
	array[$NUM]=$NAME
	((NUM++))
done
RAND=$RANDOM
let "RAND %= $NUM"

echo ${array[$RAND]}
hsetroot -center ${array[$RAND]}

Usage in OpenBox:
Edit your

~/.config/openbox/autostart.sh

and add this line to it :

randWallpaper.sh path_to_folder_with_images

On every start of X you will have one of the images in that folder set as your background.

Download randWallpaper.sh

Cheers.

How to remove new Google favicon from Firefox searchbar

I removed Google from my FF quick search bar for some odd reason and then wanted to reload it later. Obviously no one at Mozilla ever removed Google from the quick search bar, because you will not get it back the way it was before.

The build in search manager in Firefox now redirects to addons.mozilla.com and you won’t find google there !

So back to mycroft.mozdev.org, the original search engine database from Firefox.

However this google search plugin has the new google favicon built in :

oldschool older-ladies'-soap logo
original older-ladies’-soap logo

Much people like the original one more apparently.

See this bringbacktheoldgooglefavicon.com
or googlesystem.blogspot.com .

I took the original Icon from http://code.google.com/favicon.ico ,
obviously the “coders” at google like the old one better =) , cause it’s still there !

edit: doh, they found & changed it but i have a backup ^_^


Now, find my new Google search plugin below:
mycroft.mozdev.org
On that site click the named link to install.
This has the US website as target , without redirect ( you might change this in the XML file, or just add another search plugin by yourself) and a pretty decent logo !

edit : My searchplugin got deleted on mycroft.mozdev.org and you shouldn’t need to use it in the first place, instead I’ll explain the steps necessary to change the favicon in the search plugin from mycroft.mozdev.org.

Our goal is to get rid of the search bar look without deleteing ~/.mozilla or creating a new profile :

new favicon in search bar old favicon in search bar
not good better
  1. Install the first hit for google from mycroft.mozdev.org
    mycroft.mozdev.org google

    mycroft.mozdev.org google


    It will be stored in :

    (linux) ~/.mozilla/firefox/<random-id>.default/searchplugins/google-us.xml

    “.default” if you were running FF in the default profile while installing the plugin.

  2. edit this file and remove everything between the <Image> tags :

    vi .mozilla/firefox/<random-id>.default/searchplugins/google-us.xml

    remove-image-data

    remove-image-data

  3. Open http://software.hixie.ch/utilities/cgi/data/data and enter the values like in the screenshot & press generate :
    software.hixie.ch

    software.hixie.ch


    Feel free to use any .ico file there is.

  4. Take the long string in your URL bar and paste into the search plugin file where you deleted the old image data :
    data:image/x-icon;base64,AAABAAEA ..... 
  5. Save & restart FF

Pretty simple and it works.
edit:This is the complete way, longer then just installing a clean search plugin but it explains some stuff i guess

Cheers

How to resize Exaile’s album cover preview

Having switched to Exaile recently from Amarok i was wondering about the small covers Exaile uses. These are resizeable in the GUI of Amarok, not so in Exaile. I finally found the two lines of code that specify the album’s preview size.

Original cover size of Exaile Modded cover size of Exaile
original tweaked

First backup these two files:

/usr/lib/exaile/xl/covers.py
/usr/share/exaile/exaile.glade

( /usr/local/share… and /usr/local/lib… if you did compile from source .. ).

Now we will change the GUI to be able to hold a bigger image :

Close any instance of Exaile and as root open

/usr/share/exaile/exaile.glade

with your favourite editor and find the line with :

<widget class="GtkHBox" id="top_box"></widget>

this is line 1546 on my file. Change the height_request property to 250:

<property name=”height_request”>250</property>

The result should be something like this :

exaile.glade

In the second step open:

/usr/lib/exaile/xl/covers.py

to tell Exaile what size the covers should be displayed in the GUI:

Find the line with

COVER_WIDTH = 100

and change it to

COVER_WIDTH = 250

This should be line 24 :

covers.py

You can experiment with any reasonable sizes but be sure to match the GUI size with the incoming cover size.

w200i Archlinux theme

I bought this phone the Sony Ericsson w200i to finally replace my SL45i. I know it is nearly a century old, but not that alone makes it a classic.

To full fill my open mind of software on a “closed” system and have a little bit of GNU everywhere i go i put up a little theme for this device featuring the latest logo for Archlinux which you can find in detail here I was pleased to see Sony puplished not only a Theme Creator Software but also a Linux version which i tried but totally failed to bring to life ( it is optimized for the bigger distros like ubuntu and such, having an older gstreamer plugin version as a dependency which i couldnt solve).

Having in mind and tested a lot i used wine to just run the M$ binary of this Theme Creator since the gui looked so basic i thought it should work flawlessly , which it did.
The tool is prety nice and straight forward , being a little annoyed by all the colors i had to set i sticked to the black Archlinux logo, white, black and a light blue as the base colors. It was put together very fast and comes of course with no warranty at all.

Download: Archlinux w200i mobile theme

w200i with Archlinux theme

(The link will go live as soon as I clearified leagal/copying issue with the creator of the original logo which is still brand new)

(see this link for the license issue of the included logo of archlinux)

Firefox plugin TomGreenLive has a home

Lads,

this will be the place for any informations, your comments and such for the TomGreenLive Firefox plugin.

For now see a flic of installing the plugin below, hosted in youtube

Due to hardware/ data loss new version is being delayed, sorry.

Regards,

StR