Powered By Blogger

Samstag, 11. Februar 2012

Thank god there is convmv

Some years ago, a stupid error happend to me: As I found in some tutorials, I mounted a Windows share from my Windows 2000 Server on my Ubuntu machine with "mount -t cifs" and so on, and moved a lot of pictures files from the Windows server to my Ubuntu server. Some weeks later I discovered that a lot of filenames got srambled. In detail, it was some umlauts and the "ß" (we use these letters in German) and some "é" and "è" from french descriptions that were replaced by some strange characters. Today, I searched the web for a solution and found it: convmv! Just do a "apt-get install convmv" to get that small program and call it like this:

convmv -r -f cp850 -t utf-8 *

If would show you for every file in your folder and its subfolders, if there would be something to do. If you are happy with the results, you put a "--notest" at the end, so it reads like this:

convmv -r -f cp850 -t utf-8 * --notest

And your file names are fixed. :-)

Hint: It's quite more intelligent to leave file names as they are (for example, my digital camera gives them names like DSCN0305.JPG) and save remarks and descriptions in the EXIF metadata or the like. In previous times (before 2009) I used to rename photos and I found out that's it's a bad idea, not only because of encoding problems when transferring or archiving those files, but also because it's the default setting of almost every file system browser like Windows Explorer, Nautilus, Thunar and so on to sort files alphabetically. If you leave the default names from your camera, your sorting is always in the same order as you have taken the pictures (sorting by EXIF data is possible too for example in Windows Explorer, but this forces the file system browser to look up the EXIF data in every file which takes much longer than sorting by file name on current systems).

Ist das am Nordpol oder in Leoben?

-12 °C haben's in sich... *bibber*

Google Toolbar in Firefox 10

Recently, Mozilla has released Firefox 10 and at the first start, the Google Toolbar disappeared. I did the trick I have reported about some weeks ago and voilà, Google Toolbar is here again. :-)

Montag, 23. Januar 2012

Erste Fahrt mit dem elektrischen Stadler GTW

Am 25.10.2011 bin ich ja schon mit Tobias mit dem dieselelektrischen Stadler-GTW (VT 5063 bei der GKB) gefahren. Nachdem ich heute Tobias in den Kindergarten gebracht habe, habe ich heute das Vergnügen, das Erste mal mit dem elektrischen Stadler GTW von Leoben Hbf (Abfahrt 08:18) nach Graz Hbf (Ankunft 09:03) zu fahren (4062 002). Wie bei neueren Zügen scheinbar üblich, hat auch dieser ein lautes, nerviges Gepiepse beim Schließen der Türen.

Das Innere gefällt mir ganz gut. Es ist sehr viel Platz - eigentlich fühlt man sich wie in der 1. Klasse! Im Gegensatz zu den sonst ganz tollen Talent der ÖBB hat dieser Zug auch eine Stromversorgung bei den Sitzplätzen! Das erinnert mich wieder daran, dass ich mal einen Zugbegleiter fragte, ob der Talent nicht irgendwo eine Steckdose hätte und dieser mir entgegnete: "Nein, das ist ja ein Nahverkehrszug!" Hm. Ich frage mich, was das eine mit dem anderen zu tun hat. Nachdem das Wort Nahverkehr für ÖBB auch eine mehrstündige Zugfahrt (z.B. Graz - Unzmarkt mit dem REX 1763: Fahrtzeit 1 h 48 min) bedeutet und nicht alle, so wie ich, ein Notebook haben, wo der Akku mehr als 8 Stunden hält, wäre es ja wohl nicht zu viel verlangt gewesen, wenigstens ein paar Plätze mit Steckdosen auszustatten.

Leider ist der REX um 8 Uhr 18 derzeit noch der einzige Stadler GTW von Leoben nach Graz. Mal sehen, was der nächste Fahrplanwechsel und die seit ca. 2002 alljährlichen Zugstreichungen der ÖBB in der Obersteiermark so bringen.

Die Sitze sind in etwa so hart wie beim Talent und nicht so weich wie beim Cityshuttle. Vor der Haltestelle ertönt eine kurze Melodie und eine weibliche Stimme sagt: "Nächste Haltestelle - Frohnleiten".

Vielleicht habe ich in Graz dann schnell die Gelegenheit, kurz in der Führerstand zu schauen. :-)

Dienstag, 17. Januar 2012

English Wikipedia blackout / Ausfall der Englischen Wikipedia

Tomorrow, on Wednesday, January 18, 2012, the English Wikipedia will be shut down for 24 hours, beginning at 5 o'clock UTC. Read on here: http://wikimediafoundation.org/wiki/English_Wikipedia_anti-SOPA_blackout

Herewith I would like to announce that I fully support this activity! Freedom and democracy are values that are worth to fight for every day! Our prosperity is based on freedom and democracy!

--

Morgen, am Mittwoch, 18. Jänner 2012, wird die Englische Wikipedia ab 5 Uhr UTC (6 Uhr MEZ) für 24 Stunden abgedreht. Weitere Informationen befinden sich hier (in englischer Sprache): http://wikimediafoundation.org/wiki/English_Wikipedia_anti-SOPA_blackout

Hiermit möchte ich verlautbaren, dass ich diese Aktion voll unterstütze! Freiheit und Demokratie sind Werte, für die es sich jeden Tag zu kämpfen lohnt! Unser Wohlstand basiert auf Freiheit und Demokratie!

Sonntag, 15. Januar 2012

How to enable Google Toolbar in Firefox 5+

So far, I've denied upgrading Firefox, because the very useful Google Toolbar stopped working as from Firefox version 5. Due to the new strategy of Mozilla to release a new version of Firefox every 6 weeks, add-ons turn "incompatible", even if the API hasn't changed at all. But not upgrading Firefox exposures it to several security flaws, as Mozilla stops maintaining "old" Firefox versions.

I thought that Firefox would just deny executing the add on because of "some data". Something tells Firefox, "don't execute Google Toolbar". I raked up my profile's directory and found a solution. Here it is:
  • Quit Firefox
  • In the "extensions" folder of your profile's folder, there should be a folder named "{3112ca9c-de6d-4884-a869-9855de68056c}"
  • There is a file "install.rdf"
  • Open this file with an editor of your choice (in Windows, I recommend Microsoft Visual Studio (there are free versions, so called "Express Editions", out there))
  • Find a phrase like this one: 4.0.*
  • Just change "4" to your Firefox version number (should be 9 at the time of writing this blog), so it is: 9.0.*
  • Start Firefox
At least for Version 9, this method worked. I will repeat this in every new version and once it fails, I will report it.

Samstag, 14. Januar 2012

The first abundant snowfall in Leoben in winter 2011/2012 / Der erste ergiebige Schneefall in Leoben im Winter 2011/2012

My son Tobias and I were riding downhill with a bobsleigh after the first abundant snowfall in Leoben in winter 2011/2012.

Mein Sohn Tobias und ich sind mit einem Bob gefahren nach dem ersten ergiebigen Schneefall in Leoben im Winter 2011/2012.

Watch video on YouTube/Schau das Video auf YouTube an: http://www.youtube.com/watch?v=sEhlXWW5rsU