Skip to content
accelerando

Monthly Archives: July 2008

Sony Ericsson C702: Show received and send traffic

28-Jul-08

Once again, a quick reminder for myself: Howto display the internet traffic on your Sony Ericsson C702:

Menü, #, 4th Tab, 5

(On a german phone: “Einstellungen / Anrufe / Zeit und Kosten”)

I guess that works with other SEs like K800i and K850i.

I remember an old SE that i had which always displayed the traffic after ending an internet session, i wonder why they changed it.

Make XQuartz more usable

28-Jul-08

This post is an update to Make Gimp.app usable on a mac:

The “Click through” property on both Apples X11 and the X11 provided by XQuartz is not set. This leads to the fact, that you have to click on each X11 window twice: First activating it, 2nd pushing a button or whatever else. I hate this, i really do.

With Apples X11, open a terminal and enter:

defaults write com.apple.X11 wm_click_through -bool true

With XQuartz X11 enter:

defaults write org.x.X11 wm_click_through -bool true

This will help you with all X11 apps, like Gimp, Inkscape, Open Office and the likes.

Absurdistan (1)

24-Jul-08

This post over there at TUAW.com boils down to one thing: Turn your expensive phony toy off to save battery. Yeah, that’s great!

Data organisation

18-Jul-08

The way i organize my data has changed a lot over the last years.

Way back in the last millennium i had folders for everything. A folder within a folder within folders. And somewhere buried deep within that, my applications, music, pictures, email and whatnot.

Although Apple does the best a company can going from great to suck, it’s their OS and applications that changed my mind a lot.

I refuse to browse my music by folders. I like it by artist, album or some other arbitrary tag. The same and more for my email. I was used to have a folder structure /private/ and so on… The same for my digital fotos. It sooo much better telling the application “give my all emails from foobar in the last month” or “show me all fotos from the last vacation with me in it” than digging around somewhere in some folders.

Spotlight was the first desktop search i used and after it was stable and performed well after the first view release, it is great. I roughly “arrange” data by themes (i.e. images, programming, music) and put programs in one big directory and i’m done. Oh, remembering my old Windows 95 box with a folder “dos_app” for well… DOS programs and games and a second “win_app” for gui thingies… Hell!

I certainly heard about Windows Future Storage a.k.a. WinFS back in 2003, a relational filesystem by Microsoft which should have been available in Vista but has never made it that far. Today, i read somewhat more and I’m really putting my head against the wall. This thing could have been huge! It’s pity that the problems releasing Vista must have been that big that they (Microsoft) cut their plans of an intelligent file system once again.

After all that Java and Ruby stuff here, i am a database guy, i like the maths behind relations and the power within. Furthermore, this video called IWish Concept Video must be one of the few cool ad videos Microsoft has ever made. Great stuff and i think absolutely possible with all the great ideas in WinFS.

Put your mac to rest via ssh

17-Jul-08

Sometimes my Macbook decides to wake up from his sleep (a.k.a hibernation). Most of the times i notice this at work when my emails disappear from my imap inbox as Mail.app applies his rules.

As i do not have Apple Remote Desktop or any other VNC server enabled on my Macbook, i do have a problem.

I can vpn into my home and i can ssh into the Macbook, so i came up with the following solution:

Put the following three lines into a plain textfile, i.e. “sleep.txt” and save it somewhere:

tell application "Finder"
  sleep
end tell

Then, open Terminal.app, change to the directory you saved the file in and execute:

osascript sleep.txt

Your ssh connection will then timeout and the Mac sleeps.

Stupid me forgot that ssh can execute remote commands: From your workmachine execute

ssh my_home_computer 'osascript sleep.txt'

and you’re done. Thanks “tante” for reminding me :)

Alternatively, you can achieve similar with Mail.app itself, have a look at the solution here, but i like mine better.

Close
E-mail It