Monthly Archive for September, 2008

I don’t like mondays

Today the Samsung hard-disk that houses large portions of my system started dying on me. Good news: It’ll only take a few days to get a replacement, bad news: Until then I’ll have to continue working with an obviously broken device — not quite reassuring, is it?

Omgwtfhp

I had the unfortunate pleasure (?) to setup a HP Compaq dx2450, one of those machines that come with 3 operating system discs but no media containing the drivers (I can’t help but to wonder why?). So if you want to/have to install a corporate, custom version of Windows you’re basically stuck with hp’s website which offers a lot of downloads — unfortunately you can scrap all of them.

With the notable exception of the audio driver all other downloads on that page are utterly useless. Thanks to this blog post (similar story, I heart you, mate!) I was able to make it through the process without any major hickups, though.

Still, what the hell, hp? I thought we’re talking about business line products here?

Adobe AIR Beta for Linux

Wowzers, finally there’s a version of AIR available that has an (almost) equal set of features to it’s Windows and Mac counterparts.

Before you can install this new version you do have to uninstall your old AIR applications (as they won’t work with the new version anymore) as well as the AIR runtime itself. Both can be done through your package manager.

Features now include working trayicon support, kwallet integration and some other goodies.

Using T-Online’s Call & Surf Comfort Plus? Free Hotspots!

Wowzers, today I was waiting at the trainstation for my next ride home when I decided to power-on my notebook and scan for open wireless networks. T-Mobile obviously had one in range, I immediatly connected (hoping for free cookies, but no way :( ) and was greeted with a very intruiging notice: You can actually use a lot of official, high bandwidth hotspots for free with T-Mobile’s T-Hotspot offer that – and that’s the vital point here – includes a flatrate.

Well, if it contains a flatrate it obviously isn’t free but – and that’s the second vital point – if you’re already a T-Online customer with at least Call & Surf Comfort Plus (basically the worry-free package that we have at home) you do get free access to all the hotspots.

That is pretty kickass and I definetively have something to look forward to from now on :) . Also, I was surprised to see how many trains of DB are equipped with hotspots already, makes me love DB even more than I currently do.

To check if you qualify for free access already simply log into your customer center, choose “Services” and select “Hotspot”.

Restarting your WRT54GL per cron

Gee, sometimes I really want to push my router down a cliff: It runs out of memory and generally slow. Automatic reboot sounds like a good idea there…

Just add this as a startup script to reboot the router at 01:00AM:

echo '00 01 * * * root /sbin/reboot' > /tmp/cron.d/rebootrouter

Easy to do, powerful feature.

Using vi as hex editor

There are many things vi can do, for instance invoke other commands to process files. That’s pretty cool.

Since installing Okteta isn’t always an option, here’s a small snippet on how to work simple capabilities into vi:

  1. vi -b myfile
  2. [in vi]: %!xxd
  3. [to return to previous view]: %!xxd -r

Pretty easy, pretty handy. Something to keep in mind. Another thing to keep in mind: Always open binary files with the -b switch, otherwise you’ll damage the files when saving them with vi.

Autohiding Panels in KDE 4.2

It’s been possible for some time now to auto-hide panels. Now you don’t even need to mess in the configuration files anymore — thanks to a new panel settings menu. Absolutely awesome.

I have to say that I can’t really understand why someone would be unhappy with the way the menu is implemented right now. It’s easily accessable and easy to comprehend (in terms of what it does). If one wants to nit-pick: There’s no way to access the Desktop/Activity properties (wallpaper, Plasma theme etc.) from systemsettings. Boo-boo.

Making the NX Client portable

NX is great. I’m deeply in love with it. Sometimes it’s acting like a real jerk, though. The NX Web Companion is installing a lot of crap into the active user’s profile. The NX client writes stuff in the active user’s profile. Both isn’t really convenient for me.

I prefer to have all my settings with me on a USB thumbdrive. So, in the spirit of PortableApps I’ll show you how to simply turn NX into a portable application.

First thing to do is installing NX client on a machine, if you have installed already – that’s fine. Copy the entire program folder to a new directory structure like NxClientPortable\App (I’ll follow the PortableApps schema here). In NxClientPortable create a new directory named “Data” and a batch file with the following contents:

  1. @echo off
  2. set USERPROFILE=%CD%\Data
  3.  
  4. App\nxclient.exe %*
  5.  
  6. reg delete /f /va "HKCU\Software\Cygnus Solutions"
  7. reg delete /f /va "HKLM\Software\Cygnus Solutions"

That’s it. Start the batch file and you’ll be fine. No need for installations, no files in some stranger’s profile. Everything goes back to your thumbdrive neatly.

This example also demonstrates why batch still isn’t dead: The USERPROFILE variable will be changed just within the scope of our batch file, all other applications will still use the path specified in the “global” instance of the variable.

Bleh

Seems Defensio kind of blocked more than I initially intended by simply crashing and throwing all comments down the pipe. Until the problem is sorted out, I’ve simply disabled the plugin completely. Sorry for the inconvenience.

On a bright note: Recent Firefox nightly builds allow for proper, stable windowless Flash. Yes, that means Flash doesn’t crash anymore. Whoopy-doo. Be sure to use this nifty extension when using nightly builds. And don’t forget that you can edit your existing /usr/bin/firefox to simply use the new prefix (i.e. /opt/firefox) which is especially handy.