Posts Tagged ‘linux’

Airlink Ultra Mini USB Adapter with Linux

We recently bought this Ultra mini usb wifi adapter for our laptop that had it’s internal wifi card fried. Since this laptop was acting really bad with Windows XP, we installed Ubuntu on it. At first Ubuntu couldn’t recognize the adapter. Then I wanted to try ndiswrapper. All I had to do was to install [...]

Repeat the last macro in vim

So you wrote a macro in vim and you want to repeat the last macro multiple times and you don’t know how. You type @@ Now you know how.

Creating random files.

Here is a bash script to create 100 random files with random sizes smaller than 400KB. I needed this to quickly generate 100 files to use it on a stress test. for ((i=1;i<101;i++)); do size=`expr $RANDOM % 400` dd if=/dev/urandom of=/tmp/testfile.$i bs=1024 count=$size done Explanation: The for loop is pretty straightforward, it counts from 1 [...]

Lotus Notes 8.5 on Ubuntu 10.04

If you need to run native Linux client for Lotus Notes 8.5 on Ubuntu 10.04: 1) After installing your ibm_lotus_notes*.deb files, drop the following files under /opt/ibm/lotus/notes libgdk-x11-2.0.so.0 libgtk-x11-2.0.so.0 libgdk_pixbuf_xlib-2.0.so.0 libgdk_pixbuf-2.0.so.0 You can get the files here. 2) Install msttcorefonts package: sudo apt-get install msttcorefonts 3) Go to File -> Preferences and choose Windows and [...]

Gnome and the glslideshow screensaver setup.

First of all, setting up screensaver configurations in gnome is a total mess. I don’t know why they decided to release and use gnome-screensaver instead of using xscreensaver. And I don’t want to know either. My ubuntu setup is an archaic one. It’s an upgrade over an upgrade over an upgrade. I probably upgraded 4 [...]

Nokia n900 new firmware is out.

Nokia released a 16 MB minor release for the n900. The firmware version is: 3.2010.02-8 I had some issues with the update. I basically ran out of rootfs disk space. The update application complains as: Not enough space in location. For me disabling all the extra repositories and running apt-get clean; apt-get autoremove did the [...]

More about battery life on my n900

This battery life situation is kinda pissing me off. I wrote a script to get charge, battery %, and cpu load. Made it run every 10 mins to collect the data. I unplugged the phone at 9:40 am. No 3g, no wireless, very few interaction. About 10-20 mins phone conversation. And at 15:30 the battery [...]

Nokia n900 review

Background information: All and all I’m definitely a Linux person. That means my expectations from n900 was primarily to be hackable I’m also coming from the world of blackberry. My previous hand-held was 8320. Other than being an extremely well designed smart-phone for business and email, it was pretty much useless for me. In this [...]

Digital Frame or bust…

I’m writing this entry to push me to finish my neverending story about the digital frame project I started. I’m hoping that the entry will give me some sort of ignition after more than a year. I had an old Dell Latitude c600 sitting at home and collecting dust. Like many other old hardware I [...]

Viewing word files on a Linux console

I needed to see a word file on my ssh session this time… If you have a similar need try to use antiword. It basically parses the word document and sends the output as a text file to your console. Of course don`t expect it to render the graphic files in your word document