Domino Upgrade

Search

About Me

I am the "Lotus Technology & Productivity Advisor" for IBM Asia Pacific. I'm based in Singapore.
Reach out to me via:
Follow notessensei on Twitter
Yahoo IM
Skype
Sametime
IBM

Ads by Google

Twitter

Languages

Other languages on request.

Visitors

20/07/2010

Command line tool for Linux command line junkies

Category
I found a little gem for "Friends of the commandline"TM. Since the autor suggested to improve this with zenity I went ahead and created ~/bin/runthis:
#!/bin/sh
#~/bin/runthis
############################################################################
# Runs the command on the command line or prompts that have been entered in the prompt box
# Originally published here: http://crunchbanglinux.org/forums/topic/2848/bash-at-your-fingertips-nifty-notifysend/
# Replaced command line with zenity dialog
############################################################################
if [ -z "$1" ]; then
    what=$(zenity  --entry  --text "Type a command");
else
    what=$1
fi
info=$(eval "$what"  2> /dev/null);
notify-send -t $((1000+300*`echo -n $info | wc -w`)) -u low -i gtk-dialog-info "$what" "$info" || exit 2
Make it executable with chmod +r ~/bin/runthis. Final step: go to the CompitzConfig Settings Manager (or the Gnome shortcut settings) and assign it a key combination (I use Ctrl+Alt+r). Now you can hit the combination, enter a command and the result will be shown in a notification dialog. For the rationale, read the original source
As usual YMMV

20/07/2010

Run SUNORACLE VirtualBox with KVM modules on

Category
KVM and VirtualBox are two virtualization solutions for Linux. KVM requires the module kvm_intel to be loaded, while VirtualBox can't run with the module running. So if you can't makeup your mind what to use, you need a little script magic to get this working. Here are the steps:
  1. Download libnotify for nice bubble notifications (just eye candy):
    sudo apt-get install libnotify (Of course you can use the Synaptics package manager in System-Administration and simply search for the library, but that's not sporty)
  2. Create a script (see below) in ~/bin/vboxkvm
  3. Make it executable with chmod +x ~/bin/vboxkvm
  4. Change the command in the VirtualBox menu entry from VirtualBox to vboxkvm
The script (Keep in mind that Linux is cAsEsEnsItIvE):
#!/bin/sh
SERVICE='kvm'
 
if ps ax | grep -v grep | grep $SERVICE > /dev/null
then
    notify-send -t 10000 -u low -i gtk-dialog-info "Removing kvm and starting Virtualbox"
   gksu "modprobe -r kvm_intel"
else
    notify-send -t 10000 -u low -i gtk-dialog-info "OK kvm not loaded,  Virtualbox starting"
fi
VirtualBox $
As usual: YMMV

26/06/2010

There's a storm coming, Harry

Category  
Thanks to an article in the OMG Ubuntu blog I'm using the Real-time Sunlight Wallpaper. It updates my screen background every 30 minutes with a current satellite picture. Casually glancing at the background I saw this (around 1500GMT):
Is that a hurricane
Hagrid would say "There's a storm coming, Harry" and if I'm not very wrong in my geography that one is heading toward Hawaii.

08/05/2010

Ubuntu 10.4 coming my way

Category
I'm a week late to the party. Every time I tried downloading from a server in AP I got 5-20kb/s download speed. And I'm hardly long enough in one place to wait that long. Enter Bittorrent and its default Ubuntu client Transmission
A cool 1 MB download for Ubuntu
1 MB/s is the stated maximum of my broadband plan.
Nota bene: This is a perfect example how Bittorrent is used for effective and efficent distribution of fully legal content.

17/12/2008

Ubuntu 8.10, Sun Java 6 and Firefox 3.0.x

Category
The Mini is running Ubuntu 8.10 by now and does that quite well. Only Firefox somehow didn't load Java applets properly despite the fact that I had the latest and greatest JVM. 6.0_10-b33. Command line Java programs (like Websphere, Tomcat and some of the stuff for AD215) work plesantly fast. So something in the combination of Ubuntu, Java and Firefox doesn't seem to work. After a little research it turned out, that Sun has created a next generation plug-in that is supposed to address all the short comings in the Java plug-ins. There are a number of solutions out there, which didn't work for me. This worked:
  1. Install Java6: sudo apt-get install sun-java6-bin sun-java6-jre sun-java6-plugins and update-alternatives --config java
  2. Change to the plugin directory: cd /usr/lib/jvm/java-6-sun-1.6.0.10/jre/plugin/i386/ns7
  3. Delete (or rename): rm libjavaplugin_oji.so
  4. Create a symboliv link: ln -s /usr/lib/jvm/java-6-sun/jre/lib/i386/libnpjp2.so libjavaplugin_oji.so
  5. Start Firefox, type about:plugins and you should see libnpjp2.so as your Java plugin name
  6. Check on this page (scroll down) if the applet is working
However you must be clear that this qualifies as ugly hack which most probably won't survive the next Java update.

08/12/2008

Happy Hari Raya - Time to Switch to Linux?

Category
Happy Hari Raya to all my Muslim friends worldwide. While you celebrate worldwide, take a second and consider: is it time to switch your computer operating system? Would you consider to switch if you get (for free) a set of Islamic software: prayer times, Quran study tool, web content filtering etc. All this is actually available today in the Ubuntu Muslim Edition. It is free and it is based on the currently most popular Linux distribution Ubuntu. Go check it out!

30/09/2008

Follow the Leader - Put Linux on your server!

Category
According to Microsoft's Steve Ballmer: "Forty percent of servers run Windows, 60 percent run Linux" (I presume he is talking about the x86 based servers, not the whole server market). <irony>So sticking to the popular strategy "Follow the leader" it is time to kick out that Windows servers.</irony> Of course together with IIS, since that is trailing Apache HTTP for quite some time now. While you are on it, check out IBM's Open Client and get your desktop some Suse, Redhat or Ubuntu.

07/07/2008

Welcome to a new Linux Blogger

Category
My ex-IBM colleague Han Wen Kam is now working for Novell. He is one of Singapore's outstanding Suse Linux experts. You can follow this thoughts on his blog titled Selling free software for a living.

Disclaimer

This site is in no way affiliated, endorsed, sanctioned, supported, nor enlightened by Lotus Software nor IBM Corporation. I may be an employee, but the opinions, theories, facts, etc. presented here are my own and are in now way given in any official capacity. In short, these are my words and this is my site, not IBM's - and don't even begin to think otherwise. (Disclaimer shamelessly plugged from Rocky Oliver)

© 2003 - 2010 Stephan H. Wissel - all rights reserved as listed here: Creative Commons License
Unless otherwise labeled by its originating author, the content found on this site is made available under the terms of an Attribution/NonCommercial/ShareAlike Creative Commons License, with the exception that no rights are granted -- since they are not mine to grant -- in any logo, graphic design, trademarks or trade names of any type.

Get Firefox Use OpenDNS