<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-19475878</id><updated>2011-12-02T23:18:01.581+05:30</updated><title type='text'>Bit Rot</title><subtitle type='html'>A blog about Linux, programming and random tech stuff</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://bit-rot.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19475878/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://bit-rot.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Aku</name><uri>http://www.blogger.com/profile/05619668788455349511</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://2.bp.blogspot.com/_MY633kzeIX8/SgRCbVWqtXI/AAAAAAAAAjM/dxLy6K_VfVU/S220/aku02.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>95</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-19475878.post-3574015555320913689</id><published>2010-02-28T23:24:00.002+05:30</published><updated>2010-02-28T23:39:45.475+05:30</updated><title type='text'>Java ME on Arch Linux x64</title><content type='html'>I was trying to setup Java ME on my machine running 64-bit Arch. It wasn't a smooth process. This is a list of problems I encountered:&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;ol&gt;&lt;li&gt;The Java ME SDK 3.0 isn't available for Linux (yet). Had to settle for &lt;a href="http://java.sun.com/products/sjwtoolkit/download.html"&gt;Sun Java Wireless Toolkit 2.5.2 for CLDC&lt;/a&gt;&lt;/li&gt;&lt;li&gt;I have a 64-bit version of JDK installed on Arch. Java ME can't work with this. It throws a &lt;i&gt;java.lang.UnsatisfiedLinkError: /opt/WTK2.5.2/bin/sublime.so: /opt/WTK2.5.2/bin/sublime.so: wrong ELF class: ELFCLASS32 (Possible cause: architecture word width mismatch)&lt;/i&gt;&lt;/li&gt;&lt;li&gt;To fix this, I installed bin32-jre from the &lt;a href="http://aur.archlinux.org/packages.php?ID=18646"&gt;AUR&lt;/a&gt;&lt;/li&gt;&lt;li&gt;Then edited the /opt/WTK2.5.2/bin/emulator file (path depending on where you've installed it), and changed the &lt;i&gt;javapathtowtk&lt;/i&gt; to /opt/bin32-jre/jre/bin/&lt;/li&gt;&lt;li&gt;Restarted NetBeans, tested a simple project and it worked!&lt;/li&gt;&lt;/ol&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;(Note: The Java ME installer asks for a java path during installation. It may be possible to point it to bin32-java during this time)&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19475878-3574015555320913689?l=bit-rot.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bit-rot.blogspot.com/feeds/3574015555320913689/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19475878&amp;postID=3574015555320913689' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19475878/posts/default/3574015555320913689'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19475878/posts/default/3574015555320913689'/><link rel='alternate' type='text/html' href='http://bit-rot.blogspot.com/2010/02/java-me-on-arch-linux-x64.html' title='Java ME on Arch Linux x64'/><author><name>Aku</name><uri>http://www.blogger.com/profile/05619668788455349511</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://2.bp.blogspot.com/_MY633kzeIX8/SgRCbVWqtXI/AAAAAAAAAjM/dxLy6K_VfVU/S220/aku02.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19475878.post-721410672853919118</id><published>2009-12-04T21:27:00.006+05:30</published><updated>2009-12-07T18:08:18.096+05:30</updated><title type='text'>Goodbye Ubuntu, Hello Arch!</title><content type='html'>A recent Ubuntu &lt;a href="http://ubuntuforums.org/showthread.php?p=8437906"&gt;update&lt;/a&gt; made my system unusable. I couldn't boot in recovery mode, and I couldn't even press 'e' or 'c' in Grub to change options. Annoyed with this, I decided to try out &lt;a href="http://www.archlinux.org/"&gt;Arch Linux&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;I downloaded the 64-bit netinstall version, loaded the &lt;a href="http://wiki.archlinux.org/index.php/Beginners_Guide"&gt;beginners' guide&lt;/a&gt; from the wiki on my laptop and proceeded to install it on the desktop. It was by no means, a piece of cake, but nothing I couldn't handle.&lt;br /&gt;&lt;br /&gt;I already had my disk partitioned as per my needs, so I just needed to erase the Ubuntu Root partition. I have a separate /home partition, but I moved all my dot-hidden files into a separate folder to avoid conflicts.&lt;br /&gt;&lt;br /&gt;Here is a list of issues I encountered during installation and configuring:&lt;br /&gt;1) My local timezone was not present in the options provided during installation. So I just chose the closest one (which was about 30 minutes off). After setting up X, I found my timezone in /usr/share/zoneinfo, and made the changes in /etc/rc.conf.&lt;br /&gt;&lt;br /&gt;2) When presented with cfdisk during installation, I deleted my ubuntu root partition, and made a new ext3 partition. This, however, didn't erase my partition. The old files from Ubuntu were still there! I didn't realize this at first and thus ended up wasting time. Later on, I just used a &lt;a href="http://gparted.sourceforge.net/livecd.php"&gt;GParted LiveCD&lt;/a&gt; to delete the partition and reformat to ext3. That took care of it.&lt;br /&gt;&lt;br /&gt;(I still don't know what I did wrong with cfdisk. If anyone has any idea, please leave a comment)&lt;br /&gt;&lt;br /&gt;3) Post installation: When booting Arch, I would sometimes get a &lt;span style="font-style: italic;"&gt;bad superblock&lt;/span&gt; error. I realized that this was happening because /devsda and /dev/sdb were getting swapped randomly. So I put in the liveCD and changed the /etc/fstab entries to UUID instead of sda and sdb. (Yeah, I was lazy the first time)&lt;br /&gt;&lt;br /&gt;4) eth0 and eth1 are still getting swapped randomly. I use only one ethernet interface at present, so I just configured both with the same settings.&lt;br /&gt;(Edit: found solution &lt;a href="http://wiki.archlinux.org/index.php/Udev#Mixed_Up_Devices.2C_Sound.2FNetwork_Cards_Changing_Order_Each_Boot"&gt;here&lt;/a&gt;)&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Why I chose Arch&lt;/span&gt;&lt;br /&gt;I wanted to try out Arch since a long time, but I had a slow internet connection. Recently, I upgraded to a better connection. This was important, since Arch involved a &lt;span style="font-style: italic;"&gt;lot&lt;/span&gt; of initial downloading.&lt;br /&gt;&lt;br /&gt;Arch seems to have a good package repository (though not as large a Ubuntu), which would help me keep the compiling and dependency headaches to a minimum. I've tried out Red Hat, Fedora, Slackware and Ubuntu in the past. I've stuck with Ubuntu for long, and its been my favourite so far. I'd still recommend Ubuntu to newbies.&lt;br /&gt;&lt;br /&gt;Arch gives me the power to configure my system any way I like. And I like this kind of power.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;First impressions&lt;/span&gt;&lt;br /&gt;The &lt;a href="http://wiki.archlinux.org/index.php/Main_Page"&gt;wiki pages&lt;/a&gt; are comprehensive. The effort taken by the community to keep this updated is mindblowing. Great job guys! I hope I can contribute soon. Also, asking noob-ish questions on the &lt;a href="http://bbs.archlinux.org/"&gt;forums&lt;/a&gt; seems to invite a lot of hostility :P (Not experienced first hand, I still have to make a forum account)&lt;br /&gt;&lt;br /&gt;The concept of the BSD-style /etc/rc.conf is beautiful and simple. Organising and loading daemons is also very simple.&lt;br /&gt;&lt;br /&gt;I also find the distro to be faster compared to Ubuntu. But that may be because I've used 'noatime' in my fstab. (Never really tried that option in Ubuntu).&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;In conclusion&lt;/span&gt;&lt;br /&gt;I still have a lot to learn about Arch. It definitely looks promising. I can understand why so many people move to Arch after starting out with Ubuntu. I'm not throwing this as flamebait, its just that Ubuntu and Arch cater to different kinds of users.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19475878-721410672853919118?l=bit-rot.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bit-rot.blogspot.com/feeds/721410672853919118/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19475878&amp;postID=721410672853919118' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19475878/posts/default/721410672853919118'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19475878/posts/default/721410672853919118'/><link rel='alternate' type='text/html' href='http://bit-rot.blogspot.com/2009/12/goodbye-ubuntu-hello-arch.html' title='Goodbye Ubuntu, Hello Arch!'/><author><name>Aku</name><uri>http://www.blogger.com/profile/05619668788455349511</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://2.bp.blogspot.com/_MY633kzeIX8/SgRCbVWqtXI/AAAAAAAAAjM/dxLy6K_VfVU/S220/aku02.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19475878.post-5762498068435052403</id><published>2009-07-04T16:46:00.009+05:30</published><updated>2010-02-28T23:44:31.099+05:30</updated><title type='text'>MPlayer remote control using a cellphone and ssh</title><content type='html'>&lt;span style="font-size:130%;"&gt;Background&lt;/span&gt;&lt;br /&gt;I recently purchased a Nokia E63 cellphone. With a home wifi connection and an ssh client installed on the phone and after getting over the initial excitement of remote-rickrolling the people in my room, I figured that I could use the phone as a remote for MPlayer. This would allow me to watch movies while sitting comfortably on my bed without the need to get up time and again to adjust the volume or pause the movie. Cool!&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:130%;"&gt;Requirements&lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;A phone with an &lt;a href="http://s2putty.sourceforge.net/download.html"&gt;ssh client&lt;/a&gt; and wifi support&lt;br /&gt;&lt;/li&gt;&lt;li&gt;A computer running an ssh server (I use openssh-server on Ubuntu)&lt;br /&gt;&lt;/li&gt;&lt;li&gt;The &lt;a href="http://www.mplayerhq.hu/design7/news.html"&gt;MPlayer&lt;/a&gt; movie player&lt;/li&gt;&lt;li&gt;The lack of a better infrared or bluetooth remote control&lt;/li&gt;&lt;li&gt;Boredom&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:130%;"&gt;Procedure&lt;/span&gt;&lt;br /&gt;&lt;ol&gt;&lt;li style="font-weight: bold;"&gt;Installing the PuTTY ssh client  the phone&lt;br /&gt;&lt;/li&gt;&lt;p&gt; The Nokia E63 uses the Symbian S60 3rd Edition. PuTTY for Symbian can be downloaded from &lt;a href="http://s2putty.sourceforge.net/download.html"&gt;here&lt;/a&gt;.&lt;/p&gt;&lt;li style="font-weight: bold;"&gt;Creating the &lt;span style="font-style: italic;"&gt;mplayyerremote&lt;/span&gt; user&lt;/li&gt;&lt;p&gt;It may be an &lt;span style="font-weight: bold;"&gt;unprivileged&lt;/span&gt; user. The only purpose for a new user is convenience. I set a phone-friendly password for this user. The user can be added in Ubuntu via System &gt; Administration &gt; Users and Groups. This will also take care of creating the home directory for the user.&lt;/p&gt;&lt;li style="font-weight: bold;"&gt;Creating the python script mplayerremote.py&lt;/li&gt;&lt;br /&gt;&lt;p&gt;Once the user is created, login as the user from a terminal.&lt;/p&gt;&lt;code&gt;sudo login mplayerremote&lt;/code&gt;&lt;p&gt;Once logged in, create a file named mplayerremote.py containing the following code:&lt;/p&gt;&lt;br /&gt;&lt;code&gt;&lt;br /&gt;#!/usr/bin/env python&lt;br /&gt;import curses.wrapper&lt;br /&gt;pipe_location="/home/mplayerremote/rc"&lt;br /&gt;KEY_ENTER=10 #specific to my phone&lt;br /&gt;def main(stdscr):&lt;br /&gt;  stdscr.addstr("MPlayer Remote\n")&lt;br /&gt;  while True:&lt;br /&gt;      pipe=open(pipe_location,'w')&lt;br /&gt;      c=stdscr.getch()&lt;br /&gt;      if c==ord('f'):&lt;br /&gt;          pipe.write("vo_fullscreen"+"\n")&lt;br /&gt;      elif c==curses.KEY_RIGHT:&lt;br /&gt;          pipe.write("seek 10"+"\n")&lt;br /&gt;      elif c==curses.KEY_LEFT:&lt;br /&gt;          pipe.write("seek -10"+"\n")&lt;br /&gt;      elif c==ord('/'):&lt;br /&gt;          pipe.write("seek 600"+"\n")&lt;br /&gt;      elif c==ord('@'):&lt;br /&gt;          pipe.write("seek -600"+"\n")&lt;br /&gt;      elif c==curses.KEY_UP:&lt;br /&gt;          pipe.write("volume +1"+"\n")&lt;br /&gt;      elif c==curses.KEY_DOWN:&lt;br /&gt;          pipe.write("volume -1"+"\n")       &lt;br /&gt;      elif c==ord('j'):&lt;br /&gt;          pipe.write("sub_select"+"\n")&lt;br /&gt;      elif c==ord('o'):&lt;br /&gt;          pipe.write("osd"+"\n")&lt;br /&gt;      elif c==ord('p') or c==ord(' ') or int(c)==KEY_ENTER:&lt;br /&gt;          pipe.write("pause"+"\n")&lt;br /&gt;      elif c==ord('q'):&lt;br /&gt;          pipe.write("quit"+"\n")&lt;br /&gt;          break&lt;br /&gt;      pipe.close()&lt;br /&gt;&lt;br /&gt;curses.wrapper(main)&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;p&gt;The command &lt;code&gt;nano ./mplayerremote.py &lt;/code&gt;can be used to create the file. Run &lt;span style="font-style: italic;"&gt;chmod +x ./mplayyerremote.py&lt;/span&gt; to make the file executable. I have only basic mplayer commands in this script. Feel free to expand it or change it. The commands I've used are:&lt;/p&gt;&lt;p&gt;&lt;br /&gt;f: fullscreen&lt;br /&gt;right-arrow : seek forward 10 seconds&lt;br /&gt;left-arrow : seek backward 10 seconds&lt;br /&gt;up-arrow : volume up&lt;br /&gt;down-arrow : volume down&lt;br /&gt;'/' : seek forward 10 minutes&lt;br /&gt;'@' : seek backward 10 minutes&lt;br /&gt;'p' or [space] or [enter] : pause/resume playback&lt;br /&gt;j: cycle through available subtitles&lt;br /&gt;o: toggle osd mode&lt;br /&gt;q: quit the application and mplayer&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;I have taken advantage of the Qwerty keyboard of the E63. For numeric keypads, this script would suck unless modified to be more convenient. The script makes use of the &lt;a href="http://docs.python.org/library/curses.html"&gt;Curses library&lt;/a&gt; to capture the keystrokes&lt;/p&gt;&lt;br /&gt;&lt;li style="font-weight: bold;"&gt;Creating the FIFO pipe&lt;/li&gt;&lt;p&gt;This named pipe allows us to 'talk' to mplayer. Use the following commands while you are still logged in as &lt;span style="font-style: italic;"&gt;mplayerremote&lt;/span&gt;:&lt;/p&gt;&lt;br /&gt;&lt;code&gt;&lt;br /&gt;mkfifo rc&lt;br /&gt;chmod a+rw ./rc&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;p&gt;The python script assumes that the pipe is located at /home/mplayerremote/rc . Change the &lt;span style="font-style: italic;"&gt;pipelocation&lt;/span&gt; variable in the script if you choose to put it in any other location&lt;/p&gt;&lt;br /&gt;&lt;li style="font-weight: bold;"&gt;Modifying the .bashrc file for the user &lt;span style="font-style: italic;"&gt;mplayerremote&lt;/span&gt;&lt;/li&gt;&lt;p&gt;I wanted the &lt;span style="font-style: italic;"&gt;mplayerremote.py&lt;/span&gt; script to run automatically whenever I logged in as &lt;span style="font-style: italic;"&gt;mplayerremote&lt;/span&gt; and exit as soon as I quit the application. To do this, I appended the following two lines in the .bashrc file of &lt;span style="font-style: italic;"&gt;mplayyerremote&lt;/span&gt;'s home directory:&lt;/p&gt;&lt;br /&gt;&lt;code&gt;&lt;br /&gt;/home/mplayerremote/mplayerremote.py&lt;br /&gt;exit&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;&lt;li style="font-weight: bold;"&gt;Modifying the ~/.mplayer/config file&lt;/li&gt;&lt;p&gt;To make mplayer use the named pipe we created, we need to use the &lt;span style="font-style: italic;"&gt;-input file=[path_of_pipe]&lt;/span&gt; option with mplayer. To avoid writing this every time, we can edit the &lt;span style="font-style: italic;"&gt;~/.mplayer/config&lt;/span&gt; file and append the line: &lt;span style="font-style: italic;"&gt;input:file=/home/mplayerremote/rc&lt;/span&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Note that this ~/.mplayer/config file is in the home directory of your &lt;span style="font-weight: bold;"&gt;normal user&lt;/span&gt; that usually runs mplayer and not the mplayerremote user. mplayerremote user is just the remote control and nothing more.&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;li style="font-weight: bold;"&gt;Creating an&lt;span style="font-style: italic;"&gt; MPlayer Remote&lt;/span&gt; profile for PuTTY&lt;/li&gt;&lt;p&gt;PuTTY for S60 allows the creation of profiles. I have created a dedicated profile for mplayerremote with the username saved. Setting the Keepalive interval (to 60 or so) may also help prevent disconnections. Effectively, the only thing I have to do to activate my remote is select the PuTTY profile, choose the home wifi connection and enter my (phone-friendly) password for mplayyerremote.&lt;/p&gt;&lt;br /&gt;&lt;/ol&gt;&lt;br /&gt;&lt;br /&gt;If you plan to use this, please do so at your own risk. Any suggestions and comments are welcome.&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;Edit (2010-Feb-28): Found an excellent program named &lt;/b&gt;&lt;a href="http://code.google.com/p/remuco/"&gt;&lt;b&gt;Remuco&lt;/b&gt;&lt;/a&gt;&lt;b&gt; that does exactly what I was looking for. Supports Bluetooth as well.&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19475878-5762498068435052403?l=bit-rot.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bit-rot.blogspot.com/feeds/5762498068435052403/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19475878&amp;postID=5762498068435052403' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19475878/posts/default/5762498068435052403'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19475878/posts/default/5762498068435052403'/><link rel='alternate' type='text/html' href='http://bit-rot.blogspot.com/2009/07/mplayer-remote-control-using-cellphone.html' title='MPlayer remote control using a cellphone and ssh'/><author><name>Aku</name><uri>http://www.blogger.com/profile/05619668788455349511</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://2.bp.blogspot.com/_MY633kzeIX8/SgRCbVWqtXI/AAAAAAAAAjM/dxLy6K_VfVU/S220/aku02.jpg'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19475878.post-2132671437479136701</id><published>2009-03-27T13:14:00.002+05:30</published><updated>2009-03-27T13:21:32.640+05:30</updated><title type='text'>keeponline.sh (Yet another one)</title><content type='html'>I have posted &lt;a href="http://bit-rot.blogspot.com/2008/05/bash-script-to-keep-me-online.html"&gt;two&lt;/a&gt; &lt;a href="http://bit-rot.blogspot.com/2008/09/alternate-approach-to-keeponline.html"&gt;versions&lt;/a&gt; of my keeponline.sh script. (The one that checks if I have been disconnected from the net and reconnects)&lt;br /&gt;&lt;br /&gt;Here's the latest one. It is now capable of checking if one instance is already running, and won't start another one unnecessarily:&lt;br /&gt;&lt;code&gt;&lt;br /&gt;#!/bin/bash&lt;br /&gt;#echo "Going Online..."&lt;br /&gt;#/usr/local/bin/online.sh &gt; /dev/null&lt;br /&gt;LOCKFILE="/var/lock/keeponline.lock"&lt;br /&gt;trap "{ echo $0 removing lock; rm -f $LOCKFILE; exit 255; }" SIGINT SIGTERM&lt;br /&gt;if [ -f $LOCKFILE ]; then&lt;br /&gt;      echo "$0: already running, exiting..."&lt;br /&gt;      exit 1&lt;br /&gt;fi&lt;br /&gt;touch $LOCKFILE&lt;br /&gt;while true; do&lt;br /&gt;      ping -c 2 -W 120 www.google.com &gt; /dev/null&lt;br /&gt;&lt;br /&gt;      if [ "$?" = "0" ]; then&lt;br /&gt;              echo "You are connected"&lt;br /&gt;      else&lt;br /&gt;              /usr/local/bin/online.sh &gt; /dev/null&lt;br /&gt;              echo "Disconnect detected at `date`, reconnecting" &gt;&gt;  /home/akshay/logs/keeponline.log&lt;br /&gt;      fi&lt;br /&gt;      sleep 10m&lt;br /&gt;done&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;There is no real use for this script, since &lt;a href="http://thegoan.com/supersify/"&gt;SuperSify&lt;/a&gt; provides this feature. But I found that my version has less number of &lt;span style="font-style: italic;"&gt;false positives&lt;/span&gt; when the bandwidth is completely choked. Besides, I just wanted to learn how to use traps :)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19475878-2132671437479136701?l=bit-rot.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bit-rot.blogspot.com/feeds/2132671437479136701/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19475878&amp;postID=2132671437479136701' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19475878/posts/default/2132671437479136701'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19475878/posts/default/2132671437479136701'/><link rel='alternate' type='text/html' href='http://bit-rot.blogspot.com/2009/03/keeponlinesh-yet-another-one.html' title='keeponline.sh (Yet another one)'/><author><name>Aku</name><uri>http://www.blogger.com/profile/05619668788455349511</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://2.bp.blogspot.com/_MY633kzeIX8/SgRCbVWqtXI/AAAAAAAAAjM/dxLy6K_VfVU/S220/aku02.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19475878.post-835241548658392125</id><published>2009-03-26T17:00:00.003+05:30</published><updated>2009-03-26T17:33:06.666+05:30</updated><title type='text'>How I increased sound volume in ubuntu</title><content type='html'>Ever since I upgraded my machine, I got very low sound volume in Ubuntu. In windows, the volume was nice and loud enough. After digging around a lot, I tried something on my own and it worked! (Yes, I had tried playing around with all the volume controls in alsamixer)&lt;br /&gt;&lt;br /&gt;I have an NVidia nForce 630i board and I'm using the onboard sound card:&lt;br /&gt;&lt;code&gt;&lt;br /&gt;00:0a.0 PCI bridge: nVidia Corporation MCP73 PCI Express bridge (rev a1)&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;For some strange reason, I see four mixer devices:&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_MY633kzeIX8/SctuV4UXLxI/AAAAAAAAAgk/b3MDiQtpixY/s1600-h/devices.jpeg"&gt;&lt;img style="cursor: pointer; width: 400px; height: 220px;" src="http://4.bp.blogspot.com/_MY633kzeIX8/SctuV4UXLxI/AAAAAAAAAgk/b3MDiQtpixY/s400/devices.jpeg" alt="" id="BLOGGER_PHOTO_ID_5317465107215101714" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;I use pulseaudio as my default sound server. Here's what I did:&lt;br /&gt;&lt;br /&gt;Under System &gt; Preferences &gt; Sound, I changed my &lt;span style="font-style: italic;"&gt;Default Mixer Tracks&lt;/span&gt; to &lt;span style="font-style: italic;"&gt;Playback: ALSA PCM on front :0 (ALC662 Analog) via DMA (PulseAudio Mixer)&lt;/span&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_MY633kzeIX8/SctuWs4elPI/AAAAAAAAAg0/-6-xdJ2l29o/s1600-h/preferences.jpeg"&gt;&lt;img style="cursor: pointer; width: 380px; height: 400px;" src="http://2.bp.blogspot.com/_MY633kzeIX8/SctuWs4elPI/AAAAAAAAAg0/-6-xdJ2l29o/s400/preferences.jpeg" alt="" id="BLOGGER_PHOTO_ID_5317465121325225202" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Right clicked on the volume control applet in the panel &gt; Preferences. Here, I could choose the default device and track to control. I chose the same: &lt;span style="font-style: italic;"&gt;Playback: ALSA PCM on front :0 (ALC662 Analog) via DMA (PulseAudio Mixer)&lt;/span&gt;. (There's only a master track).&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_MY633kzeIX8/SctuVyXSLEI/AAAAAAAAAgc/GG0nyfNT3Uc/s1600-h/default.jpeg"&gt;&lt;img style="cursor: pointer; width: 279px; height: 250px;" src="http://3.bp.blogspot.com/_MY633kzeIX8/SctuVyXSLEI/AAAAAAAAAgc/GG0nyfNT3Uc/s400/default.jpeg" alt="" id="BLOGGER_PHOTO_ID_5317465105616743490" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Finally, I made all the other relevant volumes 100% in all the other devices (except capture devices). Don't forget to click on the "Preferences" button to see all the tracks&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_MY633kzeIX8/SctuWSuu-MI/AAAAAAAAAgs/uAuBHorbY0k/s1600-h/other.jpeg"&gt;&lt;img style="cursor: pointer; width: 400px; height: 232px;" src="http://1.bp.blogspot.com/_MY633kzeIX8/SctuWSuu-MI/AAAAAAAAAgs/uAuBHorbY0k/s400/other.jpeg" alt="" id="BLOGGER_PHOTO_ID_5317465114305034434" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;I'm essentially using only the &lt;span style="font-style: italic;"&gt;Playback: ALSA PCM on front :0 (ALC662 Analog) via DMA (PulseAudio Mixer)&lt;/span&gt; for controlling my volume. I don't know why or how this works, but it works for me...&lt;br /&gt;&lt;br /&gt;The only problem is that it won't remember my volume levels after I reboot.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19475878-835241548658392125?l=bit-rot.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bit-rot.blogspot.com/feeds/835241548658392125/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19475878&amp;postID=835241548658392125' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19475878/posts/default/835241548658392125'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19475878/posts/default/835241548658392125'/><link rel='alternate' type='text/html' href='http://bit-rot.blogspot.com/2009/03/how-i-increased-sound-volume-in-ubuntu.html' title='How I increased sound volume in ubuntu'/><author><name>Aku</name><uri>http://www.blogger.com/profile/05619668788455349511</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://2.bp.blogspot.com/_MY633kzeIX8/SgRCbVWqtXI/AAAAAAAAAjM/dxLy6K_VfVU/S220/aku02.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_MY633kzeIX8/SctuV4UXLxI/AAAAAAAAAgk/b3MDiQtpixY/s72-c/devices.jpeg' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19475878.post-5447548049676317709</id><published>2009-02-08T16:45:00.006+05:30</published><updated>2009-02-08T17:08:22.492+05:30</updated><title type='text'>Transparent menus in Gnome using compiz</title><content type='html'>&lt;a href="http://picasaweb.google.com/lh/photo/scM8YsKOIY-EAyGQPAF_fw?authkey=fYzPk36xFZc&amp;amp;feat=embedwebsite"&gt;&lt;img src="http://lh3.ggpht.com/_MY633kzeIX8/SY7AiwShOUI/AAAAAAAAAfE/coWs7mq7eCA/s400/Transparent%20Menu.jpeg" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;This needs installation of compizconfig-settings-manager (sudo apt-get install compizconfig-settings-manager)&lt;br /&gt;Run (Alt+F2) &gt; ccsm&lt;br /&gt;&lt;br /&gt;Under accesibility, there' s an option called &lt;span style="font-style: italic;"&gt;Opacity, Brightness and Saturation&lt;/span&gt;.&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_MY633kzeIX8/SY7CX3_piPI/AAAAAAAAAfk/Ah7mLNBkUhc/s1600-h/ccsm.jpeg"&gt;&lt;img style="cursor: pointer; width: 320px; height: 187px;" src="http://1.bp.blogspot.com/_MY633kzeIX8/SY7CX3_piPI/AAAAAAAAAfk/Ah7mLNBkUhc/s320/ccsm.jpeg" alt="" id="BLOGGER_PHOTO_ID_5300387526885345522" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;In here, under the &lt;span style="font-style: italic;"&gt;Opacity&lt;/span&gt; tab, there's a section called "Window specific settings." Click on the &lt;span style="font-style: italic;"&gt;New&lt;/span&gt; button. Write  &lt;span style="font-style: italic;"&gt;dropdownmenu &lt;/span&gt;in&lt;span style="font-style: italic;"&gt;&lt;span style="font-style: italic;"&gt;&lt;span style="font-style: italic;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;the&lt;span style="font-style: italic;"&gt;&lt;span style="font-style: italic;"&gt;&lt;span style="font-style: italic;"&gt; Windows&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; textbox. Set the opacity to 85 or so...&lt;br /&gt;Click &lt;span style="font-style: italic;"&gt;Close&lt;/span&gt;, do the same for &lt;span style="font-style: italic;"&gt;popupmenu&lt;/span&gt; instead of &lt;span style="font-style: italic;"&gt;dropdownmenu&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_MY633kzeIX8/SY7D50IJImI/AAAAAAAAAfs/GwZlDLuA1Kc/s1600-h/ccsm_menu1.jpeg"&gt;&lt;img style="cursor: pointer; width: 400px; height: 120px;" src="http://1.bp.blogspot.com/_MY633kzeIX8/SY7D50IJImI/AAAAAAAAAfs/GwZlDLuA1Kc/s400/ccsm_menu1.jpeg" alt="" id="BLOGGER_PHOTO_ID_5300389209474409058" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_MY633kzeIX8/SY7D_c6uL-I/AAAAAAAAAf0/VRqM7ILNlLA/s1600-h/ccsm_menu2.jpeg"&gt;&lt;img style="cursor: pointer; width: 320px; height: 224px;" src="http://4.bp.blogspot.com/_MY633kzeIX8/SY7D_c6uL-I/AAAAAAAAAf0/VRqM7ILNlLA/s320/ccsm_menu2.jpeg" alt="" id="BLOGGER_PHOTO_ID_5300389306323316706" border="0" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19475878-5447548049676317709?l=bit-rot.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bit-rot.blogspot.com/feeds/5447548049676317709/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19475878&amp;postID=5447548049676317709' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19475878/posts/default/5447548049676317709'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19475878/posts/default/5447548049676317709'/><link rel='alternate' type='text/html' href='http://bit-rot.blogspot.com/2009/02/transparent-menus-in-gnome-using-compiz.html' title='Transparent menus in Gnome using compiz'/><author><name>Aku</name><uri>http://www.blogger.com/profile/05619668788455349511</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://2.bp.blogspot.com/_MY633kzeIX8/SgRCbVWqtXI/AAAAAAAAAjM/dxLy6K_VfVU/S220/aku02.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh3.ggpht.com/_MY633kzeIX8/SY7AiwShOUI/AAAAAAAAAfE/coWs7mq7eCA/s72-c/Transparent%20Menu.jpeg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19475878.post-5864101135610766810</id><published>2008-11-11T15:19:00.002+05:30</published><updated>2008-11-11T15:36:17.936+05:30</updated><title type='text'>Making Kde4/Qt4 apps look like Gnome/Gtk</title><content type='html'>1) Get QGtkStyle using svn - http://labs.trolltech.com/page/Projects/Styles/GtkStyle&lt;br /&gt;Or&lt;br /&gt;Download a .deb from &lt;a href="http://ubuntuforums.org/showpost.php?p=5222533&amp;amp;postcount=1"&gt;here&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;2) Get qt4-qtconfig&lt;br /&gt;&lt;code&gt;&lt;br /&gt;sudo apt-get install qt4-qtconfig&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;3) Run qtconfig-qt4 (Using alt+f2). Select the GUI Style as GTK and File&gt;Save.&lt;br /&gt;&lt;br /&gt;4) Incase this does not work, install these packages:&lt;br /&gt;&lt;code&gt;&lt;br /&gt;sudo apt-get install kdebase-workspace systemsettings&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;Then run &lt;span style="font-style:italic;"&gt;systemsettings&lt;/span&gt;. Go the Appearance section, and change the Widget style to GTK.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19475878-5864101135610766810?l=bit-rot.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bit-rot.blogspot.com/feeds/5864101135610766810/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19475878&amp;postID=5864101135610766810' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19475878/posts/default/5864101135610766810'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19475878/posts/default/5864101135610766810'/><link rel='alternate' type='text/html' href='http://bit-rot.blogspot.com/2008/11/making-kde4qt4-apps-look-like-gnomegtk.html' title='Making Kde4/Qt4 apps look like Gnome/Gtk'/><author><name>Aku</name><uri>http://www.blogger.com/profile/05619668788455349511</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://2.bp.blogspot.com/_MY633kzeIX8/SgRCbVWqtXI/AAAAAAAAAjM/dxLy6K_VfVU/S220/aku02.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19475878.post-1795590639603285019</id><published>2008-09-28T20:29:00.004+05:30</published><updated>2008-10-31T20:15:48.633+05:30</updated><title type='text'>"renamescore"</title><content type='html'>(Yes, yet another shell script)&lt;br /&gt;I wrote a little bash script to replace all the underscores in a filename with spaces, in the current directory.&lt;br /&gt;Here it is:&lt;br /&gt;&lt;br /&gt;&lt;code&gt;&lt;br /&gt;#!/bin/bash&lt;br /&gt;#this script renames all filenames containing _ with [space], in the current directory&lt;br /&gt;#copy to /usr/local/bin and set permission as +x&lt;br /&gt;&lt;br /&gt;total=`ls | grep .*_.* | wc -l`&lt;br /&gt;count=0&lt;br /&gt;while [ $count -lt $total ]&lt;br /&gt;do&lt;br /&gt;&lt;br /&gt;     filename=`ls | grep .*_.* | head -1`&lt;br /&gt;     newfilename=`ls | grep .*_.* | head -1 | tr '_' ' '`&lt;br /&gt;     mv "$filename" "$newfilename"&lt;br /&gt;     echo "renamed $filename to $newfilename"&lt;br /&gt;     count=`expr $count + 1`&lt;br /&gt;done&lt;br /&gt;&lt;/code&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19475878-1795590639603285019?l=bit-rot.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bit-rot.blogspot.com/feeds/1795590639603285019/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19475878&amp;postID=1795590639603285019' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19475878/posts/default/1795590639603285019'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19475878/posts/default/1795590639603285019'/><link rel='alternate' type='text/html' href='http://bit-rot.blogspot.com/2008/09/renamescore.html' title='&quot;renamescore&quot;'/><author><name>Aku</name><uri>http://www.blogger.com/profile/05619668788455349511</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://2.bp.blogspot.com/_MY633kzeIX8/SgRCbVWqtXI/AAAAAAAAAjM/dxLy6K_VfVU/S220/aku02.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19475878.post-672909429292774493</id><published>2008-09-12T17:18:00.002+05:30</published><updated>2008-09-12T17:34:14.551+05:30</updated><title type='text'>Alternate approach to 'keeponline'</title><content type='html'>Instead of running the 'keeponline' script (&lt;a href="http://bit-rot.blogspot.com/2008/05/bash-script-to-keep-me-online.html"&gt;described here&lt;/a&gt;) as a cron job, I decided to make it run as a standalone script. (Because the cron job kept &lt;a href="http://www.linuxquestions.org/questions/linux-general-1/disable-cron-from-logging-to-syslog-653876/"&gt;spamming my syslog file&lt;/a&gt;)&lt;br /&gt;&lt;br /&gt;The new /usr/local/bin/keeponline.sh looks like this:&lt;br /&gt;&lt;code&gt;&lt;br /&gt;#!/bin/bash&lt;br /&gt;echo "Going Online..."&lt;br /&gt;/usr/local/bin/online.sh &gt; /dev/null&lt;br /&gt;while true; do&lt;br /&gt;     ping -c 1 -W 120 www.google.com &gt; /dev/null&lt;br /&gt;&lt;br /&gt;     if [ "$?" = "0" ]; then&lt;br /&gt;             echo "You are connected"&lt;br /&gt;     else&lt;br /&gt;             /usr/local/bin/online.sh &gt; /dev/null&lt;br /&gt;             echo "Disconnect detected at `date`, reconnecting" &gt;&gt;  /home/akudewan/logs/keeponline.log&lt;br /&gt;     fi&lt;br /&gt;     sleep 10m&lt;br /&gt;done&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Next I make another script, keeponline-launch inside /etc/network/if-up.d/&lt;br /&gt;&lt;code&gt;&lt;br /&gt;#!/bin/bash&lt;br /&gt;&lt;br /&gt;# Not for loopback!&lt;br /&gt;[ "$IFACE" != "lo" ] || exit 0&lt;br /&gt;&lt;br /&gt;sh /usr/local/bin/keeponline.sh &amp;amp;&lt;br /&gt;&lt;br /&gt;exit 0&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;This will basically launch the keeponline script when the network interface comes up :)&lt;br /&gt;&lt;br /&gt;(Thanks to &lt;a href="http://ubuntuforums.org/showthread.php?p=5773482"&gt;Vivaldi Gloria from ubuntuforums&lt;/a&gt;)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19475878-672909429292774493?l=bit-rot.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bit-rot.blogspot.com/feeds/672909429292774493/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19475878&amp;postID=672909429292774493' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19475878/posts/default/672909429292774493'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19475878/posts/default/672909429292774493'/><link rel='alternate' type='text/html' href='http://bit-rot.blogspot.com/2008/09/alternate-approach-to-keeponline.html' title='Alternate approach to &apos;keeponline&apos;'/><author><name>Aku</name><uri>http://www.blogger.com/profile/05619668788455349511</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://2.bp.blogspot.com/_MY633kzeIX8/SgRCbVWqtXI/AAAAAAAAAjM/dxLy6K_VfVU/S220/aku02.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19475878.post-9206010002359873834</id><published>2008-07-28T21:31:00.004+05:30</published><updated>2008-07-28T21:51:59.569+05:30</updated><title type='text'>OpenOffice is irritating!</title><content type='html'>OpenOffice can really piss you off at times. &lt;span style="font-weight: bold;"&gt;It can be extremely unintuitive...&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;For instance, I wanted to print out some slide handouts today.  There is a tab called "Handouts" at the top, where you can select a layout.&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_MY633kzeIX8/SI3vSYvbd-I/AAAAAAAAAJ0/dT0VjjrXgSQ/s1600-h/handout1.png"&gt;&lt;img style="cursor: pointer;" src="http://4.bp.blogspot.com/_MY633kzeIX8/SI3vSYvbd-I/AAAAAAAAAJ0/dT0VjjrXgSQ/s320/handout1.png" alt="" id="BLOGGER_PHOTO_ID_5228097841605081058" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Now to print this, I went the usual File &gt; Print, and ended up getting a normal print, not he handouts...&lt;br /&gt;&lt;br /&gt;So what do you have to do to get Handouts instead of the normal print?&lt;br /&gt;Go to File &gt; Print. And click on the button called "Options"&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_MY633kzeIX8/SI3xDzVXgoI/AAAAAAAAAJ8/oyU9a_qGkRs/s1600-h/options.png"&gt;&lt;img style="cursor: pointer;" src="http://2.bp.blogspot.com/_MY633kzeIX8/SI3xDzVXgoI/AAAAAAAAAJ8/oyU9a_qGkRs/s320/options.png" alt="" id="BLOGGER_PHOTO_ID_5228099790068744834" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Now how could this have been more intuitive? Instead of a button called "Options..." we could have a button called "Select print contents..." Or even better, &lt;span style="font-weight: bold;"&gt;if I'm currently on the handouts tab, select the handouts by default.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Despite the occasional irritations, OpenOffice is awesome. There I still a lot of improvements I'd like to see though.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19475878-9206010002359873834?l=bit-rot.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bit-rot.blogspot.com/feeds/9206010002359873834/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19475878&amp;postID=9206010002359873834' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19475878/posts/default/9206010002359873834'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19475878/posts/default/9206010002359873834'/><link rel='alternate' type='text/html' href='http://bit-rot.blogspot.com/2008/07/openoffice-is-irritating.html' title='OpenOffice is irritating!'/><author><name>Aku</name><uri>http://www.blogger.com/profile/05619668788455349511</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://2.bp.blogspot.com/_MY633kzeIX8/SgRCbVWqtXI/AAAAAAAAAjM/dxLy6K_VfVU/S220/aku02.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_MY633kzeIX8/SI3vSYvbd-I/AAAAAAAAAJ0/dT0VjjrXgSQ/s72-c/handout1.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19475878.post-2072544785818604016</id><published>2008-05-21T16:51:00.006+05:30</published><updated>2008-06-29T20:52:48.408+05:30</updated><title type='text'>A bash script to keep me online</title><content type='html'>Most people I know don't use the Internet to its full potential. And they still complain about their ISP. People like me, who practically live on food, clothing, shelter and the internet have every right to complain. Despite having an unlimited connection, my ISP decides to kick me off the net ever so often, especially when I leave a large download running at night. Its a daily affair, and I needed a solution.&lt;br /&gt;&lt;br /&gt;I already have two shell scripts to conveniently get on and off the net, which I call &lt;span style="font-style: italic;"&gt;online.sh&lt;/span&gt; and &lt;span style="font-style: italic;"&gt;offline.sh&lt;/span&gt; . &lt;a href="http://sifybroadband.com/"&gt;Sify&lt;/a&gt;, my ISP, provides a graphical login program. This means that I cannot login if I don't have the X server running. Its a bad idea to have a login program in the first place, and even worse that it needs the X server. Fortunately, there are &lt;a href="http://broadbandforum.in/sify-broadband-alternative-clients-forum/"&gt;alternatives&lt;/a&gt; out there, and I use &lt;a href="http://thegoan.com/supersify/"&gt;SuperSify&lt;/a&gt; instead.&lt;br /&gt;&lt;br /&gt;So the &lt;span style="font-style: italic;"&gt;/usr/local/bin/online.sh&lt;/span&gt; script is as simple as:&lt;br /&gt;&lt;code&gt;&lt;br /&gt;#!/bin/bash&lt;br /&gt;cd /media/hda1/supersify/&lt;br /&gt;./ss.sh -u your_username -p xxxx -m 00:11:B6:22:BB:F7&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Make sure you chmod it to deny rw permissions to other users.&lt;/span&gt; I would have preferred to encrypt the password, but I don't know how. (replace the mac address with whatever you mac address is. Run &lt;span style="font-style: italic;"&gt;ifconfig&lt;/span&gt; to find out)&lt;br /&gt;&lt;br /&gt;Now comes the script which checks if you're online, and connects you if you're not. It just pings google.&lt;br /&gt;&lt;span style="font-style: italic;"&gt;/usr/local/bin/keeponline.sh&lt;/span&gt;&lt;br /&gt;&lt;code&gt;&lt;br /&gt;#!/bin/bash&lt;br /&gt;ping -c 1 -W 60 www.google.com&lt;br /&gt;&lt;br /&gt;if [ "$?" = "0" ]; then&lt;br /&gt;  echo "You are connected"&lt;br /&gt;else&lt;br /&gt;  /usr/local/bin/online.sh&lt;br /&gt;  echo "Disconnect detected at `date`, reconnecting" &gt;&gt;  /home/akudewan/logs/keeponline.log&lt;br /&gt;fi&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Unfortunately, the log file can grow too large. So there's yet another script to reset the log file every month.&lt;br /&gt;&lt;span style="font-style: italic;"&gt;/usr/local/bin/resetlog.sh&lt;/span&gt;&lt;br /&gt;&lt;code&gt;&lt;br /&gt;#!/bin/bash&lt;br /&gt;mv /home/akudewan/logs/keeponline.log /home/akudewan/logs/keeponline.log.0&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;Needless to say, this is a very dirty fix, so you can skip the log file altogether if you wish.&lt;br /&gt;&lt;br /&gt;Now we need to run two shellscripts as cron jobs - &lt;span style="font-style: italic;"&gt;keeponline.sh&lt;/span&gt; and &lt;span style="font-style: italic;"&gt;resetlog.sh&lt;/span&gt;.&lt;br /&gt;Run the command:&lt;br /&gt;&lt;code&gt;&lt;br /&gt;crontab -e&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;This will edit/create a crontab file for the user you're logged in as.&lt;br /&gt;&lt;br /&gt;Add the following lines to this file:&lt;br /&gt;&lt;code&gt;&lt;br /&gt;# m h  dom mon dow   command&lt;br /&gt;0,10,20,30,40,50 * * * * /usr/local/bin/keeponline.sh 1&gt; /dev/null&lt;br /&gt;* * 1 * * /usr/local/bin/resetlog.sh&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;This means that &lt;span style="font-style: italic;"&gt;keeponline.sh&lt;/span&gt; will be run every 10 minutes, and &lt;span style="font-style: italic;"&gt;resetlog.sh&lt;/span&gt; will be run on the 1st of every month.&lt;br /&gt;(Run &lt;span style="font-style: italic;"&gt;crontab -l&lt;/span&gt; to see your crontab)&lt;br /&gt;&lt;br /&gt;Thats it! Now my ISP can't kick me off for more than 11 minutes :)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19475878-2072544785818604016?l=bit-rot.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bit-rot.blogspot.com/feeds/2072544785818604016/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19475878&amp;postID=2072544785818604016' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19475878/posts/default/2072544785818604016'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19475878/posts/default/2072544785818604016'/><link rel='alternate' type='text/html' href='http://bit-rot.blogspot.com/2008/05/bash-script-to-keep-me-online.html' title='A bash script to keep me online'/><author><name>Aku</name><uri>http://www.blogger.com/profile/05619668788455349511</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://2.bp.blogspot.com/_MY633kzeIX8/SgRCbVWqtXI/AAAAAAAAAjM/dxLy6K_VfVU/S220/aku02.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19475878.post-4181305024738211193</id><published>2008-05-17T12:24:00.002+05:30</published><updated>2008-05-17T12:46:17.941+05:30</updated><title type='text'>Always read your log files</title><content type='html'>Whenever there is a new Ubuntu release, there's one part of the world that thinks that it is the worst  upgrade ever, and the other part of the world that thinks that its the best thing that ever happened. Its the same with every distro, I guess.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;After upgrading to Hardy, I thought it was the worst upgrade ever&lt;/span&gt;. The system was unstable, buggy, and programs would crash randomly. This was until I read my log files after an X server crash.&lt;br /&gt;&lt;code&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;from /var/log/syslog&lt;/span&gt; :&lt;br /&gt;May  8 12:34:08 ranjandesk -- MARK --&lt;br /&gt;May  8 12:46:35 ranjandesk gdm[5796]: WARNING: gdm_slave_xioerror_handler: Fatal X error - Restarting :0&lt;br /&gt;May  8 12:46:51 ranjandesk kernel: [ 6802.873564] &lt;span style="font-weight: bold;"&gt;Bad page&lt;/span&gt; state in process 'kdesktop'&lt;br /&gt;May  8 12:46:51 ranjandesk kernel: [ 6802.873565] page:c1a04120 flags:0x80000000 mapping:00000000 mapcount:-285212672 count:0&lt;br /&gt;May  8 12:46:51 ranjandesk kernel: [ 6802.873566] Trying to fix it up, but a reboot is needed&lt;br /&gt;May  8 12:46:51 ranjandesk kernel: [ 6802.873567] Backtrace:&lt;br /&gt;May  8 12:46:51 ranjandesk kernel: [ 6802.873591]  [&lt;span style="font-weight: bold;"&gt;bad_page&lt;/span&gt;+0x63/0xa0] bad_page+0x63/0xa0&lt;br /&gt;May  8 12:46:51 ranjandesk kernel: [ 6802.873620]  [get_page_from_freelist+0x343/0x3a0] get_page_from_freelist+0x343/0x3a0&lt;br /&gt;May  8 12:46:51 ranjandesk kernel: [ 6802.873662]  [agpgart:__alloc_pages+0x4f/0x340] __alloc_pages+0x4f/0x340&lt;br /&gt;May  8 12:46:51 ranjandesk kernel: [ 6802.873684]  [anon_vma_prepare+0x1d/0xe0] anon_vma_prepare+0x1d/0xe0&lt;br /&gt;May  8 12:46:51 ranjandesk kernel: [ 6802.873687]  [loop:kunmap_atomic+0x6a/0xa0] kunmap_atomic+0x6a/0xa0&lt;br /&gt;May  8 12:46:51 ranjandesk kernel: [ 6802.873699]  [__handle_mm_fault+0x8c7/0xb00] __handle_mm_fault+0x8c7/0xb00&lt;br /&gt;May  8 12:46:51 ranjandesk kernel: [ 6802.873713]  [snd_pcm:getnstimeofday+0x36/0x96b0] getnstimeofday+0x36/0xd0&lt;br /&gt;May  8 12:46:51 ranjandesk kernel: [ 6802.873732]  [sched_clock+0x1a/0x70] sched_clock+0x1a/0x70&lt;br /&gt;May  8 12:46:51 ranjandesk kernel: [ 6802.873755]  [do_&lt;span style="font-weight: bold;"&gt;page_fault&lt;/span&gt;+0x126/0x690] do_page_fault+0x126/0x690&lt;br /&gt;May  8 12:46:51 ranjandesk kernel: [ 6802.873792]  [do_page_fault+0x0/0x690] do_page_fault+0x0/0x690&lt;br /&gt;May  8 12:46:51 ranjandesk kernel: [ 6802.873798]  [error_code+0x72/0x80] error_code+0x72/0x80&lt;br /&gt;May  8 12:46:51 ranjandesk kernel: [ 6802.873818]  [clip_ioctl+0x3a0/0x510] clip_ioctl+0x3a0/0x510&lt;br /&gt;May  8 12:46:51 ranjandesk kernel: [ 6802.873836]  =======================&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Bad Page? I know the next thing to do. &lt;span style="font-weight: bold;"&gt;Check the RAM!&lt;/span&gt; I ran the memtest86+ thingy that comes with Ubuntu. And sure enough, it showed errors in Test 5. The RAM chip works fine in the first slot, so it would seem that the problem is with the second slot. Since the mobo and RAM are still under warranty, I can get this fixed before its too late.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;I wouldn't even know that there was something wrong with my RAM slot if I hadn't read my log files.&lt;/span&gt; I remember in my old machine, the graphics card fan was bust, and it would start running in "modulated clock mode". The log files told me.&lt;br /&gt;&lt;br /&gt;A few days ago, I was getting random telnet attempts from IPs in Korea and China. Again, it was in the log files. Most probably botnets. I decided to remove telnetd and just stick to ssh instead.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Even if you don't know what the log files mean, doing a Google can show a few results with bugs or solutions to the problem.&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19475878-4181305024738211193?l=bit-rot.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bit-rot.blogspot.com/feeds/4181305024738211193/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19475878&amp;postID=4181305024738211193' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19475878/posts/default/4181305024738211193'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19475878/posts/default/4181305024738211193'/><link rel='alternate' type='text/html' href='http://bit-rot.blogspot.com/2008/05/always-read-your-log-files.html' title='Always read your log files'/><author><name>Aku</name><uri>http://www.blogger.com/profile/05619668788455349511</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://2.bp.blogspot.com/_MY633kzeIX8/SgRCbVWqtXI/AAAAAAAAAjM/dxLy6K_VfVU/S220/aku02.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19475878.post-8339974616415501263</id><published>2008-05-02T00:22:00.003+05:30</published><updated>2008-05-02T00:34:42.947+05:30</updated><title type='text'>rsync</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_MY633kzeIX8/SBoTnZPrkTI/AAAAAAAAAIw/W7EkHndmjBM/s1600-h/Screenshot-Grsync:+default+.png"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;" src="http://1.bp.blogspot.com/_MY633kzeIX8/SBoTnZPrkTI/AAAAAAAAAIw/W7EkHndmjBM/s320/Screenshot-Grsync:+default+.png" alt="" id="BLOGGER_PHOTO_ID_5195486687637770546" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;rsync is probably the simplest way to sync data between two computers, or even the same computer. Now that I have plenty of storage on my desktop, I can take backups from the laptop. So I tried out rsync.&lt;br /&gt;&lt;br /&gt;There are a lot of howtos out there, telling you to schedule backups and stuff. But they seemed somewhat complicated, and I didn't really want scheduling...The laptop runs at irregular times.&lt;br /&gt;&lt;br /&gt;So whats the simplest, no-shit solution for rsync? Its grsync!&lt;br /&gt;&lt;br /&gt;Ok, then I saw what commands its running on the terminal, and made a shellscript :)&lt;br /&gt;&lt;br /&gt;On Ubuntu, install grsync by running: &lt;span style="font-family: courier new;"&gt;sudo apt-get install grsync&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19475878-8339974616415501263?l=bit-rot.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bit-rot.blogspot.com/feeds/8339974616415501263/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19475878&amp;postID=8339974616415501263' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19475878/posts/default/8339974616415501263'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19475878/posts/default/8339974616415501263'/><link rel='alternate' type='text/html' href='http://bit-rot.blogspot.com/2008/05/rsync.html' title='rsync'/><author><name>Aku</name><uri>http://www.blogger.com/profile/05619668788455349511</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://2.bp.blogspot.com/_MY633kzeIX8/SgRCbVWqtXI/AAAAAAAAAjM/dxLy6K_VfVU/S220/aku02.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_MY633kzeIX8/SBoTnZPrkTI/AAAAAAAAAIw/W7EkHndmjBM/s72-c/Screenshot-Grsync:+default+.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19475878.post-8771919024363628110</id><published>2008-04-15T16:21:00.004+05:30</published><updated>2008-04-15T16:38:23.083+05:30</updated><title type='text'>Legal advertising == Spam ?</title><content type='html'>There was recently a story on &lt;a href="http://it.slashdot.org/article.pl?sid=08/04/11/1511255&amp;amp;from=rss"&gt;Slashdot,&lt;/a&gt; about a court case - e360 Vs. Comcast - in which the judge declared e360 a spammer. e360 calls itself an Internet marketing company.&lt;br /&gt;&lt;br /&gt;I noticed that whenever I get an e-mail that's an advertisement, I mark it as spam! What exactly is spam anyway? &lt;a href="http://en.wikipedia.org/wiki/E-mail_spam"&gt;Wikipedia&lt;/a&gt; defines it thus (E-Mail spam): &lt;blockquote&gt;Definitions of spam usually include the aspects that email is unsolicited and sent in bulk.&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;A more general definition of spam would be: &lt;b&gt;&lt;/b&gt;&lt;blockquote&gt;&lt;b&gt;Spamming&lt;/b&gt; is the abuse of electronic messaging systems to indiscriminately send unsolicited bulk messages.&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;I guess there would be legal definitions of Spam, and also definitions by ISPs. But as far as the user is concerned, I could safely say that any kind of advertising e-mail that I never wanted in the first place - is Spam. Invitations from random Social networking sites and communities? Also Spam!(?)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19475878-8771919024363628110?l=bit-rot.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bit-rot.blogspot.com/feeds/8771919024363628110/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19475878&amp;postID=8771919024363628110' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19475878/posts/default/8771919024363628110'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19475878/posts/default/8771919024363628110'/><link rel='alternate' type='text/html' href='http://bit-rot.blogspot.com/2008/04/legal-advertising-spam.html' title='Legal advertising == Spam ?'/><author><name>Aku</name><uri>http://www.blogger.com/profile/05619668788455349511</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://2.bp.blogspot.com/_MY633kzeIX8/SgRCbVWqtXI/AAAAAAAAAjM/dxLy6K_VfVU/S220/aku02.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19475878.post-623089839934039420</id><published>2008-03-31T20:59:00.002+05:30</published><updated>2008-03-31T21:15:30.152+05:30</updated><title type='text'>New Computer</title><content type='html'>My graphics card finally died, and I decided to get an upgrade. I now have an nForce 610i motherboard, 2GB RAM (800MHz), a Core2Duo (2.33GHz). The motherboard has an on-board GeForce 7050, which is quite good for my needs. I'm using the same hard-disk and DVD drive, but might get a new hard-disk soon.&lt;br /&gt;&lt;br /&gt;Now I can finally run visual effects in Ubuntu, and boy, is it sweet!! The pretty animations, the desktop cube - I love it. And it runs so smooth!! Aero just sucks in comparison.&lt;br /&gt;&lt;br /&gt;Since the motherboard is quite new, I needed to do some tweaking to get it working properly.&lt;br /&gt;&lt;span style="font-family:monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;pre class="alt2" dir="ltr" style="border: 1px inset ; margin: 0px; padding: 6px; overflow: auto; width: 640px; height: 34px; text-align: left;"&gt;sudo update-pciids&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;To get the "lspci" list updated.&lt;br /&gt;&lt;br /&gt;Install the nvidia graphics drivers &lt;a href="http://www.nvidia.com/object/linux_display_ia32_169.12.html"&gt;manually&lt;/a&gt; to get the sound working.&lt;br /&gt;&lt;br /&gt;For the sound, I followed &lt;a href="http://ubuntuforums.org/showpost.php?p=4298894&amp;amp;postcount=24"&gt;these instructions&lt;/a&gt; posted on ubuntuforums.&lt;br /&gt;&lt;br /&gt;The Ethernet card uses the "forcedeth" driver, which has a strange &lt;a href="http://ubuntuforums.org/showthread.php?p=4090158"&gt;bug&lt;/a&gt; that caused the MAC address to change on every boot. I couldn't live with that, since I configure my wireless router based on the MAC. I decided to use my old Ethernet card for the time being.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19475878-623089839934039420?l=bit-rot.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bit-rot.blogspot.com/feeds/623089839934039420/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19475878&amp;postID=623089839934039420' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19475878/posts/default/623089839934039420'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19475878/posts/default/623089839934039420'/><link rel='alternate' type='text/html' href='http://bit-rot.blogspot.com/2008/03/new-computer.html' title='New Computer'/><author><name>Aku</name><uri>http://www.blogger.com/profile/05619668788455349511</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://2.bp.blogspot.com/_MY633kzeIX8/SgRCbVWqtXI/AAAAAAAAAjM/dxLy6K_VfVU/S220/aku02.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19475878.post-6827389158816811486</id><published>2008-03-19T16:09:00.004+05:30</published><updated>2008-03-19T16:45:09.580+05:30</updated><title type='text'>Trouble with fans</title><content type='html'>I noticed a strange phenomenon with my computer. When I try to play a video, CPU usage would shoot up too 100%. I tried the usual troubleshooting methods, playing without the audio stream, trying different video output drivers, and so on...But nothing worked.&lt;br /&gt;&lt;br /&gt;Then I noticed something else. If I pause a video for a minute, and then resume it, CPU usage goes back to the usual 20-30%. After a minute of playing, it would shoot up to 100% once again, until I let it &lt;span style="font-style: italic;"&gt;cool off&lt;/span&gt;...&lt;br /&gt;&lt;br /&gt;Sure enough, my CPU fan was bust. I bought a new one today and fixed it. Pentium-4 fans have a reputation of being notoriously difficult to remove. Ended up breaking a clip in the process.&lt;br /&gt;&lt;br /&gt;The strange video problem didn't go away though. Next check: Graphics card. And Hurray!! that fan is bust too. Fortunately, a little nudging got it to work. But it seems I'll have to nudge it every time I start my computer.&lt;br /&gt;&lt;br /&gt;I think its time to buy a new mobo. Nobody sells AGP 4x cards anymore :(&lt;br /&gt;&lt;br /&gt;Edit: here's a good one. Anything running OpenGL (glxgears, -vo gl2 in mplayer) segfaults whenever the fan is RUNNING!! Works fine when its off...wtf.....&lt;br /&gt;&lt;br /&gt;Edit Edit: If I stop the fan with my finger, and then start glxgears, it runs fine (even after I let go and the fan starts). Then I can run it even while the fan is running...&lt;br /&gt;Hmm...this is quite entertaining...&lt;br /&gt;&lt;br /&gt;If anyone has an explanation for this strange behavior, do leave a comment.&lt;br /&gt;&lt;br /&gt;Looking forward to the sweet smell of burning silicon.&lt;br /&gt;-Aku&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19475878-6827389158816811486?l=bit-rot.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bit-rot.blogspot.com/feeds/6827389158816811486/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19475878&amp;postID=6827389158816811486' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19475878/posts/default/6827389158816811486'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19475878/posts/default/6827389158816811486'/><link rel='alternate' type='text/html' href='http://bit-rot.blogspot.com/2008/03/trouble-with-fans.html' title='Trouble with fans'/><author><name>Aku</name><uri>http://www.blogger.com/profile/05619668788455349511</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://2.bp.blogspot.com/_MY633kzeIX8/SgRCbVWqtXI/AAAAAAAAAjM/dxLy6K_VfVU/S220/aku02.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19475878.post-6138706485440296976</id><published>2008-03-01T18:13:00.002+05:30</published><updated>2008-03-01T18:26:10.636+05:30</updated><title type='text'>Workaround for watching .flv videos on slow computers</title><content type='html'>I have a 1.6GHz processor, a GeForce 440 MX, and 376MB of RAM. But it seems I have to upgrade to a GeForce 8-series or something to play friggin' flv video in Linux. Until I can do that, I think I'll have to use this workaround:&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Let the video buffer completely.&lt;/li&gt;&lt;li&gt;Close the window so that it stops sucking 100% CPU&lt;/li&gt;&lt;li&gt;Go to the .mozilla/firefox/&lt;strange_number&gt;/Cache directory&lt;/li&gt;&lt;li&gt;$ ls -lhS&lt;/li&gt;&lt;li&gt;The entries on the top are the largest, one of them will be the video. Try running them with mplayer.&lt;/li&gt;&lt;li&gt;Copy and rename if the video is worth saving on disk.&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;This works with youtube, but I think it should work with any website that allows videos to be buffered.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19475878-6138706485440296976?l=bit-rot.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bit-rot.blogspot.com/feeds/6138706485440296976/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19475878&amp;postID=6138706485440296976' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19475878/posts/default/6138706485440296976'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19475878/posts/default/6138706485440296976'/><link rel='alternate' type='text/html' href='http://bit-rot.blogspot.com/2008/03/workaround-for-watching-flv-videos-on.html' title='Workaround for watching .flv videos on slow computers'/><author><name>Aku</name><uri>http://www.blogger.com/profile/05619668788455349511</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://2.bp.blogspot.com/_MY633kzeIX8/SgRCbVWqtXI/AAAAAAAAAjM/dxLy6K_VfVU/S220/aku02.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19475878.post-5361216721603464647</id><published>2008-02-28T19:51:00.002+05:30</published><updated>2008-02-28T20:09:09.456+05:30</updated><title type='text'>Sorry, not supported in Linux</title><content type='html'>I hate it when I buy a piece of hardware and find that it's not supported in Linux. Why don't I have the freedom to choose the operating system of my choice?&lt;br /&gt;&lt;br /&gt;Some companies have problems with &lt;span style="font-style: italic;"&gt;opening up&lt;/span&gt; their drivers. Fine. At least do what nVidia does, provide closed, binary drivers. (Thank you nVidia, at least you provide them, and they work!).&lt;br /&gt;&lt;br /&gt;Flash on Linux has always been a problem. It runs slow, jittery and is practically unusable. I tried to find out if other users were facing this problem, and sure enough, many are. The solution posted on (&lt;a href="http://ubuntuforums.org/showpost.php?p=4405268&amp;amp;postcount=24"&gt;this thread&lt;/a&gt;) was to downgrade to a previous release of Flash. I had to download a 73MB archive containing a number of previous releases from&lt;a href="http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_14266&amp;amp;sliceId=1"&gt; Adobe's website&lt;/a&gt;. Adobe doesn't seem to care much about Linux users. Even the downgraded version has issues, but at least its somewhat usable.&lt;br /&gt;&lt;br /&gt;I'm in a good mind to write to every company I come across that doesn't provide Linux support. About time Linux users made themselves heard. There are already a number of &lt;a href="http://www.google.com/custom?domains=www.PetitionOnline.com&amp;amp;q=Linux&amp;amp;sa=Search&amp;amp;sitesearch=www.PetitionOnline.com&amp;amp;client=pub-5090005701884356&amp;amp;forid=1&amp;amp;channel=4432003626&amp;amp;ie=ISO-8859-1&amp;amp;oe=ISO-8859-1&amp;amp;cof=GALT%3A%230000FF%3BGL%3A1%3BDIV%3A%23333333%3BVLC%3A660099%3BAH%3Acenter%3BBGC%3AFFFFFF%3BLBGC%3AFFFFFF%3BALC%3A0000FF%3BLC%3A0000FF%3BT%3A000000%3BGFNT%3A666666%3BGIMP%3A666666%3BLH%3A50%3BLW%3A350%3BL%3Ahttp%3A%2F%2Fwww.PetitionOnline.com%2Fimages%2Fpol_google_logo.gif%3BS%3Ahttp%3A%2F%2Fwww.PetitionOnline.com%2F%3BFORID%3A1%3B&amp;amp;hl=en"&gt;petitions&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19475878-5361216721603464647?l=bit-rot.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bit-rot.blogspot.com/feeds/5361216721603464647/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19475878&amp;postID=5361216721603464647' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19475878/posts/default/5361216721603464647'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19475878/posts/default/5361216721603464647'/><link rel='alternate' type='text/html' href='http://bit-rot.blogspot.com/2008/02/sorry-not-supported-in-linux.html' title='Sorry, not supported in Linux'/><author><name>Aku</name><uri>http://www.blogger.com/profile/05619668788455349511</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://2.bp.blogspot.com/_MY633kzeIX8/SgRCbVWqtXI/AAAAAAAAAjM/dxLy6K_VfVU/S220/aku02.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19475878.post-830561009229226504</id><published>2008-02-16T20:57:00.003+05:30</published><updated>2008-02-16T21:13:34.865+05:30</updated><title type='text'>Adblock or not ?</title><content type='html'>Firefox has this neat extension called &lt;a href="https://addons.mozilla.org/en-US/firefox/addon/1865"&gt;Adblock.&lt;/a&gt; It blocks out those annoying ads on web pages. Great! Now I don't have to look at flashing smiley ads anymore. (Who the heck would want to buy smileys anyway?)&lt;br /&gt;&lt;br /&gt;But when I installed Google AdSesnse on my blogs, sure enough, I couldn't see them. Now, ads definitely help bring the pennies in, but do they have to be so annoying that people should want to block them? Most users hate ads, as they are distracting and loud&lt;sup&gt;[citation needed (LOL)]&lt;/sup&gt;. In my case, Flash ads even use up a lot of CPU. (Hopefully, Flash will be faster with Firefox 3). In comparison, Google Ads are not irritating, and are usually quite relevant.&lt;br /&gt;&lt;br /&gt;Some people go so far as to call Adblock "&lt;a href="https://addons.mozilla.org/en-US/firefox/discussions/comments.php?DiscussionID=3060&amp;amp;page=1#Item_0"&gt;Stealing&lt;/a&gt;", and there are a number of discussions on this topic.&lt;br /&gt;&lt;br /&gt;So my dilemma was: whether to Adblock or not. I thought of striking a balance. I have Adblock installed, but I'm not subscribed to any of the filters. I block the irritating, flashy ads manually.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19475878-830561009229226504?l=bit-rot.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bit-rot.blogspot.com/feeds/830561009229226504/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19475878&amp;postID=830561009229226504' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19475878/posts/default/830561009229226504'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19475878/posts/default/830561009229226504'/><link rel='alternate' type='text/html' href='http://bit-rot.blogspot.com/2008/02/adblock-or-not.html' title='Adblock or not ?'/><author><name>Aku</name><uri>http://www.blogger.com/profile/05619668788455349511</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://2.bp.blogspot.com/_MY633kzeIX8/SgRCbVWqtXI/AAAAAAAAAjM/dxLy6K_VfVU/S220/aku02.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19475878.post-4207617666984726767</id><published>2008-02-09T23:10:00.000+05:30</published><updated>2008-02-09T23:16:44.084+05:30</updated><title type='text'>The Linux blog expanded</title><content type='html'>http://akulinux.blogspot.com/ is now http://bit-rot.blogspot.com/ . Why the change? The Linux blog was just a journal of problems and solutions that I came across while using linux. This blog however, deals with anything and everything that's tech-related.&lt;br /&gt;&lt;br /&gt;Please feel free to leave comments, suggestions, your arguments, or if you simply wish to call me a nut for my naïve posts :)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19475878-4207617666984726767?l=bit-rot.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bit-rot.blogspot.com/feeds/4207617666984726767/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19475878&amp;postID=4207617666984726767' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19475878/posts/default/4207617666984726767'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19475878/posts/default/4207617666984726767'/><link rel='alternate' type='text/html' href='http://bit-rot.blogspot.com/2008/02/linux-blog-expanded.html' title='The Linux blog expanded'/><author><name>Aku</name><uri>http://www.blogger.com/profile/05619668788455349511</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://2.bp.blogspot.com/_MY633kzeIX8/SgRCbVWqtXI/AAAAAAAAAjM/dxLy6K_VfVU/S220/aku02.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19475878.post-6523873541254243454</id><published>2007-12-30T19:55:00.000+05:30</published><updated>2007-12-30T20:12:52.366+05:30</updated><title type='text'>Shellscript to save power</title><content type='html'>Even though I run a Desktop, I do whatever I can to save electricity. Turning off the monitor helps a great deal. Then there's &lt;a href="http://technowizah.com/2007/01/debian-how-to-cpu-frequency-management.html"&gt;CPU frequency scaling&lt;/a&gt;. But when I set my machine to "ondemand", I noticed a marginal drop in performance, especially when playing a game or something. So I kept my machine on "performance", and set it to "ondemand" only when I had to leave the PC unattended for a while. Needless to say, it was quite a pain in the butt. So I made a shellscript to automate the process. Whenever my screen is locked, the script will turn CPU frequency governor to "ondemand"&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-family: courier new;"&gt;#!/bin/bash&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;#Script to put the cpu in "ondemand" if the screen is locked&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;check=`pidof kdesktop_lock`&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;if [[ -n $check ]] ; then&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;/usr/bin/cpufreq-set -g ondemand&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;else&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;/usr/bin/cpufreq-set -g performance&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;fi&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;exit 0&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Then I added a task to my root crontab:&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;&lt;span style="font-size:130%;"&gt;0,10,20,30,40,50 * * * * root /usr/bin/freqmod.sh&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;where /usr/bin/freqmod.sh is the path to the script.&lt;br /&gt;&lt;br /&gt;This is my first "real" bash script, so suggestions are welcome :)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19475878-6523873541254243454?l=bit-rot.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bit-rot.blogspot.com/feeds/6523873541254243454/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19475878&amp;postID=6523873541254243454' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19475878/posts/default/6523873541254243454'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19475878/posts/default/6523873541254243454'/><link rel='alternate' type='text/html' href='http://bit-rot.blogspot.com/2007/12/shellscript-to-save-power.html' title='Shellscript to save power'/><author><name>Aku</name><uri>http://www.blogger.com/profile/05619668788455349511</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://2.bp.blogspot.com/_MY633kzeIX8/SgRCbVWqtXI/AAAAAAAAAjM/dxLy6K_VfVU/S220/aku02.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19475878.post-2363498519822639943</id><published>2007-12-16T18:11:00.000+05:30</published><updated>2007-12-16T18:19:18.647+05:30</updated><title type='text'>Integrating firefox with KDE</title><content type='html'>If you think firefox looks a bit weird when using KDE, have a look at these links:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://konquefox.free.fr/index.html#tricks"&gt;http://konquefox.free.fr/index.html#tricks&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://gentoo-wiki.com/HOWTO_Integrate_Firefox_with_KDE"&gt;http://gentoo-wiki.com/HOWTO_Integrate_Firefox_with_KDE&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19475878-2363498519822639943?l=bit-rot.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bit-rot.blogspot.com/feeds/2363498519822639943/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19475878&amp;postID=2363498519822639943' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19475878/posts/default/2363498519822639943'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19475878/posts/default/2363498519822639943'/><link rel='alternate' type='text/html' href='http://bit-rot.blogspot.com/2007/12/integrating-firefox-with-kde.html' title='Integrating firefox with KDE'/><author><name>Aku</name><uri>http://www.blogger.com/profile/05619668788455349511</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://2.bp.blogspot.com/_MY633kzeIX8/SgRCbVWqtXI/AAAAAAAAAjM/dxLy6K_VfVU/S220/aku02.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19475878.post-109854168549909070</id><published>2007-11-07T17:03:00.000+05:30</published><updated>2007-11-07T17:13:59.466+05:30</updated><title type='text'>Dolphin</title><content type='html'>Dolphin is a new File Manager for KDE, which I encountered when I upgraded to Kubuntu Gutsy. It's supposed to be lightweight with the sole purpose of being a file manager, unlike Konqueror, which is a complete web browser.&lt;br /&gt;&lt;br /&gt;There has been some talk about adding tabs to Dolphin. I missed the tab feature initially, being used to konqueror and firefox. But I realized that I don't really need tabs, except when copying files from one location to another. And for that, there is something called "Split View" in Dolphin. I find this better than tabs actually...&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_MY633kzeIX8/RzGk2jfZf3I/AAAAAAAAAH8/V_xr6Siu80g/s1600-h/dolphin_split.png"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;" src="http://3.bp.blogspot.com/_MY633kzeIX8/RzGk2jfZf3I/AAAAAAAAAH8/V_xr6Siu80g/s320/dolphin_split.png" alt="" id="BLOGGER_PHOTO_ID_5130062707698532210" border="0" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19475878-109854168549909070?l=bit-rot.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bit-rot.blogspot.com/feeds/109854168549909070/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19475878&amp;postID=109854168549909070' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19475878/posts/default/109854168549909070'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19475878/posts/default/109854168549909070'/><link rel='alternate' type='text/html' href='http://bit-rot.blogspot.com/2007/11/dolphin.html' title='Dolphin'/><author><name>Aku</name><uri>http://www.blogger.com/profile/05619668788455349511</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://2.bp.blogspot.com/_MY633kzeIX8/SgRCbVWqtXI/AAAAAAAAAjM/dxLy6K_VfVU/S220/aku02.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_MY633kzeIX8/RzGk2jfZf3I/AAAAAAAAAH8/V_xr6Siu80g/s72-c/dolphin_split.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19475878.post-5306681282816031442</id><published>2007-08-22T23:26:00.000+05:30</published><updated>2007-08-22T23:54:47.860+05:30</updated><title type='text'>Linux to the rescue</title><content type='html'>I haven't posted anything on this blog since ages. Thats mostly because I haven't come across any more problems using linux. The nvidia kernel module problem mentioned in the previous post was sorted out thanks to another update by the cool ubuntu guys.&lt;br /&gt;&lt;br /&gt;I've been really pissed off with windows. The computers in my college are quite slow, and they run windows XP. Opening a damn window takes ages. I opened about 5 windows of Internet Explorer today, simply because windows didn't provide any feedback (not even the mouse-cursor-timer...). Then then killing the windows takes another 10 minutes. And then the great explorer.exe decides to crash...&lt;br /&gt;&lt;br /&gt;I had to make copies of a few VCDs of some dance performance for my cousin. No big deal right? Well, apparently windows can't even handle a couple of corrupt VCDs. Explorer.exe, as usual hangs like crazy, and lets not talk about Nero. I wonder why people pay money for that piece of shit?! Even VLC couldn't play the VCDs. Killing a process is practically impossible. Windows keeps reading the CD even when I tell it to stop....&lt;br /&gt;&lt;br /&gt;In linux, copying the VCDs was a breeze. Mplayer and K3b are everything you need. For the corrupt VCDs, I could just use mplayer -streamdump, and a Clone Copy in K3b for the ones that worked. Nothing hung, it didn't even slow down the machine. Now that's the way it should be!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19475878-5306681282816031442?l=bit-rot.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bit-rot.blogspot.com/feeds/5306681282816031442/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19475878&amp;postID=5306681282816031442' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19475878/posts/default/5306681282816031442'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19475878/posts/default/5306681282816031442'/><link rel='alternate' type='text/html' href='http://bit-rot.blogspot.com/2007/08/linux-to-rescue.html' title='Linux to the rescue'/><author><name>Aku</name><uri>http://www.blogger.com/profile/05619668788455349511</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://2.bp.blogspot.com/_MY633kzeIX8/SgRCbVWqtXI/AAAAAAAAAjM/dxLy6K_VfVU/S220/aku02.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19475878.post-6169669674885489876</id><published>2007-06-26T22:41:00.000+05:30</published><updated>2007-06-26T22:48:06.738+05:30</updated><title type='text'>The kernel upgrade - Nvidia</title><content type='html'>There was a kernel upgrade a couple of weeks ago, and the sda/hda thing was sorted out. But the nvidia modules weren't loading and X didn't start. As usual, I posted a &lt;a href="http://ubuntuforums.org/showthread.php?p=2904416"&gt;thread on Ubuntuforums&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;For now, I don't want to install the nvidia drivers manually. So I'm sticking to the older kernel.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19475878-6169669674885489876?l=bit-rot.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bit-rot.blogspot.com/feeds/6169669674885489876/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19475878&amp;postID=6169669674885489876' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19475878/posts/default/6169669674885489876'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19475878/posts/default/6169669674885489876'/><link rel='alternate' type='text/html' href='http://bit-rot.blogspot.com/2007/06/kernel-upgrade-nvidia.html' title='The kernel upgrade - Nvidia'/><author><name>Aku</name><uri>http://www.blogger.com/profile/05619668788455349511</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://2.bp.blogspot.com/_MY633kzeIX8/SgRCbVWqtXI/AAAAAAAAAjM/dxLy6K_VfVU/S220/aku02.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19475878.post-9218366769373792865</id><published>2007-05-30T11:52:00.000+05:30</published><updated>2007-05-30T11:59:46.954+05:30</updated><title type='text'>Issues with the new kernel: 2.6.20-16-generic</title><content type='html'>Adept-notifier showed me new kernel updates, and I installed these, only to find that I was greeted by a whole bunch of problems.&lt;br /&gt;&lt;br /&gt;During the upgrade process, Adept seemed to have hung at 100%, (yes 100%). It showed &lt;span style="font-style: italic;"&gt;dpkg-run finished&lt;/span&gt; in the terminal. I had to close the window, but just to be on the safe side, I opened a terminal, and ran sudo apt-get upgrade again. There was an unmet dependency, and I sorted this out. All seemed to be OK, and I rebooted the machine.&lt;br /&gt;&lt;br /&gt;I had played with my partitions a bit, and all the /dev/sda* entries in the partitions wouldn't be mounted. Also, a new partition that I had created showed some superblock error. I just rebooted the machine, using the old kernel, and none of these problems showed up.&lt;br /&gt;&lt;br /&gt;As usual I checked on UbuntuForums, and it seems the new kernel has a whole load of issues:&lt;br /&gt;&lt;a href="http://ubuntuforums.org/showthread.php?p=2733874"&gt;http://ubuntuforums.org/showthread.php?p=2733874&lt;/a&gt;&lt;br /&gt;&lt;a href="http://ubuntuforums.org/showthread.php?t=456662"&gt;http://ubuntuforums.org/showthread.php?t=456662&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Lets wait and see if the issues are sorted out. It seems all /dev/sda* has been made into /dev/hda* again&lt;br /&gt;&lt;img class="emoticon" src="http://wolverinex02.googlepages.com/icon_neutral.gif" alt="neutral" title="neutral" height="15" width="15" /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19475878-9218366769373792865?l=bit-rot.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bit-rot.blogspot.com/feeds/9218366769373792865/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19475878&amp;postID=9218366769373792865' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19475878/posts/default/9218366769373792865'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19475878/posts/default/9218366769373792865'/><link rel='alternate' type='text/html' href='http://bit-rot.blogspot.com/2007/05/issues-with-new-kernel-2620-16-generic.html' title='Issues with the new kernel: 2.6.20-16-generic'/><author><name>Aku</name><uri>http://www.blogger.com/profile/05619668788455349511</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://2.bp.blogspot.com/_MY633kzeIX8/SgRCbVWqtXI/AAAAAAAAAjM/dxLy6K_VfVU/S220/aku02.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19475878.post-528343568447634731</id><published>2007-05-21T11:36:00.000+05:30</published><updated>2007-05-21T11:38:15.235+05:30</updated><title type='text'>Command Line guide for newbies</title><content type='html'>&lt;a href="http://blog.lxpages.com/ultimate_linux.html"&gt;Have a look here.&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19475878-528343568447634731?l=bit-rot.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bit-rot.blogspot.com/feeds/528343568447634731/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19475878&amp;postID=528343568447634731' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19475878/posts/default/528343568447634731'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19475878/posts/default/528343568447634731'/><link rel='alternate' type='text/html' href='http://bit-rot.blogspot.com/2007/05/command-line-guide-for-newbies.html' title='Command Line guide for newbies'/><author><name>Aku</name><uri>http://www.blogger.com/profile/05619668788455349511</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://2.bp.blogspot.com/_MY633kzeIX8/SgRCbVWqtXI/AAAAAAAAAjM/dxLy6K_VfVU/S220/aku02.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19475878.post-7440676170565999435</id><published>2007-05-05T12:49:00.000+05:30</published><updated>2007-05-05T12:55:42.222+05:30</updated><title type='text'>Edgy to Feisty</title><content type='html'>I upgraded to Feisty Fawn a few days ago. It was quite a smooth process as compared to the previous release. The upgrade tool on the DVD was crashing, so I used the commandline instead.&lt;br /&gt;&lt;br /&gt;Apart from Samba breaking, (which I managed to fix in a few hours), everything went quite well. My thanks to the Ubuntu team for a nice release.&lt;br /&gt;&lt;img class="emoticon" src="http://wolverinex02.googlepages.com/icon_biggrin.gif" alt="biggrin" title="biggrin" height="15" width="15" /&gt;&lt;br /&gt;&lt;br /&gt;Downloading the DVD was quite a waste. Inspite of spending a week downloading 4.3 GB, I still had to download another 400MB. Next time, I'm sticking to solely to apt-get.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19475878-7440676170565999435?l=bit-rot.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bit-rot.blogspot.com/feeds/7440676170565999435/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19475878&amp;postID=7440676170565999435' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19475878/posts/default/7440676170565999435'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19475878/posts/default/7440676170565999435'/><link rel='alternate' type='text/html' href='http://bit-rot.blogspot.com/2007/05/edgy-to-feisty.html' title='Edgy to Feisty'/><author><name>Aku</name><uri>http://www.blogger.com/profile/05619668788455349511</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://2.bp.blogspot.com/_MY633kzeIX8/SgRCbVWqtXI/AAAAAAAAAjM/dxLy6K_VfVU/S220/aku02.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19475878.post-1622968439606326566</id><published>2007-04-24T13:26:00.000+05:30</published><updated>2007-04-24T13:29:05.715+05:30</updated><title type='text'>The Linux Distro timeline</title><content type='html'>I came across this on the &lt;a href="http://www.codinghorror.com/blog/archives/000842.html"&gt;Coding Horror Blog&lt;/a&gt;.&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://kde-files.org/CONTENT/content-files/44218-linuxdistrotimeline-7.2.png"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer; width: 400px;" src="http://kde-files.org/CONTENT/content-files/44218-linuxdistrotimeline-7.2.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19475878-1622968439606326566?l=bit-rot.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bit-rot.blogspot.com/feeds/1622968439606326566/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19475878&amp;postID=1622968439606326566' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19475878/posts/default/1622968439606326566'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19475878/posts/default/1622968439606326566'/><link rel='alternate' type='text/html' href='http://bit-rot.blogspot.com/2007/04/linux-distro-timeline.html' title='The Linux Distro timeline'/><author><name>Aku</name><uri>http://www.blogger.com/profile/05619668788455349511</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://2.bp.blogspot.com/_MY633kzeIX8/SgRCbVWqtXI/AAAAAAAAAjM/dxLy6K_VfVU/S220/aku02.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19475878.post-330657509988675864</id><published>2007-04-23T11:48:00.000+05:30</published><updated>2007-04-23T11:49:59.342+05:30</updated><title type='text'>CPU frequency scaling</title><content type='html'>I found a very nice guide on CPU frequency scaling. Have a looky: &lt;a href="http://technowizah.com/2007/01/debian-how-to-cpu-frequency-management.html"&gt;http://technowizah.com/2007/01/debian-how-to-cpu-frequency-management.html&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19475878-330657509988675864?l=bit-rot.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bit-rot.blogspot.com/feeds/330657509988675864/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19475878&amp;postID=330657509988675864' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19475878/posts/default/330657509988675864'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19475878/posts/default/330657509988675864'/><link rel='alternate' type='text/html' href='http://bit-rot.blogspot.com/2007/04/cpu-frequency-scaling.html' title='CPU frequency scaling'/><author><name>Aku</name><uri>http://www.blogger.com/profile/05619668788455349511</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://2.bp.blogspot.com/_MY633kzeIX8/SgRCbVWqtXI/AAAAAAAAAjM/dxLy6K_VfVU/S220/aku02.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19475878.post-7130227267164852597</id><published>2007-04-21T12:24:00.000+05:30</published><updated>2007-04-21T12:29:17.034+05:30</updated><title type='text'>Feisty Fawn</title><content type='html'>Ubuntu Feisty Fawn was released on the 19th. I've been trying to read the wiki pages for upgrading, but the servers are so slow I can barely open a page. I'll have to wait a bit for my upgrade. But till then, I'll download the alternate CD (using bittorrent)&lt;br /&gt;&lt;img class="emoticon" src="http://wolverinex02.googlepages.com/icon_smile.gif" alt="smile" title="smile" height="15" width="15" /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19475878-7130227267164852597?l=bit-rot.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bit-rot.blogspot.com/feeds/7130227267164852597/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19475878&amp;postID=7130227267164852597' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19475878/posts/default/7130227267164852597'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19475878/posts/default/7130227267164852597'/><link rel='alternate' type='text/html' href='http://bit-rot.blogspot.com/2007/04/fiesty-fawn.html' title='Feisty Fawn'/><author><name>Aku</name><uri>http://www.blogger.com/profile/05619668788455349511</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://2.bp.blogspot.com/_MY633kzeIX8/SgRCbVWqtXI/AAAAAAAAAjM/dxLy6K_VfVU/S220/aku02.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19475878.post-8986742680688106275</id><published>2007-04-15T15:09:00.001+05:30</published><updated>2009-04-23T14:45:31.589+05:30</updated><title type='text'>PhotoRec</title><content type='html'>&lt;a style="" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_MY633kzeIX8/RiH2gZys1rI/AAAAAAAAAA0/unG7Bn-idv8/s1600-h/photorec2.png"&gt;&lt;img style="margin: 0pt 0pt 10px 10px; float: right; cursor: pointer;" src="http://1.bp.blogspot.com/_MY633kzeIX8/RiH2gZys1rI/AAAAAAAAAA0/unG7Bn-idv8/s200/photorec2.png" alt="" id="BLOGGER_PHOTO_ID_5053591293426194098" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;I had made a post some months ago, on &lt;a href="http://bit-rot.blogspot.com/2006/08/linuxcom-how-to-recover-lost-files.html"&gt;how to recover accidentally deleted data&lt;/a&gt;. I never had to use it, but today, I accidentally deleted an important spreadsheet file, while cleaning up some older files.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.cgsecurity.org/wiki/PhotoRec"&gt;PhotoRec&lt;/a&gt; came to the rescue. Its fairly simple to use, and within a matter of 20 minutes it searched for over 170 old, deleted files. I easily found the one I was looking for. I think everyone should have a copy of PhotoRec, just in case...&lt;br /&gt;&lt;br /&gt;Tip: Don't recover &lt;span style="font-style: italic;"&gt;all&lt;/span&gt; the files, (I ran out of disk space). Go to "FileOpt" and just select the filetypes you are looking for.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_MY633kzeIX8/RiH2JZys1qI/AAAAAAAAAAs/Rfbyjcrc1XE/s1600-h/photorec1.png"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;" src="http://1.bp.blogspot.com/_MY633kzeIX8/RiH2JZys1qI/AAAAAAAAAAs/Rfbyjcrc1XE/s200/photorec1.png" alt="" id="BLOGGER_PHOTO_ID_5053590898289202850" border="0" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19475878-8986742680688106275?l=bit-rot.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bit-rot.blogspot.com/feeds/8986742680688106275/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19475878&amp;postID=8986742680688106275' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19475878/posts/default/8986742680688106275'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19475878/posts/default/8986742680688106275'/><link rel='alternate' type='text/html' href='http://bit-rot.blogspot.com/2007/04/photorec.html' title='PhotoRec'/><author><name>Aku</name><uri>http://www.blogger.com/profile/05619668788455349511</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://2.bp.blogspot.com/_MY633kzeIX8/SgRCbVWqtXI/AAAAAAAAAjM/dxLy6K_VfVU/S220/aku02.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_MY633kzeIX8/RiH2gZys1rI/AAAAAAAAAA0/unG7Bn-idv8/s72-c/photorec2.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19475878.post-6846203362815697275</id><published>2007-04-13T22:44:00.000+05:30</published><updated>2007-04-13T22:51:19.062+05:30</updated><title type='text'>Dvdisaster</title><content type='html'>&lt;a href="http://dvdisaster.sourceforge.net/en/"&gt;Dvdisaster home&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Have you ever faced a situation when your important backup DVD is corrupt? I have, and it can be quite frustrating. Strictly speaking, optical media is not good is backups and archiving. But if I were to buy a 100GB hard-disk every 3 months, my dad would freak out&lt;br /&gt;&lt;img class="emoticon" src="http://wolverinex02.googlepages.com/icon_razz.gif" alt="razz" title="razz" height="15" width="15" /&gt;&lt;br /&gt;&lt;br /&gt;So it would seem that DVDs are the way to go for the time being. And I found a good piece of software that would help me restore my DVDs if they ever got corrupt. Its called Dvdisaster.&lt;br /&gt;&lt;br /&gt;The process of creating the error codes is a bit tedious, but it would help with important data.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19475878-6846203362815697275?l=bit-rot.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bit-rot.blogspot.com/feeds/6846203362815697275/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19475878&amp;postID=6846203362815697275' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19475878/posts/default/6846203362815697275'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19475878/posts/default/6846203362815697275'/><link rel='alternate' type='text/html' href='http://bit-rot.blogspot.com/2007/04/dvdisaster.html' title='Dvdisaster'/><author><name>Aku</name><uri>http://www.blogger.com/profile/05619668788455349511</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://2.bp.blogspot.com/_MY633kzeIX8/SgRCbVWqtXI/AAAAAAAAAjM/dxLy6K_VfVU/S220/aku02.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19475878.post-6227909942564237999</id><published>2007-03-10T23:47:00.000+05:30</published><updated>2007-03-10T23:51:41.387+05:30</updated><title type='text'>Additional Plugins required ?</title><content type='html'>How many times have you seen the "Additional plugins are required" message in firefox? I found a neat workaround. There's an extension called "&lt;a href="https://addons.mozilla.org/firefox/2254/"&gt;Unplug&lt;/a&gt;" that allows you to download media directly from a page. Then you can watch it in your favorite media player. (Might not work with Flash though. I'm not sure...)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19475878-6227909942564237999?l=bit-rot.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bit-rot.blogspot.com/feeds/6227909942564237999/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19475878&amp;postID=6227909942564237999' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19475878/posts/default/6227909942564237999'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19475878/posts/default/6227909942564237999'/><link rel='alternate' type='text/html' href='http://bit-rot.blogspot.com/2007/03/additional-plugins-required.html' title='Additional Plugins required ?'/><author><name>Aku</name><uri>http://www.blogger.com/profile/05619668788455349511</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://2.bp.blogspot.com/_MY633kzeIX8/SgRCbVWqtXI/AAAAAAAAAjM/dxLy6K_VfVU/S220/aku02.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19475878.post-3456202964211287039</id><published>2007-02-05T23:14:00.000+05:30</published><updated>2007-02-05T23:20:24.284+05:30</updated><title type='text'>Latest Screenshot</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_MY633kzeIX8/RcduOwSBapI/AAAAAAAAAAM/f-XgGWiZxjw/s1600-h/05_Feb_07.png"&gt;&lt;img style="float:left; margin:0 10px 10px 0;cursor:pointer; cursor:hand;" src="http://2.bp.blogspot.com/_MY633kzeIX8/RcduOwSBapI/AAAAAAAAAAM/f-XgGWiZxjw/s320/05_Feb_07.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5028108708740164242" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19475878-3456202964211287039?l=bit-rot.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bit-rot.blogspot.com/feeds/3456202964211287039/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19475878&amp;postID=3456202964211287039' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19475878/posts/default/3456202964211287039'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19475878/posts/default/3456202964211287039'/><link rel='alternate' type='text/html' href='http://bit-rot.blogspot.com/2007/02/latest-screenshot.html' title='Latest Screenshot'/><author><name>Aku</name><uri>http://www.blogger.com/profile/05619668788455349511</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://2.bp.blogspot.com/_MY633kzeIX8/SgRCbVWqtXI/AAAAAAAAAjM/dxLy6K_VfVU/S220/aku02.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_MY633kzeIX8/RcduOwSBapI/AAAAAAAAAAM/f-XgGWiZxjw/s72-c/05_Feb_07.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19475878.post-3757777218912026409</id><published>2007-02-03T21:22:00.000+05:30</published><updated>2007-02-03T21:39:42.049+05:30</updated><title type='text'>Modifying keys with xmodmap</title><content type='html'>I have fat fingers, and my backspace ans insert keys are quite close to each other. And accidently pressing the insert key instead of backspace can be really annoying....All of a sudden you notice&lt;br /&gt;your text is getting overwritten.&lt;br /&gt;&lt;br /&gt;So, is there any way of getting rid of my insert key? Or better yet, can I replace Insert with Backspace? The answer: xmodmap&lt;br /&gt;&lt;br /&gt;Here's what I did:&lt;br /&gt;&lt;ol&gt;&lt;br /&gt;&lt;li&gt;&lt;code&gt;xmodmap -pke &gt; ~/.xmodmap.myown&lt;/code&gt; (This created my own xmodmap file)&lt;br /&gt;&lt;li&gt;Open it in a text editor. Find where Insert is. (Keycode 106 in my case)&lt;br /&gt;&lt;li&gt;Find the line with Backspace, and replace the insert value with backspace. In the end, it will look something like this: &lt;code&gt;keycode 106 = BackSpace Terminate_Server&lt;/code&gt;&lt;br /&gt;&lt;/ol&gt;&lt;br /&gt;&lt;br /&gt;And incase you can't find which keycode is what, then you can run &lt;code&gt;xev&lt;/code&gt; in a terminal. Press a key, and its info will be displayed on the terminal.&lt;br /&gt;&lt;br /&gt;To use this new configuration, I ran the command: &lt;code&gt;xmodmap ~/.xmodmap.myown&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;And so that I don't have to run it everytime, I put this command in my KDE autostart directory in a shellscript.&lt;br /&gt;&lt;br /&gt;Pretty neat eh?&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19475878-3757777218912026409?l=bit-rot.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bit-rot.blogspot.com/feeds/3757777218912026409/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19475878&amp;postID=3757777218912026409' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19475878/posts/default/3757777218912026409'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19475878/posts/default/3757777218912026409'/><link rel='alternate' type='text/html' href='http://bit-rot.blogspot.com/2007/02/modifying-keys-with-xmodmap.html' title='Modifying keys with xmodmap'/><author><name>Aku</name><uri>http://www.blogger.com/profile/05619668788455349511</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://2.bp.blogspot.com/_MY633kzeIX8/SgRCbVWqtXI/AAAAAAAAAjM/dxLy6K_VfVU/S220/aku02.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19475878.post-1733548299476961807</id><published>2007-01-15T17:36:00.000+05:30</published><updated>2007-03-21T16:31:42.848+05:30</updated><title type='text'>The DMA toggle</title><content type='html'>I had to burn a lot of anime for a friend who was visiting after a long time. The first few DVDs burned fine. Then my data transfer rate dropped from 8 to 10 MBps to a mere 2 MBps. I don't know why this happened.&lt;br /&gt;&lt;br /&gt;My system started acting odd, there was a lot of CPU usage, and I could barely move my mouse. First thing I did was checked whether &lt;a href="http://akulinux.blogspot.com/2006/03/enable-dma.html"&gt;DMA was enabled&lt;/a&gt;. Yes, it was. Next, I did a google search, and found a &lt;a href="http://forum.rpc1.org/viewtopic.php?t=27678"&gt;forum post&lt;/a&gt; somewhere.&lt;br /&gt;&lt;br /&gt;The post was about windows users encountering a similar problem, and all they did to solve it was to disable DMA, and then enable it again.&lt;br /&gt;&lt;br /&gt;I remembered that there was a problem reading one of my old DVDs. So maybe there were a few CRC (&lt;a href="http://en.wikipedia.org/wiki/Cyclic_redundancy_check"&gt;cyclic redundancy check&lt;/a&gt;) errors, that caused my system to stop using DMA, just like windows.&lt;br /&gt;&lt;br /&gt;Ergo, I decided to "toggle" DMA, turned it off, and turned it back on again. And tada!! All is back to normal. I'm burning as I type!&lt;br /&gt;&lt;br /&gt;------------&lt;br /&gt;Edit: 21 March 2007:&lt;br /&gt;&lt;br /&gt;Today, the same thing happened, and I now have definite evidence of the fact that DMA was disabled by the kernel:&lt;br /&gt;&lt;br /&gt;&lt;code&gt;Mar 21 15:54:36 ranjan404 kernel: [17197775.652000] hdd: DMA disabled&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Sure enough, CD burning was slow and crappy, and the mouse went nuts:&lt;br /&gt;&lt;code&gt;Mar 21 16:13:34 ranjan404 kernel: [17198913.988000] psmouse.c: Wheel Mouse at isa0060/serio1/input0 lost synchronization, throwing 3 bytes away.&lt;/code&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19475878-1733548299476961807?l=bit-rot.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bit-rot.blogspot.com/feeds/1733548299476961807/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19475878&amp;postID=1733548299476961807' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19475878/posts/default/1733548299476961807'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19475878/posts/default/1733548299476961807'/><link rel='alternate' type='text/html' href='http://bit-rot.blogspot.com/2007/01/dma-toggle.html' title='The DMA toggle'/><author><name>Aku</name><uri>http://www.blogger.com/profile/05619668788455349511</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://2.bp.blogspot.com/_MY633kzeIX8/SgRCbVWqtXI/AAAAAAAAAjM/dxLy6K_VfVU/S220/aku02.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19475878.post-1132433106479207532</id><published>2006-12-16T22:45:00.000+05:30</published><updated>2006-12-16T22:47:06.297+05:30</updated><title type='text'>The distro of the beast</title><content type='html'>I came across an interesting version of Ubuntu: &lt;a href="http://parker1.co.uk/satanic/"&gt;Satanic Edition. Check it out...&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19475878-1132433106479207532?l=bit-rot.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bit-rot.blogspot.com/feeds/1132433106479207532/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19475878&amp;postID=1132433106479207532' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19475878/posts/default/1132433106479207532'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19475878/posts/default/1132433106479207532'/><link rel='alternate' type='text/html' href='http://bit-rot.blogspot.com/2006/12/distro-of-beast.html' title='The distro of the beast'/><author><name>Aku</name><uri>http://www.blogger.com/profile/05619668788455349511</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://2.bp.blogspot.com/_MY633kzeIX8/SgRCbVWqtXI/AAAAAAAAAjM/dxLy6K_VfVU/S220/aku02.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19475878.post-3338361268529258284</id><published>2006-11-08T18:16:00.000+05:30</published><updated>2006-11-08T18:27:31.525+05:30</updated><title type='text'>It was a nightmare allright...</title><content type='html'>But I did manage to get it running. I had run this command to get all the debs in my cache before upgrading the system, as my internet connection is quite slow. (But its free at night) &lt;pre&gt; &lt;code&gt; apt-get --download-only dist-upgrade &lt;/pre&gt; &lt;/code&gt; &lt;br /&gt;&lt;br /&gt;I checked on the &lt;a href="https://help.ubuntu.com/community/EdgyUpgrades"&gt;Ubuntu wiki page&lt;/a&gt;, and it mentioned that using apt-get is not recommended. So I used the graphical interface, as mentioned. Unfortunately, I got some error, that I didn't bother noting, and the installer quit. The graphical interface gave the same error again, and the only way to fix it would be &lt;i&gt; apt-get -f install &lt;/i&gt;&lt;br /&gt;&lt;br /&gt;So I chucked the graphical interface, and went back to the CLI. After a whole day of forcing (apt-get -f install) and dpkg-ing (some things went so bad, they had to be done manually), I finally managed to get the system up.&lt;br /&gt;&lt;br /&gt;Today, I see that Upstart hasn't been installed, inspite of doing apt-get dist-upgrade twice. I had forgotten to install Ubuntu-minimal...geez...&lt;br /&gt;&lt;br /&gt;So now I'm going to reboot my system, and hope that it boots properly, and faster!! :) Wish me luck...&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19475878-3338361268529258284?l=bit-rot.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bit-rot.blogspot.com/feeds/3338361268529258284/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19475878&amp;postID=3338361268529258284' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19475878/posts/default/3338361268529258284'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19475878/posts/default/3338361268529258284'/><link rel='alternate' type='text/html' href='http://bit-rot.blogspot.com/2006/11/it-was-nightmare-allright.html' title='It was a nightmare allright...'/><author><name>Aku</name><uri>http://www.blogger.com/profile/05619668788455349511</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://2.bp.blogspot.com/_MY633kzeIX8/SgRCbVWqtXI/AAAAAAAAAjM/dxLy6K_VfVU/S220/aku02.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19475878.post-5380568159391236066</id><published>2006-10-30T11:39:00.000+05:30</published><updated>2006-10-30T11:46:52.030+05:30</updated><title type='text'>Upgrading to Ubuntu Edgy Eft a "Nightmare" ?</title><content type='html'>There's an &lt;a href="http://linux.slashdot.org/article.pl?sid=06/10/28/239258&amp;from=rss"&gt;article on Slashdot&lt;/a&gt; saying that several people are having trouble upgrading to Edgy (the latest Ubuntu release). I'm currently in the process of upgrading. Lets hope everything works out well...&lt;br /&gt;&lt;br /&gt;I have followed &lt;a href="https://help.ubuntu.com/community/EdgyUpgrades"&gt;this guide&lt;/a&gt; to do the upgrade. (The wiki keeps updating) Only difference is that I'm using the command: &lt;span style="font-style: italic;"&gt;sudo apt-get --download-only dist-upgrade&lt;/span&gt; . Since I have a slow internet connection, I figured it would be better to download all the packages at night, little by little, and then run the upgrade process.&lt;br /&gt;&lt;br /&gt;I don't have important data on my root partition, and my /home partition is separate.&lt;br /&gt;&lt;span class="down" style="display: block;" id="formatbar_CreateLink" title="Link" onmouseover="ButtonHoverOn(this);" onmouseout="ButtonHoverOff(this);" onmouseup="" onmousedown="CheckFormatting(event);FormatbarButton('richeditorframe', this, 8);ButtonMouseDown(this);"&gt;&lt;/span&gt;&lt;br /&gt;Just to be on the safer side, I'll backup all important data before doing the upgrade.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19475878-5380568159391236066?l=bit-rot.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bit-rot.blogspot.com/feeds/5380568159391236066/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19475878&amp;postID=5380568159391236066' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19475878/posts/default/5380568159391236066'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19475878/posts/default/5380568159391236066'/><link rel='alternate' type='text/html' href='http://bit-rot.blogspot.com/2006/10/upgrading-to-ubuntu-edgy-eft-nightmare.html' title='Upgrading to Ubuntu Edgy Eft a &quot;Nightmare&quot; ?'/><author><name>Aku</name><uri>http://www.blogger.com/profile/05619668788455349511</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://2.bp.blogspot.com/_MY633kzeIX8/SgRCbVWqtXI/AAAAAAAAAjM/dxLy6K_VfVU/S220/aku02.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19475878.post-116039600008439592</id><published>2006-10-09T17:28:00.000+05:30</published><updated>2006-10-09T17:43:20.096+05:30</updated><title type='text'>Out of space...</title><content type='html'>The other day, I was just browsing around, and I started downloading something. All of a sudden, firefox crashed!! I'm like...wtf...&lt;br /&gt;&lt;br /&gt;Anyway, I just started the browser again, and recovered my browsing session, &lt;a href="http://sessionmanager.mozdev.org/"&gt;thanks to this nice extension.&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Then, I tried to copy a shortcut from the K Menu to the desktop. I got an error message saying "Insufficient disk space". Wtf, a teeny-weeny shorcut...how much free space do I have anyway?&lt;br /&gt;&lt;br /&gt;So I started Kwikdisk, and I saw that I just have 36KB free on the /home partition!!! &lt;img src="http://in.geocities.com/akudewan/smileys/wow.gif"&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger/6871/520/1600/free_space.png"&gt;&lt;img style="float:right; margin:0 0 10px 10px;cursor:pointer; cursor:hand;" src="http://photos1.blogger.com/blogger/6871/520/400/free_space.png" border="0" alt="" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;At this point, I would have expected any operating system to crash. But this is linux, things work differently here. ;)&lt;br /&gt;&lt;br /&gt;The reason why firefox crashed was because it probably couldn't cache anything in ~/.mozilla. Technically, this would be a firefox bug, and not a linux bug. (Or so I think).&lt;br /&gt;&lt;br /&gt;Finally, I just copied stuff onto my other partitions that had some free space. Now i have a lot of DVDs to burn.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19475878-116039600008439592?l=bit-rot.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bit-rot.blogspot.com/feeds/116039600008439592/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19475878&amp;postID=116039600008439592' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19475878/posts/default/116039600008439592'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19475878/posts/default/116039600008439592'/><link rel='alternate' type='text/html' href='http://bit-rot.blogspot.com/2006/10/out-of-space.html' title='Out of space...'/><author><name>Aku</name><uri>http://www.blogger.com/profile/05619668788455349511</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://2.bp.blogspot.com/_MY633kzeIX8/SgRCbVWqtXI/AAAAAAAAAjM/dxLy6K_VfVU/S220/aku02.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19475878.post-116014281258037219</id><published>2006-10-06T18:35:00.000+05:30</published><updated>2006-10-06T19:52:20.086+05:30</updated><title type='text'>MP3FS and Upstart</title><content type='html'>No need to rip your CDs to MP3s. You can just use MP3FS: &lt;a href="http://www.linux.com/article.pl?sid=06/09/29/1525201"&gt;http://www.linux.com/article.pl?sid=06/09/29/1525201&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Also, Ubuntu will be replacing &lt;b&gt;init&lt;/b&gt; with &lt;b&gt;Upstart&lt;/b&gt;. Check out this article for in-depth information: &lt;a href="http://www.linux.com/article.pl?sid=06/09/18/1623244"&gt;http://www.linux.com/article.pl?sid=06/09/18/1623244&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19475878-116014281258037219?l=bit-rot.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bit-rot.blogspot.com/feeds/116014281258037219/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19475878&amp;postID=116014281258037219' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19475878/posts/default/116014281258037219'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19475878/posts/default/116014281258037219'/><link rel='alternate' type='text/html' href='http://bit-rot.blogspot.com/2006/10/mp3fs-and-upstart.html' title='MP3FS and Upstart'/><author><name>Aku</name><uri>http://www.blogger.com/profile/05619668788455349511</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://2.bp.blogspot.com/_MY633kzeIX8/SgRCbVWqtXI/AAAAAAAAAjM/dxLy6K_VfVU/S220/aku02.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19475878.post-115814972724385639</id><published>2006-09-13T17:45:00.000+05:30</published><updated>2006-09-13T17:45:27.306+05:30</updated><title type='text'>What you should (and shouldn't) expect from 64-bit Linux</title><content type='html'>See link:&lt;br /&gt;&lt;a href="http://www.linux.com/article.pl?sid=06/09/07/1632253"&gt;Linux.com | What you should (and shouldn't) expect from 64-bit Linux&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19475878-115814972724385639?l=bit-rot.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bit-rot.blogspot.com/feeds/115814972724385639/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19475878&amp;postID=115814972724385639' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19475878/posts/default/115814972724385639'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19475878/posts/default/115814972724385639'/><link rel='alternate' type='text/html' href='http://bit-rot.blogspot.com/2006/09/what-you-should-and-shouldnt-expect.html' title='What you should (and shouldn&apos;t) expect from 64-bit Linux'/><author><name>Aku</name><uri>http://www.blogger.com/profile/05619668788455349511</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://2.bp.blogspot.com/_MY633kzeIX8/SgRCbVWqtXI/AAAAAAAAAjM/dxLy6K_VfVU/S220/aku02.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19475878.post-115739523567151816</id><published>2006-09-05T00:10:00.000+05:30</published><updated>2006-09-05T00:10:37.306+05:30</updated><title type='text'>Myths, Lies, and Truths about the Linux kernel</title><content type='html'>The article linked below is a must read for every linux user, new or experienced:&lt;br /&gt;&lt;a href="http://www.kroah.com/log/linux/ols_2006_keynote.html"&gt;linux kernel monkey log&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19475878-115739523567151816?l=bit-rot.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bit-rot.blogspot.com/feeds/115739523567151816/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19475878&amp;postID=115739523567151816' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19475878/posts/default/115739523567151816'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19475878/posts/default/115739523567151816'/><link rel='alternate' type='text/html' href='http://bit-rot.blogspot.com/2006/09/myths-lies-and-truths-about-linux.html' title='Myths, Lies, and Truths about the Linux kernel'/><author><name>Aku</name><uri>http://www.blogger.com/profile/05619668788455349511</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://2.bp.blogspot.com/_MY633kzeIX8/SgRCbVWqtXI/AAAAAAAAAjM/dxLy6K_VfVU/S220/aku02.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19475878.post-115722045012821912</id><published>2006-09-02T23:37:00.000+05:30</published><updated>2006-09-02T23:37:31.993+05:30</updated><title type='text'>Installing Xmms Presets</title><content type='html'>&lt;a href="http://wiki.freespire.org/index.php/Installing_Xmms_Presets"&gt;Installing Xmms Presets - Freespire&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19475878-115722045012821912?l=bit-rot.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bit-rot.blogspot.com/feeds/115722045012821912/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19475878&amp;postID=115722045012821912' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19475878/posts/default/115722045012821912'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19475878/posts/default/115722045012821912'/><link rel='alternate' type='text/html' href='http://bit-rot.blogspot.com/2006/09/installing-xmms-presets.html' title='Installing Xmms Presets'/><author><name>Aku</name><uri>http://www.blogger.com/profile/05619668788455349511</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://2.bp.blogspot.com/_MY633kzeIX8/SgRCbVWqtXI/AAAAAAAAAjM/dxLy6K_VfVU/S220/aku02.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19475878.post-115721942737201064</id><published>2006-09-02T23:20:00.000+05:30</published><updated>2006-09-02T23:20:29.446+05:30</updated><title type='text'>How to convert YouTube videos to DivX or XviD</title><content type='html'>&lt;a href="http://www.linux.com/article.pl?sid=06/08/22/2121258"&gt;Linux.com | How to convert YouTube videos to DivX or XviD&lt;/a&gt;: "How to convert YouTube videos to DivX or XviD&lt;br /&gt;&lt;br /&gt;Wednesday August 30, 2006 (08:01 AM GMT)&lt;br /&gt;&lt;br /&gt;By: Manolis Tzanidakis&lt;br /&gt;&lt;br /&gt;YouTube clips are everywhere these days, and I must admit I'm addicted to the site. Nevertheless, I've had a couple of small annoyances with YouTube videos. I wanted to be able to play my favorite ones on standalone DVD/DivX players. I also found I couldn't go backwards or forwards when playing the site's Flash videos with MPlayer. For those reasons, I decided to convert my favorite YouTube videos to DivX or XviD formats. Here's how you can do the same.&lt;br /&gt;&lt;br /&gt;"&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19475878-115721942737201064?l=bit-rot.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bit-rot.blogspot.com/feeds/115721942737201064/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19475878&amp;postID=115721942737201064' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19475878/posts/default/115721942737201064'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19475878/posts/default/115721942737201064'/><link rel='alternate' type='text/html' href='http://bit-rot.blogspot.com/2006/09/how-to-convert-youtube-videos-to-divx.html' title='How to convert YouTube videos to DivX or XviD'/><author><name>Aku</name><uri>http://www.blogger.com/profile/05619668788455349511</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://2.bp.blogspot.com/_MY633kzeIX8/SgRCbVWqtXI/AAAAAAAAAjM/dxLy6K_VfVU/S220/aku02.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19475878.post-115720247772967919</id><published>2006-09-02T18:37:00.000+05:30</published><updated>2006-09-02T18:37:58.780+05:30</updated><title type='text'>Linux Flash Player</title><content type='html'>FINALLY!! Our prayers have been answered. :D&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://blogs.zdnet.com/Stewart/?p=96"&gt;» Interview with Mike Melanson, lead engineer on the Linux Flash Player team | The Universal Desktop | ZDNet.com&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19475878-115720247772967919?l=bit-rot.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bit-rot.blogspot.com/feeds/115720247772967919/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19475878&amp;postID=115720247772967919' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19475878/posts/default/115720247772967919'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19475878/posts/default/115720247772967919'/><link rel='alternate' type='text/html' href='http://bit-rot.blogspot.com/2006/09/linux-flash-player.html' title='Linux Flash Player'/><author><name>Aku</name><uri>http://www.blogger.com/profile/05619668788455349511</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://2.bp.blogspot.com/_MY633kzeIX8/SgRCbVWqtXI/AAAAAAAAAjM/dxLy6K_VfVU/S220/aku02.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19475878.post-115686247347758993</id><published>2006-08-29T20:11:00.000+05:30</published><updated>2006-08-29T20:11:14.380+05:30</updated><title type='text'>Linux.com | How to recover lost files after you accidentally wipe your hard drive</title><content type='html'>&lt;a href="http://www.linux.com/article.pl?sid=06/08/21/1558230"&gt;Linux.com | How to recover lost files after you accidentally wipe your hard drive&lt;/a&gt;: "How to recover lost files after you accidentally wipe your hard drive&lt;br /&gt;&lt;br /&gt;Monday August 28, 2006 (08:01 AM GMT)&lt;br /&gt;&lt;br /&gt;By: Shawn Hermans&lt;br /&gt;&lt;br /&gt;Recently I wanted to make sure I had enough space to back up my home digital videos and pictures, so I purchased a new hard drive to add to my home Linux server. I moved all the files I wanted to save onto a single hard drive and repartitioned the old hard drive so I could upgrade to a newer version of Linux. After going through the process of reinstalling the operating system, I mounted the backup hard drive and discovered that it was empty. I had some how mixed up the hard drive I used to back up all the data with a hard drive that I wanted to wipe. Because I had done such a poor job of retaining backups on external media, I did not have any backups of my pictures and videos.&lt;br /&gt;&lt;br /&gt;After the overwhelming feeling of dread passed, I started to look into file recovery options. I demoed a variety of commercial products to see if any of them could find my lost files or partitions. Nothing seemed to work. Finally, I discovered TestDisk and PhotoRec, and was able to use the latter to recover my lost files.&lt;br /&gt;&lt;br /&gt;TestDisk can recover lost partitions of virtually any filesystem. PhotoRec can recover files of most types, including most picture and video formats. PhotoRec can be used on existing partitions, or can be used to recover files on deleted partitions without having to recover the underlying partitions. Both PhotoRec and TestDisk can be run on DOS, Windows (9x, NT, 2000, XP, 2003), Linux, FreeBSD, NetBSD, OpenBSD, Sun Solaris, and Mac OS X, and, their developers claim, can be compiled and run on most Unix systems."&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19475878-115686247347758993?l=bit-rot.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bit-rot.blogspot.com/feeds/115686247347758993/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19475878&amp;postID=115686247347758993' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19475878/posts/default/115686247347758993'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19475878/posts/default/115686247347758993'/><link rel='alternate' type='text/html' href='http://bit-rot.blogspot.com/2006/08/linuxcom-how-to-recover-lost-files.html' title='Linux.com | How to recover lost files after you accidentally wipe your hard drive'/><author><name>Aku</name><uri>http://www.blogger.com/profile/05619668788455349511</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://2.bp.blogspot.com/_MY633kzeIX8/SgRCbVWqtXI/AAAAAAAAAjM/dxLy6K_VfVU/S220/aku02.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19475878.post-115556420195765539</id><published>2006-08-14T19:33:00.000+05:30</published><updated>2006-08-14T19:33:22.053+05:30</updated><title type='text'>How to Create DVD-Video Content</title><content type='html'>I found this page very helpful:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.crazysquirrel.com/computing/debian/dvd-creation.jspx"&gt;How to Create DVD-Video Content&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19475878-115556420195765539?l=bit-rot.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bit-rot.blogspot.com/feeds/115556420195765539/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19475878&amp;postID=115556420195765539' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19475878/posts/default/115556420195765539'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19475878/posts/default/115556420195765539'/><link rel='alternate' type='text/html' href='http://bit-rot.blogspot.com/2006/08/how-to-create-dvd-video-content.html' title='How to Create DVD-Video Content'/><author><name>Aku</name><uri>http://www.blogger.com/profile/05619668788455349511</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://2.bp.blogspot.com/_MY633kzeIX8/SgRCbVWqtXI/AAAAAAAAAjM/dxLy6K_VfVU/S220/aku02.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19475878.post-115314065367980076</id><published>2006-07-17T18:20:00.000+05:30</published><updated>2006-07-17T18:20:53.733+05:30</updated><title type='text'>NewsForge | Linus Torvalds doesn't matter!?!</title><content type='html'>&lt;a href="http://os.newsforge.com/article.pl?sid=06/07/15/2224218&amp;amp;from=rss"&gt;NewsForge | Linus Torvalds doesn't matter!?!&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Check it out! ;)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19475878-115314065367980076?l=bit-rot.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bit-rot.blogspot.com/feeds/115314065367980076/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19475878&amp;postID=115314065367980076' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19475878/posts/default/115314065367980076'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19475878/posts/default/115314065367980076'/><link rel='alternate' type='text/html' href='http://bit-rot.blogspot.com/2006/07/newsforge-linus-torvalds-doesnt-matter.html' title='NewsForge | Linus Torvalds doesn&apos;t matter!?!'/><author><name>Aku</name><uri>http://www.blogger.com/profile/05619668788455349511</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://2.bp.blogspot.com/_MY633kzeIX8/SgRCbVWqtXI/AAAAAAAAAjM/dxLy6K_VfVU/S220/aku02.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19475878.post-115125618544583633</id><published>2006-06-25T22:36:00.000+05:30</published><updated>2006-06-25T22:53:05.456+05:30</updated><title type='text'>Japanese Input in linux</title><content type='html'>I was trying to setup Japanese input in linux. This was not an easy task, however I found it easier than windows. Here's what I did (on ubuntu):&lt;br /&gt;&lt;br /&gt;1) sudo apt-get install im anthy scim-gtk2-immodule scim-uim scim-qtimm&lt;br /&gt;2) Create a file called 75custom-write_japanese in /etc/X11/Xsession.d/&lt;br /&gt;Paste the following lines in it:&lt;br /&gt;export XMODIFIERS="@im=SCIM"&lt;br /&gt;export GTK_IM_MODULE="scim"&lt;br /&gt;export XIM_PROGRAM="scim -d"&lt;br /&gt;export QT_IM_MODULE="scim"&lt;br /&gt;&lt;br /&gt;3) sudo dpkg-reconfigure locales&lt;br /&gt;(Over here, if you have the option of selecting anything, select en_US.UTF-8. But I was not given the option of selecting)&lt;br /&gt;&lt;br /&gt;4) Add &lt;b&gt;scim -d&lt;/b&gt; to your startup. For KDE, make a file ~/.kde/Autostart/&lt;b&gt;startscim&lt;/b&gt;&lt;br /&gt;Paste the following lines:&lt;br /&gt;#!/bin/sh&lt;br /&gt;scim -d&lt;br /&gt;&lt;br /&gt;5) Run: &lt;b&gt;chmod 744 ~/.kde/Autostart/startscim&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;6) Restart the X server.&lt;br /&gt;&lt;br /&gt;Now you will see a nice little gtk-applet sitting in the systray. You can click on it, configure it, and use it to select Japanese or English. It takes a while to get used to it. It will also popup an annoying panel of its own when you select Japanese input. You can drag this to a place more convenient.&lt;br /&gt;&lt;br /&gt;All in all, it works well, and I'm happy with it.&lt;br /&gt;&lt;br /&gt;Information taken from &lt;a href="http://www.ubuntuforums.org/showthread.php?t=27811"&gt;this page&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19475878-115125618544583633?l=bit-rot.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bit-rot.blogspot.com/feeds/115125618544583633/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19475878&amp;postID=115125618544583633' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19475878/posts/default/115125618544583633'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19475878/posts/default/115125618544583633'/><link rel='alternate' type='text/html' href='http://bit-rot.blogspot.com/2006/06/japanese-input-in-linux.html' title='Japanese Input in linux'/><author><name>Aku</name><uri>http://www.blogger.com/profile/05619668788455349511</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://2.bp.blogspot.com/_MY633kzeIX8/SgRCbVWqtXI/AAAAAAAAAjM/dxLy6K_VfVU/S220/aku02.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19475878.post-115112851666786255</id><published>2006-06-24T11:20:00.000+05:30</published><updated>2006-06-24T11:25:16.680+05:30</updated><title type='text'>Dealing with "The Most Annoying Web Page"</title><content type='html'>Many of you may have come across "the most annoying web page". It's a sick page that keeps giving you popups. Now if you don't want to keep clicking on those retarded popups (javascript alerts). Then here's what you do: (apart from killing your browser).&lt;br /&gt;&lt;br /&gt;1) Open a new browser window&lt;br /&gt;2) Disable Javascript (In firefox you go to Edit&gt;Preferences&gt;Content)&lt;br /&gt;3) Click on the popup one last time, and it's all over.&lt;br /&gt;4) Enable Javascript again.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://home.comcast.net/~wolfand/"&gt;Click here if you want to check it out. (Its way too annoying) &lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19475878-115112851666786255?l=bit-rot.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bit-rot.blogspot.com/feeds/115112851666786255/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19475878&amp;postID=115112851666786255' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19475878/posts/default/115112851666786255'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19475878/posts/default/115112851666786255'/><link rel='alternate' type='text/html' href='http://bit-rot.blogspot.com/2006/06/dealing-with-most-annoying-web-page.html' title='Dealing with &quot;The Most Annoying Web Page&quot;'/><author><name>Aku</name><uri>http://www.blogger.com/profile/05619668788455349511</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://2.bp.blogspot.com/_MY633kzeIX8/SgRCbVWqtXI/AAAAAAAAAjM/dxLy6K_VfVU/S220/aku02.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19475878.post-115104183712214035</id><published>2006-06-23T11:02:00.000+05:30</published><updated>2006-06-23T11:20:37.133+05:30</updated><title type='text'>Firestarter and BORGChat</title><content type='html'>I use a LAN chat client called &lt;a href="http://borgchat.softnews.ro/"&gt;BORGChat.&lt;/a&gt; Its a very good piece of work. Although its a windows program, I run it in linux with WINE.&lt;br /&gt;&lt;br /&gt;Getting BorgChat to work through firestarter was a bit of a problem, but I managed to figure it out. First, I found out which ports borgchat uses. This can be done in two ways:&lt;br /&gt;1) Open BorgChat, go to "Options &gt; Connections" and it will show you the post&lt;br /&gt;2) Disable the firewall, run BorgChat. now open a terminal, and type &lt;b&gt;sudo lsof -Pni&lt;/b&gt; . Now look for Borgchat and Wine. You will find the ports on which they are listening.&lt;br /&gt;&lt;br /&gt;Once you know the ports, you have to open these ports in Firestarter. I allowed only Local users to access, by using 10.10.19.152/255.255.255.128 (ip-address/subnet-mask) in the "allowed" section.&lt;br /&gt;&lt;br /&gt;But borg was still not working. Then, I went to "Options &gt; Connections" in BorgChat again, and selected the method &lt;b&gt;IP multicast&lt;/b&gt; instead of UDP broadcast. And then I told my friend on LAN to do the same. Borgchat then started running normally. I can even transfer files.&lt;br /&gt;&lt;br /&gt;The obvious drawback of this method is that you'll have to tell all people on the LAN to use IP Multicast. I have only one friend on LAN, whom I chat with, so it was not a problem for me.&lt;br /&gt;&lt;br /&gt;If, by chance, Borg is still not working for you, then you may need to follow the steps in my previous post (Firestarter and Samba).&lt;br /&gt;&lt;br /&gt;LiNuX RuLZ!!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19475878-115104183712214035?l=bit-rot.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bit-rot.blogspot.com/feeds/115104183712214035/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19475878&amp;postID=115104183712214035' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19475878/posts/default/115104183712214035'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19475878/posts/default/115104183712214035'/><link rel='alternate' type='text/html' href='http://bit-rot.blogspot.com/2006/06/firestarter-and-borgchat.html' title='Firestarter and BORGChat'/><author><name>Aku</name><uri>http://www.blogger.com/profile/05619668788455349511</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://2.bp.blogspot.com/_MY633kzeIX8/SgRCbVWqtXI/AAAAAAAAAjM/dxLy6K_VfVU/S220/aku02.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19475878.post-115097134922564141</id><published>2006-06-22T14:56:00.000+05:30</published><updated>2006-06-22T15:45:49.263+05:30</updated><title type='text'>Firestarter and Samba</title><content type='html'>In my previous post, I have described how I set up Firestarter. However, there were a few issues with Samba. I was able to browse my shares by entering the IP address. But, today when I tried to "browse" my network, I couldn't see anyone. Konqueror gave me an error saying. "Unable to browse local network. This may be caused by a firewall" (something like that).&lt;br /&gt;&lt;br /&gt;Then I stumbled across &lt;a href="http://ubuntuforums.org/showthread.php?t=190542"&gt;this thread on ubuntuforums.&lt;/a&gt; It gave a very good picture of what was going on, and also a solution to the problem. Now, as you know, I'm a total n00b when it comes to networking, and I didn't actually understand everything, but I managed to set things right.&lt;br /&gt;&lt;br /&gt;First of all, in the "Policy" tab of firestarter, I had opened Samba ports (137-139 445) and I had set "10.10.19." as my &lt;i&gt;allowed source&lt;/i&gt; for samba. I figured that the correct format should be IP-address/subnet-mask. So I set it as 10.10.19.152/255.255.255.128 . Again, I'm not entirely sure of this. &lt;a href="http://www.fs-security.com/docs/policy-page.php"&gt; See this page for more details.&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Next, I installed "winbind." I don't know what exactly winbind is, but it seems that it plays a role in resolving hostnames. Do a web search for more details.&lt;br /&gt;&lt;br /&gt;After that, I edited the file /etc/firestarter/inbound/setup .There I added the line:&lt;br /&gt;&lt;font color="red"&gt;&lt;br /&gt;# Allow response to netbios name broadcasts from the local network.&lt;br /&gt;$IPT -A INBOUND -s $NET -p udp -m state --state NEW -j ACCEPT&lt;br /&gt;&lt;/font&gt;&lt;br /&gt;&lt;br /&gt;Then just restarted firestarter (sudo /etc/init.d/firestarter restart), and I was able to browse my local network in konqueror.&lt;br /&gt;&lt;br /&gt;Since I installed winbind, I also added "wins" to the "hosts" line in /etc/nsswitch.conf:&lt;br /&gt;&lt;font color="red"&gt;hosts:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;files dns mdns wins&lt;/font&gt;&lt;br /&gt;&lt;br /&gt;This will allow ordinary TCP/IP programs to resolve hostnames with netbios. (Don't know what it means :-P )&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19475878-115097134922564141?l=bit-rot.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bit-rot.blogspot.com/feeds/115097134922564141/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19475878&amp;postID=115097134922564141' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19475878/posts/default/115097134922564141'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19475878/posts/default/115097134922564141'/><link rel='alternate' type='text/html' href='http://bit-rot.blogspot.com/2006/06/firestarter-and-samba.html' title='Firestarter and Samba'/><author><name>Aku</name><uri>http://www.blogger.com/profile/05619668788455349511</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://2.bp.blogspot.com/_MY633kzeIX8/SgRCbVWqtXI/AAAAAAAAAjM/dxLy6K_VfVU/S220/aku02.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19475878.post-115087839330244232</id><published>2006-06-21T13:22:00.000+05:30</published><updated>2006-06-21T13:56:33.350+05:30</updated><title type='text'>Firestarter</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger/6871/520/1600/firestarter_policy.png"&gt;&lt;img style="float:left; margin:0 10px 10px 0;cursor:pointer; cursor:hand;" src="http://photos1.blogger.com/blogger/6871/520/200/firestarter_policy.png" border="0" alt="" /&gt;&lt;/a&gt;&lt;br /&gt;I installed Firestarter today, after the whole "Mysterious Download" thing, I got a little paranoid. Now I'm quite a n00b when it comes to networks and stuff. But I managed to get Firestarter running just fine :)&lt;br /&gt;&lt;br /&gt;First, I apt-getted firestarter. Then I started it. Then I had to go through the configuration wizard. I didn't understand a word of wtf was going on in the wizard, so I just kept the default options, and kept clicking Next.&lt;br /&gt;&lt;br /&gt;The Firestarter window has 3 main tabs. Status, Events and Policy. I figured I had to open the ports that I get incoming connections on. So after fiddling around a little, I clicked on "Policy", (Editing &gt; Inbound traffic policy)&lt;br /&gt;&lt;br /&gt;Then I clicked on "Add rule", and added FTP (ports 20-21), since I run an FTP server. Next, I added Samba, (ports 137-139 445). Here I didn't choose the default option of "When Source is Anyone". I wanted only LAN clients to be allowed, but for some reason, that option was grayed out. So I selected "IP, Host or network" and entered the IP 10.10.19. Notice I didn't put the last digits.&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger/6871/520/1600/samba_firewall.png"&gt;&lt;img style="float:right; margin:0 0 10px 10px;cursor:pointer; cursor:hand;" src="http://photos1.blogger.com/blogger/6871/520/200/samba_firewall.png" border="0" alt="" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Next, I added Bittorrent (ports 6881-6889). And then clicked on "Apply Policy" on the top.&lt;br /&gt;&lt;br /&gt;Now I tested my FTP and Samba. Both were working fine. (I'll also get my friend to test these from his computer, just to be sure. This post will be edited if I encounter problems).&lt;br /&gt;&lt;br /&gt;Bittorrent: Azureus was using port 21351, which was obviously blocked. So I configured azureus to use port 6889. Then it showed the nice "green" status, and I was happy. :)&lt;br /&gt;&lt;br /&gt;I also noticed many connections on Bittorrent ports, even after quitting azureus. I asked some people on the azureus IRC chatroom if this was normal. Yes, they said its normal. It probably happens because the tracker(s) have my IP address, and people try connecting. But since azureus is not running, the connections just get rejected, or something like that.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19475878-115087839330244232?l=bit-rot.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bit-rot.blogspot.com/feeds/115087839330244232/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19475878&amp;postID=115087839330244232' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19475878/posts/default/115087839330244232'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19475878/posts/default/115087839330244232'/><link rel='alternate' type='text/html' href='http://bit-rot.blogspot.com/2006/06/firestarter.html' title='Firestarter'/><author><name>Aku</name><uri>http://www.blogger.com/profile/05619668788455349511</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://2.bp.blogspot.com/_MY633kzeIX8/SgRCbVWqtXI/AAAAAAAAAjM/dxLy6K_VfVU/S220/aku02.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19475878.post-115070432576779765</id><published>2006-06-19T13:22:00.000+05:30</published><updated>2006-06-19T13:37:16.543+05:30</updated><title type='text'>ext2 upgraded to ext3</title><content type='html'>I was absolutely bored of fsck running every time I have an unclean unmount. It was so fscking boring! This was bacause my linux partitions are ext2, and not ext3.&lt;br /&gt;&lt;br /&gt;I realized that ext3 partions are nothing but ext2 partitions with journaling. (ext3 = ext2 + journaling)&lt;br /&gt;&lt;br /&gt;So is there any way to upgrade to ext3. Yes, there sure is! I found &lt;a href="http://xlife.zuavra.net/columns/20020211/"&gt;this page.&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Basically, I had to run the command:&lt;br /&gt;&lt;tt&gt;tune2fs -j /dev/hda3&lt;/tt&gt;&lt;br /&gt;&lt;br /&gt;/dev/hda3 being my root partition. After running the command, a .journal file will appear in the root directory.&lt;br /&gt;&lt;br /&gt;Next, change your /etc/fstab and mount the / partition as ext3, instead of ext2. And then reboot your system.&lt;br /&gt;&lt;br /&gt;Warnings:&lt;br /&gt;1) Make sure your kernel supports the ext3 filesystem. Ubuntu Dapper supports is, so no problem.&lt;br /&gt;2) Do this at your own risk. Backup data just incase.&lt;br /&gt;3) &lt;a href="http://xlife.zuavra.net/columns/20020211/"&gt;Read this page for more detailed information &lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19475878-115070432576779765?l=bit-rot.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bit-rot.blogspot.com/feeds/115070432576779765/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19475878&amp;postID=115070432576779765' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19475878/posts/default/115070432576779765'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19475878/posts/default/115070432576779765'/><link rel='alternate' type='text/html' href='http://bit-rot.blogspot.com/2006/06/ext2-upgraded-to-ext3.html' title='ext2 upgraded to ext3'/><author><name>Aku</name><uri>http://www.blogger.com/profile/05619668788455349511</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://2.bp.blogspot.com/_MY633kzeIX8/SgRCbVWqtXI/AAAAAAAAAjM/dxLy6K_VfVU/S220/aku02.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19475878.post-115070228548466058</id><published>2006-06-19T12:59:00.000+05:30</published><updated>2006-06-19T13:01:25.496+05:30</updated><title type='text'>Mysterious download</title><content type='html'>The other day, at night, I was doing nothing, just staring at gkrellm. Now, I noticed that some data is being downloaded at a steady 4kBps. At first I just thought it must be a cron job, like apt-get update or something. But I have a 128kbps connection, and whenever something is downloaded, I get a full speed of around 13-14kBps, even during apt-get update&lt;br /&gt;&lt;br /&gt;Next, I decided to see whats up, and I ran the command "sudo lsof -Pni" to see all connections. I expected to see an external IP address, but I just saw the usual processes, no external IP was listed, and nothing out of the ordinary was established on the daemons listening on ports. I started to get more suspicious. I started killing daemons that I thought might be causing this: smbd, nmbd, vsftpd, ircd, and some others. But the download didn't stop.&lt;br /&gt;&lt;br /&gt;Even though I have a cable connection, my IP address is dynamic. So I simply logged off the internet and then logged in again. The download now stopped, and I had a new IP address.&lt;br /&gt;&lt;br /&gt;After this experience, I have decided to install firestarter (which is a firewall). It seems to be very easy to use.&lt;br /&gt;&lt;br /&gt;But I wonder what that mysterious download was! And why was it downloading at a lower speed? "ps -A" also showed nothing out of the ordinary and gkrellm showed "1 user".&lt;br /&gt;&lt;br /&gt;Strange, isn't it ?&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19475878-115070228548466058?l=bit-rot.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bit-rot.blogspot.com/feeds/115070228548466058/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19475878&amp;postID=115070228548466058' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19475878/posts/default/115070228548466058'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19475878/posts/default/115070228548466058'/><link rel='alternate' type='text/html' href='http://bit-rot.blogspot.com/2006/06/mysterious-download.html' title='Mysterious download'/><author><name>Aku</name><uri>http://www.blogger.com/profile/05619668788455349511</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://2.bp.blogspot.com/_MY633kzeIX8/SgRCbVWqtXI/AAAAAAAAAjM/dxLy6K_VfVU/S220/aku02.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19475878.post-115070014168686306</id><published>2006-06-19T12:22:00.000+05:30</published><updated>2006-06-19T12:25:41.696+05:30</updated><title type='text'>Printer - there and back again</title><content type='html'>After I upgraded to Dapper, my printer stopped working. /var/log/cups/error_log gave me this error:&lt;br /&gt;&lt;i&gt; E [19/Jun/2006:12:01:40 +0530] cupsdAuthorize: Local authentication certificate not found!&lt;br /&gt;&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;I looked at a lot of threads on ubuntuforums and a lot of results on google. Finally I deleted my printer, and added it again. And now, it works. Just finished printing a test page. Boy, them test pages sure suck up a lot of ink!!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19475878-115070014168686306?l=bit-rot.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bit-rot.blogspot.com/feeds/115070014168686306/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19475878&amp;postID=115070014168686306' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19475878/posts/default/115070014168686306'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19475878/posts/default/115070014168686306'/><link rel='alternate' type='text/html' href='http://bit-rot.blogspot.com/2006/06/printer-there-and-back-again.html' title='Printer - there and back again'/><author><name>Aku</name><uri>http://www.blogger.com/profile/05619668788455349511</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://2.bp.blogspot.com/_MY633kzeIX8/SgRCbVWqtXI/AAAAAAAAAjM/dxLy6K_VfVU/S220/aku02.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19475878.post-115027805771966050</id><published>2006-06-14T15:02:00.000+05:30</published><updated>2006-06-14T15:10:57.730+05:30</updated><title type='text'>Azureus and the disappearing tray icon</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger/6871/520/1600/azureus_trouble.png"&gt;&lt;img style="float:right; margin:0 0 10px 10px;cursor:pointer; cursor:hand;" src="http://photos1.blogger.com/blogger/6871/520/200/azureus_trouble.png" border="0" alt="" /&gt;&lt;/a&gt;&lt;br /&gt;I installed Azureus today, using apt-get. There were a few problems with it:&lt;br /&gt;1) The Tray Icon at the bottom is a white blank space&lt;br /&gt;2) There is no X button to close tabs.&lt;br /&gt;3) If there is an improper shutdown, the warning message will not go, as the "Hide" button does not respond.&lt;br /&gt;&lt;br /&gt;These problems are verified by other users on ubuntuforums. There are 2 ways of solving this:&lt;br /&gt;1) Use Automatix to install azureus&lt;br /&gt;2) Download the package from azureus.sf.net and extract and use it mannually.&lt;br /&gt;&lt;br /&gt;And remember to remove the apt-getted version first.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19475878-115027805771966050?l=bit-rot.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bit-rot.blogspot.com/feeds/115027805771966050/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19475878&amp;postID=115027805771966050' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19475878/posts/default/115027805771966050'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19475878/posts/default/115027805771966050'/><link rel='alternate' type='text/html' href='http://bit-rot.blogspot.com/2006/06/azureus-and-disappearing-tray-icon.html' title='Azureus and the disappearing tray icon'/><author><name>Aku</name><uri>http://www.blogger.com/profile/05619668788455349511</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://2.bp.blogspot.com/_MY633kzeIX8/SgRCbVWqtXI/AAAAAAAAAjM/dxLy6K_VfVU/S220/aku02.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19475878.post-115019954865431232</id><published>2006-06-13T17:22:00.000+05:30</published><updated>2006-06-13T17:23:39.656+05:30</updated><title type='text'>Google Earth for Linux!</title><content type='html'>Yes, its finally released for Linux! &lt;img src="http://in.geocities.com/akudewan/smileys/band.gif"&gt;&lt;br /&gt;&lt;br /&gt;It needs a lot of resources though, and some people are having trouble using it. I'll download it tonight.&lt;br /&gt;&lt;br /&gt;Special thanks to Ryan Gordon for making this possible :)&lt;br /&gt;&lt;br /&gt;&lt;a href="http://earth.google.com/download-earth.html"&gt;Google Earth - Download&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19475878-115019954865431232?l=bit-rot.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bit-rot.blogspot.com/feeds/115019954865431232/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19475878&amp;postID=115019954865431232' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19475878/posts/default/115019954865431232'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19475878/posts/default/115019954865431232'/><link rel='alternate' type='text/html' href='http://bit-rot.blogspot.com/2006/06/google-earth-for-linux.html' title='Google Earth for Linux!'/><author><name>Aku</name><uri>http://www.blogger.com/profile/05619668788455349511</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://2.bp.blogspot.com/_MY633kzeIX8/SgRCbVWqtXI/AAAAAAAAAjM/dxLy6K_VfVU/S220/aku02.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19475878.post-115018031292887033</id><published>2006-06-13T11:34:00.000+05:30</published><updated>2006-06-13T12:01:52.963+05:30</updated><title type='text'>Breezy to Dapper in 36 insane steps</title><content type='html'>Ubuntu released it's latest version 6.06 (Dapper Drake) a couple of weeks ago, and I decided to upgrade. I was using the Breezy Badger release. I had to do some really insane stuff to upgrade. This is primarily because I have a crappy internet connection, and I can download large files only at night (10:00pm to 8:00am). Also, my computer turns off automatically at 7:50am, I have set this as a cron job.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Note: This is not intended to be a guide to upgrade to Dapper. Please refer to the &lt;a href="https://wiki.ubuntu.com/DapperUpgrades"&gt;Ubuntu wiki page&lt;/a&gt; for information on how to upgrade.&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;So here's what I did, step by step:&lt;br /&gt;&lt;br /&gt;1) I downloaded the dapper CD. (took 2 nights, on my 128kbps connection)&lt;br /&gt;&lt;br /&gt;2) I realized that this is the wrong CD, and the "alternate" CD is needed to upgrade from breezy to dapper. The one I downloaded was for a fresh install only.&lt;br /&gt;&lt;br /&gt;3) Downloaded the "alternate" CD. (took another 2 nights)&lt;br /&gt;&lt;br /&gt;4) Installed the ubuntu-desktop metapackage, had to remove firefox and gaim that I had installed myself, not from the repository. (Used kopete and mozilla in the meantime).&lt;br /&gt;&lt;br /&gt;5) CD burning issues cropped in, maybe the DVD lens has dust, or my CDs are bad. :(&lt;br /&gt;&lt;br /&gt;6) Mounted the iso directly, using the command "mount -o loop /mnt/ranjan/dapper/whatever-alternate-i386.iso /cdrom"&lt;br /&gt;&lt;br /&gt;7) Changed the repository to "dapper" and added the CD to the repository.&lt;br /&gt;&lt;br /&gt;8) Tried to run "sudo apt-get dist-upgrade", but it said that another 740MB of packages need to be downloaded. This is a pain in the ass. Will take another 2 nights.&lt;br /&gt;&lt;br /&gt;9) I used the option "sudo apt-get --download-only dist-upgade" to download the packages at night, i didn't want the upgrade to take place while I'm asleep.&lt;br /&gt;&lt;br /&gt;10) Now I realized that some packages are going to be REMOVED, this incudes KDE, that I need. Can't let this happen, can I?&lt;br /&gt;&lt;br /&gt;11) Found help in the ubuntu chatroom, someone told me I need to install the kubuntu-desktop metapackage as well, since I'm using KDE.&lt;br /&gt;&lt;br /&gt;12) I must change the repo back to breezy, and I'm afraid I might lose all the data that I downloaded in 2 nights, so I took a backup. "cp /var/cache/apt/archives/*.* /mnt/c/apt-cache"&lt;br /&gt;&lt;br /&gt;13) changed back to breezy, and apt-get updated and apt-get cleaned.&lt;br /&gt;&lt;br /&gt;14) sudo apt-get install kubuntu-desktop and got this error:&lt;br /&gt;&lt;i&gt;&lt;br /&gt;Reading package lists... Done&lt;br /&gt;Building dependency tree... Done&lt;br /&gt;Some packages could not be installed. This may mean that you have&lt;br /&gt;requested an impossible situation or if you are using the unstable&lt;br /&gt;distribution that some required packages have not yet been created&lt;br /&gt;or been moved out of Incoming.&lt;br /&gt;&lt;br /&gt;Since you only requested a single operation it is extremely likely that&lt;br /&gt;the package is simply not installable and a bug report against&lt;br /&gt;that package should be filed.&lt;br /&gt;The following information may help to resolve the situation:&lt;br /&gt;&lt;br /&gt;The following packages have unmet dependencies:&lt;br /&gt;  kubuntu-desktop: Depends: akode but it is not going to be installed&lt;br /&gt;E: Broken packages&lt;br /&gt;&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;15) Decided to install the "akode" package manually. "sudo apt-get install akode"&lt;br /&gt;&lt;i&gt;&lt;br /&gt;The following packages will be REMOVED:&lt;br /&gt;  juk kdeaccessibility kdemultimedia kttsd libakode2 libarts1-akode&lt;br /&gt;&lt;/i&gt;&lt;br /&gt;I decided to proceed anyway. Then Went to pee and then drank some cold water.&lt;br /&gt;&lt;br /&gt;Came back, and process went smoothly.&lt;br /&gt;&lt;br /&gt;16) sudo apt-get install kubuntu-desktop.&lt;br /&gt;&lt;br /&gt;17) KDM was kind enough to ask me which login manager I want to use, and I selected GDM. This happened while "configuring packages" after apt-get.&lt;br /&gt;&lt;br /&gt;18) Changed /etc/apt/sources.list back to dapper.&lt;br /&gt;&lt;br /&gt;19) sudo apt-get clean&lt;br /&gt;&lt;br /&gt;20) cp /mnt/c/apt-cache/* /var/cache/apt/archives&lt;br /&gt;&lt;br /&gt;21) sudo apt-get update &lt;br /&gt;&lt;br /&gt;22) had to add cdrom again&lt;br /&gt;&lt;br /&gt;23) sudo apt-get dist-upgrade&lt;br /&gt;&lt;br /&gt;24) had a look at the packages removed, they are in the "installed" list, so no problem&lt;br /&gt;&lt;br /&gt;25) closing all programs and proceeding. 60 MB more need to be downloaded, using --download-only option and going to sleep.&lt;br /&gt;&lt;br /&gt;26) Woke up this morning, all downloads were complete. Did sudo apt-get dist-upgrade, and got an infinite loop of errors. Now doing sudo apt-get update to correct the problem. I can only hope it will be solved, as the error seems to be similar to the one when apt-get update fails.&lt;br /&gt;&lt;br /&gt;27) Process started (apt-get dist-upgrade) :D .I hope I don't run out of disk space (only 1.4GB free) :-P&lt;br /&gt;&lt;br /&gt;28) Dist-upgrade suddenly stopped in the middle, and gave me this error:&lt;br /&gt;&lt;i&gt;&lt;br /&gt;Errors were encountered while processing:&lt;br /&gt; /var/cache/apt/archives/artwiz-cursor_1%3a1.3-2ubuntu1_all.deb&lt;br /&gt;E: Sub-process /usr/bin/dpkg returned an error code (1)&lt;br /&gt;&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;29) Anyway, I did "sudo apt-get dist-upgrade" again, but some problem about something depending on libsdl-gfx1.2-4, so installing that mannually&lt;br /&gt;&lt;br /&gt;"sudo apt-get install libsdl-gfx1.2-4"&lt;br /&gt;&lt;br /&gt;Then it started installing/setting up a whole load of stuff :-S (possibly continuing the dist-upgrade?)&lt;br /&gt;&lt;br /&gt;30) That got over after a long time. Then i did "sudo apt-get dist-upgrade" yet again. And again, got the artiwiz-cursor error :(&lt;br /&gt;&lt;br /&gt;31) I decided to remove the artwiz-cursor deb file from the cache, maybe it got corrupt somehow.&lt;br /&gt;&lt;br /&gt;32) sudo apt-get dist-upgrade again, 8KB need to be downloaded, fine.&lt;br /&gt;&lt;br /&gt;Same error again. This is sick, saw the description of this horrid artwiz-cursor. OK, its just a freakin Ascii X mouse cursor font, I got rid of it.&lt;br /&gt;&lt;br /&gt;33) Again, sudo apt-get dist-upgrade. And Finally no more artwiz shit.&lt;br /&gt;&lt;br /&gt;34) Finally, its over :) Checked if there are any broken packages. No broken packages, now rebooting.&lt;br /&gt;&lt;br /&gt;35) X server refused to start, thanks to artwiz being uninstalled. Now I had to boot into windows to use the net to find out what I could do about it. A bug report page told me that installing or reconfiguring "xcursor-themes" package may do the trick. And yes, "dpkg-reconfigure xcursor-themes" solved the problem. And then I could install artwiz-cursors.&lt;br /&gt;&lt;br /&gt;During this process, however, whenever I switched to a "blank" terminal (say, CTRL+ALT+F10), the system would freeze. No keyboard response, nothing at all. Had to press the reset button. And had to run fsck every time, and loads of errors were found on /home. I wonder how many files became corrupt in the process :'(&lt;br /&gt;&lt;br /&gt;36) Reboot again, and HURRAY, DAPPER IS WORKING!!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19475878-115018031292887033?l=bit-rot.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bit-rot.blogspot.com/feeds/115018031292887033/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19475878&amp;postID=115018031292887033' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19475878/posts/default/115018031292887033'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19475878/posts/default/115018031292887033'/><link rel='alternate' type='text/html' href='http://bit-rot.blogspot.com/2006/06/breezy-to-dapper-in-36-insane-steps.html' title='Breezy to Dapper in 36 insane steps'/><author><name>Aku</name><uri>http://www.blogger.com/profile/05619668788455349511</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://2.bp.blogspot.com/_MY633kzeIX8/SgRCbVWqtXI/AAAAAAAAAjM/dxLy6K_VfVU/S220/aku02.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19475878.post-114966365695360964</id><published>2006-06-07T12:07:00.000+05:30</published><updated>2006-06-07T12:30:56.976+05:30</updated><title type='text'>About google &amp; Linux</title><content type='html'>Google, I think, has been more kind to linux compared to other companies of the same gernre. When they released &lt;a href="http://pack.google.com/pack_installer_required.html"&gt;google-pack&lt;/a&gt;, linux users were quite disappointed, because it was available only for windows. However, they recently ported their software &lt;a href="http://picasa.google.com/linux/"&gt;Picasa&lt;/a&gt; to linux. It uses WINE and mozilla. Google also made several patches for WINE in the process.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.google.com/talk/"&gt;Google-talk&lt;/a&gt; is another software thats available only for windows. However, it uses the Jabber Protocol, which means that linux users can use Gaim or Kopete to chat. Later on, they made a web-interface built into GMail. The fact is, my friends who use windows prefer the web-interface over Google-Talk.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://earth.google.com/"&gt;Google-Earth&lt;/a&gt; is available only for windows, but linux users can go to &lt;a href="http://maps.google.com/"&gt;maps.google.com&lt;/a&gt; and have a look at satellite images. Maybe not as good as Google-earth, but heck, it works!&lt;br /&gt;&lt;br /&gt;Google even has &lt;a href="http://www.google.com/options/specialsearches.html"&gt;Special Search&lt;/a&gt; options, which includes a section on linux and BSD.&lt;br /&gt;&lt;br /&gt;Recently, google started an &lt;a href="http://www.google.com/calendar"&gt;online-calendar&lt;/a&gt;, and they are working on an online &lt;a href="http://www.google.com/googlespreadsheets/tour1.html"&gt;Spreadsheet&lt;/a&gt;. All you need is a web-browser, which means they'll work on any OS.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19475878-114966365695360964?l=bit-rot.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bit-rot.blogspot.com/feeds/114966365695360964/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19475878&amp;postID=114966365695360964' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19475878/posts/default/114966365695360964'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19475878/posts/default/114966365695360964'/><link rel='alternate' type='text/html' href='http://bit-rot.blogspot.com/2006/06/about-google-linux.html' title='About google &amp; Linux'/><author><name>Aku</name><uri>http://www.blogger.com/profile/05619668788455349511</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://2.bp.blogspot.com/_MY633kzeIX8/SgRCbVWqtXI/AAAAAAAAAjM/dxLy6K_VfVU/S220/aku02.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19475878.post-114853984286419553</id><published>2006-05-25T12:20:00.000+05:30</published><updated>2006-05-25T12:20:42.920+05:30</updated><title type='text'>Slashdot | First Photos of MIT $100 Laptop</title><content type='html'>&lt;a href="http://hardware.slashdot.org/article.pl?sid=06/05/24/1210225&amp;amp;from=rss"&gt;Slashdot | First Photos of MIT $100 Laptop&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19475878-114853984286419553?l=bit-rot.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bit-rot.blogspot.com/feeds/114853984286419553/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19475878&amp;postID=114853984286419553' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19475878/posts/default/114853984286419553'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19475878/posts/default/114853984286419553'/><link rel='alternate' type='text/html' href='http://bit-rot.blogspot.com/2006/05/slashdot-first-photos-of-mit-100.html' title='Slashdot | First Photos of MIT $100 Laptop'/><author><name>Aku</name><uri>http://www.blogger.com/profile/05619668788455349511</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://2.bp.blogspot.com/_MY633kzeIX8/SgRCbVWqtXI/AAAAAAAAAjM/dxLy6K_VfVU/S220/aku02.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19475878.post-114638995351760308</id><published>2006-04-30T14:55:00.000+05:30</published><updated>2006-04-30T15:09:13.533+05:30</updated><title type='text'>Processes using the internet</title><content type='html'>Sometimes I notice that some mysterious process is downloading data from the internet. (gkrellm shows me that data is being downloaded, even though I'm not doing anything). This is probably just "apt-get update" running in the background. But is there any way to tell for sure which process are sending and receiving data from the internet?&lt;br /&gt;&lt;br /&gt;&lt;a href="http://ubuntuforums.org/showthread.php?p=970474"&gt;I asked this question on Ubuntuforums, and I got a very nice reply.&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;There are two ways of doing this:&lt;br /&gt;&lt;ol&gt;&lt;br /&gt;&lt;li&gt; Simply use the command: &lt;tt&gt;sudo lsof -Pni&lt;/tt&gt;&lt;br /&gt;&lt;li&gt; You can use a tool called trojanscan &lt;a href="http://www.derks.it/tools.html"&gt;(homepage here)&lt;/a&gt;&lt;br /&gt;&lt;/ol&gt;&lt;br /&gt;&lt;br /&gt;Personally, I prefer the first method. But system administrators may like TrojanScan better, has it has more features, and you can choose to ignore &lt;span style="font-style:italic;"&gt;the usual&lt;/span&gt; processes.&lt;br /&gt;&lt;br /&gt;Have fun &lt;img src="http://in.geocities.com/akudewan/smileys/smile.gif"&gt;&lt;br /&gt;&lt;br /&gt;-Aku&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19475878-114638995351760308?l=bit-rot.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bit-rot.blogspot.com/feeds/114638995351760308/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19475878&amp;postID=114638995351760308' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19475878/posts/default/114638995351760308'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19475878/posts/default/114638995351760308'/><link rel='alternate' type='text/html' href='http://bit-rot.blogspot.com/2006/04/processes-using-internet.html' title='Processes using the internet'/><author><name>Aku</name><uri>http://www.blogger.com/profile/05619668788455349511</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://2.bp.blogspot.com/_MY633kzeIX8/SgRCbVWqtXI/AAAAAAAAAjM/dxLy6K_VfVU/S220/aku02.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19475878.post-114638194157931947</id><published>2006-04-30T12:55:00.000+05:30</published><updated>2006-04-30T12:55:41.613+05:30</updated><title type='text'>Super Grub Disk : HomePage</title><content type='html'>&lt;a href="http://adrian15.raulete.net/grub/tiki-index.php"&gt;Super Grub Disk : HomePage&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;This is a great software that helps you boot if you've messed up grub or your MBR. I haven't tried it out, but it seems fairly simple to use. If I encounter any problems with it, I'll edit this post and tell the details. :)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19475878-114638194157931947?l=bit-rot.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bit-rot.blogspot.com/feeds/114638194157931947/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19475878&amp;postID=114638194157931947' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19475878/posts/default/114638194157931947'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19475878/posts/default/114638194157931947'/><link rel='alternate' type='text/html' href='http://bit-rot.blogspot.com/2006/04/super-grub-disk-homepage.html' title='Super Grub Disk : HomePage'/><author><name>Aku</name><uri>http://www.blogger.com/profile/05619668788455349511</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://2.bp.blogspot.com/_MY633kzeIX8/SgRCbVWqtXI/AAAAAAAAAjM/dxLy6K_VfVU/S220/aku02.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19475878.post-114551717394624560</id><published>2006-04-20T12:30:00.000+05:30</published><updated>2006-04-20T12:42:53.963+05:30</updated><title type='text'>A new look &amp; feel</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger/6871/520/1600/snapshot1.png"&gt;&lt;img style="float:left; margin:0 10px 10px 0;cursor:pointer; cursor:hand;" src="http://photos1.blogger.com/blogger/6871/520/200/snapshot1.jpg" border="0" alt="" /&gt;&lt;/a&gt;&lt;br /&gt;I've been using xfce for quite some time now, almost a year, and I began to get bored of it. So I decided to switch to KDE. That's quite a drastic change, compared to the minimalistic look of xfce.&lt;br /&gt;&lt;br /&gt;Even so, it's a good change. That's the beauty of linux, you have many choices. And if you don't like the choices given to you, you can even make your own desktop environment :)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19475878-114551717394624560?l=bit-rot.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bit-rot.blogspot.com/feeds/114551717394624560/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19475878&amp;postID=114551717394624560' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19475878/posts/default/114551717394624560'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19475878/posts/default/114551717394624560'/><link rel='alternate' type='text/html' href='http://bit-rot.blogspot.com/2006/04/new-look-feel.html' title='A new look &amp; feel'/><author><name>Aku</name><uri>http://www.blogger.com/profile/05619668788455349511</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://2.bp.blogspot.com/_MY633kzeIX8/SgRCbVWqtXI/AAAAAAAAAjM/dxLy6K_VfVU/S220/aku02.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19475878.post-114326721732317609</id><published>2006-03-25T11:40:00.000+05:30</published><updated>2006-03-25T11:43:37.333+05:30</updated><title type='text'>subtitle trouble</title><content type='html'>My friend gave me a copy of Final Fantasy - Advent Children. It has an srt file with english subtitles. But for some reason, mplayer wouldn't recognise the subtitles.&lt;br /&gt;&lt;br /&gt;Then I realised that the subtitle file and avi file must have the same name. So a simple renaming solved the problem, and I could play the subtitles &lt;img src="http://in.geocities.com/akudewan/smileys/tongue.gif"&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19475878-114326721732317609?l=bit-rot.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bit-rot.blogspot.com/feeds/114326721732317609/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19475878&amp;postID=114326721732317609' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19475878/posts/default/114326721732317609'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19475878/posts/default/114326721732317609'/><link rel='alternate' type='text/html' href='http://bit-rot.blogspot.com/2006/03/subtitle-trouble.html' title='subtitle trouble'/><author><name>Aku</name><uri>http://www.blogger.com/profile/05619668788455349511</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://2.bp.blogspot.com/_MY633kzeIX8/SgRCbVWqtXI/AAAAAAAAAjM/dxLy6K_VfVU/S220/aku02.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19475878.post-114268930923631100</id><published>2006-03-18T18:54:00.000+05:30</published><updated>2006-08-05T19:59:36.736+05:30</updated><title type='text'>Copying VCD tracks using cdfs</title><content type='html'>I tried to copy a vcd just by copying the avseq01.dat and other .dat files, but I was getting an I/O error. So I found out that I have to install a program called CDFS. You can download it from &lt;a href="http://www.elis.ugent.be/~ronsse/cdfs/download/"&gt;here&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Next, I unzipped the folder, used "make" and "make install". I had to do an additional step: &lt;tt&gt;sudo insmod cdfs.ko &lt;/tt&gt; This is to activate the filesystem. See the INSTALL file for more details.&lt;br /&gt;&lt;br /&gt;Now I mounted the VCD, not using iso9660, but cdfs, like this: &lt;tt&gt;sudo mount -t cdfs /dev/dvd /media/cdrom &lt;/tt&gt;&lt;br /&gt;&lt;br /&gt;Now when I browse the /media/cdrom folder, I can see the vcd tracks as mpeg files. All I have to do is copy them. Its taking a long time, but its working...&lt;br /&gt;&lt;br /&gt;Apparently, CDFS has a lot of other uses, like copying data from corrupt multisession disks. Get more info &lt;a href="http://www.elis.ugent.be/~ronsse/cdfs/cdfs.html"&gt;from this site.&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Update: 05 August 2006: Easier solution:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Just get &lt;a href="http://www.vcdimager.org/"&gt;vcdimager&lt;/a&gt; and use vcdxrip :)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19475878-114268930923631100?l=bit-rot.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bit-rot.blogspot.com/feeds/114268930923631100/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19475878&amp;postID=114268930923631100' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19475878/posts/default/114268930923631100'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19475878/posts/default/114268930923631100'/><link rel='alternate' type='text/html' href='http://bit-rot.blogspot.com/2006/03/copying-vcd-tracks-using-cdfs.html' title='Copying VCD tracks using cdfs'/><author><name>Aku</name><uri>http://www.blogger.com/profile/05619668788455349511</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://2.bp.blogspot.com/_MY633kzeIX8/SgRCbVWqtXI/AAAAAAAAAjM/dxLy6K_VfVU/S220/aku02.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19475878.post-114231819198096424</id><published>2006-03-14T12:01:00.000+05:30</published><updated>2006-06-09T13:02:51.076+05:30</updated><title type='text'>Enable DMA</title><content type='html'>Is your CD/DVD Burning too slow? Does it make your system hang? Maybe you need to enable DMA !!&lt;br /&gt;&lt;br /&gt;I bought a DVD writer, an LG model, and I noticed that burning was slower than usual and it was making my system hang.&lt;br /&gt;&lt;br /&gt;To check whether DMA was enabled, I did:&lt;br /&gt;&lt;tt&gt;&lt;br /&gt;sudo cat /proc/ide/hdd/&lt;br /&gt;&lt;/tt&gt;&lt;br /&gt;&lt;br /&gt;The last line was something like this:&lt;br /&gt;&lt;tt&gt;&lt;br /&gt;using_dma               0               0               1               rw&lt;br /&gt;&lt;/tt&gt;&lt;br /&gt;&lt;br /&gt;Notice that the value in the first column is zero, which means that DMA is not enabled.&lt;br /&gt;&lt;br /&gt;Then I ran the command: &lt;br /&gt;&lt;tt&gt;&lt;br /&gt;sudo hdparm -d1 /dev/hdd&lt;br /&gt;&lt;/tt&gt;&lt;br /&gt;&lt;br /&gt;And Tada !! CD burning doubled in speed, and no more hanging. cool, eh ?&lt;br /&gt;&lt;br /&gt;Edit: Everytime you reboot, DMA will be disabled, so you have to take appropriate steps to make sure that DMA is enabled on boot. Ubuntu users can follow &lt;a href="https://wiki.ubuntu.com/DMA?highlight=%28DMA%29"&gt;this guide.&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19475878-114231819198096424?l=bit-rot.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bit-rot.blogspot.com/feeds/114231819198096424/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19475878&amp;postID=114231819198096424' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19475878/posts/default/114231819198096424'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19475878/posts/default/114231819198096424'/><link rel='alternate' type='text/html' href='http://bit-rot.blogspot.com/2006/03/enable-dma.html' title='Enable DMA'/><author><name>Aku</name><uri>http://www.blogger.com/profile/05619668788455349511</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://2.bp.blogspot.com/_MY633kzeIX8/SgRCbVWqtXI/AAAAAAAAAjM/dxLy6K_VfVU/S220/aku02.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19475878.post-114127879040030526</id><published>2006-03-02T11:18:00.000+05:30</published><updated>2006-03-02T11:23:10.410+05:30</updated><title type='text'>Resizing lots of images at once</title><content type='html'>My sister got engaged recently, and I had a lot of high resolution pics, which I wanted to upload. I needed to resize these images, in order to make them small and upload them.&lt;br /&gt;&lt;br /&gt;I found out about a command called "mogrify". All I had to do was:&lt;br /&gt;1) Create a separate folder, and backup the high-res pics, as they will be overwritten.&lt;br /&gt;2) Run the command &lt;tt&gt;  mogrify -geometry 640x425 ./*.* &lt;/tt&gt; in the directory that I had to resize the images.&lt;br /&gt;3) Wait...&lt;br /&gt;&lt;br /&gt;In a couple of minutes, all the images will be resized !!&lt;br /&gt;&lt;br /&gt;Mogrify can do a lot more than just resize images. Run &lt;tt&gt; mogrify -help &lt;/tt&gt; for details. :)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19475878-114127879040030526?l=bit-rot.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bit-rot.blogspot.com/feeds/114127879040030526/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19475878&amp;postID=114127879040030526' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19475878/posts/default/114127879040030526'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19475878/posts/default/114127879040030526'/><link rel='alternate' type='text/html' href='http://bit-rot.blogspot.com/2006/03/resizing-lots-of-images-at-once.html' title='Resizing lots of images at once'/><author><name>Aku</name><uri>http://www.blogger.com/profile/05619668788455349511</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://2.bp.blogspot.com/_MY633kzeIX8/SgRCbVWqtXI/AAAAAAAAAjM/dxLy6K_VfVU/S220/aku02.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19475878.post-114119282570139799</id><published>2006-03-01T11:26:00.000+05:30</published><updated>2006-03-01T11:30:25.710+05:30</updated><title type='text'>Why windows Vista won't suck.</title><content type='html'>I came across this article from slashdot. &lt;a href="http://www.extremetech.com/article2/0,1697,1931913,00.asp"&gt; Why Windows Vista won't suck &lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Well, I'll be able to tell that only after I use it. Moreover, my computer isn't fast enough to support Vista. I've only downloaded a transition pack that changed the graphics to Vista style :-P&lt;br /&gt;&lt;br /&gt;Whatever the case, there seem to be some major improvements in Vista. Lets wait and see&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19475878-114119282570139799?l=bit-rot.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bit-rot.blogspot.com/feeds/114119282570139799/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19475878&amp;postID=114119282570139799' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19475878/posts/default/114119282570139799'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19475878/posts/default/114119282570139799'/><link rel='alternate' type='text/html' href='http://bit-rot.blogspot.com/2006/03/why-windows-vista-wont-suck.html' title='Why windows Vista won&apos;t suck.'/><author><name>Aku</name><uri>http://www.blogger.com/profile/05619668788455349511</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://2.bp.blogspot.com/_MY633kzeIX8/SgRCbVWqtXI/AAAAAAAAAjM/dxLy6K_VfVU/S220/aku02.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19475878.post-114088634653135312</id><published>2006-02-25T22:11:00.000+05:30</published><updated>2006-03-18T19:19:02.570+05:30</updated><title type='text'>wma to mp3</title><content type='html'>I found an old script on linuxquestions.org to convert wma's to mp3's.&lt;br /&gt;I had to make a minor change to get it working with the latest version&lt;br /&gt;of mplayer.&lt;br&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;Requirements: Lame, mplayer.&lt;br&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;To save the script, do this:&lt;br&gt;&lt;br /&gt;&lt;span style="background-color: rgb(204, 204, 204);"&gt;sudo&lt;br /&gt;gedit /usr/bin/wma2mp3&lt;/span&gt;&lt;br&gt;&lt;br /&gt;then copy paste the code.&lt;br&gt;&lt;br /&gt;Then type:&lt;br&gt;&lt;br /&gt;&lt;span style="background-color: rgb(204, 204, 204);"&gt;sudo&lt;br /&gt;chmod a+x /usr/bin/wma2mp3&lt;/span&gt;&lt;br&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;If you don't have sudo, then just remove sudo and run the commands as&lt;br /&gt;root.&lt;br&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;Here is the code:&lt;br&gt;&lt;br /&gt;&lt;tt&gt;&lt;br /&gt;#!/bin/bash&lt;br&gt;&lt;br /&gt;current_directory=$( pwd )&lt;br /&gt;#remove spaces&lt;br /&gt;for i in *.wma; do mv "$i" `echo $i | tr ' ' '_'`; done&lt;br /&gt;#remove uppercase&lt;br /&gt;for i in *.[Ww][Mm][Aa]; do mv "$i" `echo $i | tr '[A-Z]' '[a-z]'`; done&lt;br /&gt;#Rip with Mplayer / encode with LAME&lt;br /&gt;for i in *.wma ; do mplayer -vo null -vc dummy -af resample=44100 -ao&lt;br /&gt;pcm:waveheader $i &amp;amp;&amp;amp; lame -m s audiodump.wav -o $i; done&lt;br /&gt;#convert file names&lt;br /&gt;for i in *.wma; do mv "$i" "`basename "$i" .wma`.mp3"; done&lt;br /&gt;rm audiodump.wav&lt;br /&gt;&lt;/tt&gt;&lt;br /&gt;&lt;br /&gt;The script runs without any arguments, and it will convert all files in the folder.&lt;br /&gt;&lt;br /&gt;&lt;h5&gt;&lt;font color="red"&gt; Warning: All files will be overwritten &lt;/font&gt; &lt;/h5&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19475878-114088634653135312?l=bit-rot.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bit-rot.blogspot.com/feeds/114088634653135312/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19475878&amp;postID=114088634653135312' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19475878/posts/default/114088634653135312'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19475878/posts/default/114088634653135312'/><link rel='alternate' type='text/html' href='http://bit-rot.blogspot.com/2006/02/wma-to-mp3.html' title='wma to mp3'/><author><name>Aku</name><uri>http://www.blogger.com/profile/05619668788455349511</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://2.bp.blogspot.com/_MY633kzeIX8/SgRCbVWqtXI/AAAAAAAAAjM/dxLy6K_VfVU/S220/aku02.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19475878.post-113998947508437081</id><published>2006-02-15T13:10:00.000+05:30</published><updated>2006-02-15T13:14:35.100+05:30</updated><title type='text'>mp3 player</title><content type='html'>I bought a Creative mp3 player. Its 1 GB, with FM, Voice recorder, FM recorder, 4 equalizer presets, and folder support.&lt;br /&gt;&lt;br /&gt;To get it running on linux was a breeze. First, I shoved the player into the usb port, then I mounted the player on a directory that i created, /mnt/usb/&lt;br /&gt;&lt;br /&gt;So I do:&lt;br /&gt;&lt;tt&gt;sudo mount /dev/sda1 /mnt/usb/&lt;/tt&gt;&lt;br /&gt;&lt;br /&gt;And then I run nautilus as root, and just copy whatever songs I want into the player. Voila !!&lt;br /&gt;&lt;br /&gt;I could have solved the permission issues if I wanted to, but I didn't want to :-P&lt;br /&gt;&lt;br /&gt;Oh, before pulling out the player, remember to&lt;br /&gt;&lt;tt&gt; sudo umount /mnt/usb &lt;/tt&gt;&lt;br /&gt;&lt;br /&gt;Have a nice day!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19475878-113998947508437081?l=bit-rot.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bit-rot.blogspot.com/feeds/113998947508437081/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19475878&amp;postID=113998947508437081' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19475878/posts/default/113998947508437081'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19475878/posts/default/113998947508437081'/><link rel='alternate' type='text/html' href='http://bit-rot.blogspot.com/2006/02/mp3-player.html' title='mp3 player'/><author><name>Aku</name><uri>http://www.blogger.com/profile/05619668788455349511</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://2.bp.blogspot.com/_MY633kzeIX8/SgRCbVWqtXI/AAAAAAAAAjM/dxLy6K_VfVU/S220/aku02.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19475878.post-113983286420170816</id><published>2006-02-13T17:44:00.000+05:30</published><updated>2006-02-13T17:44:24.203+05:30</updated><title type='text'>nihongo benkyo</title><content type='html'>This is a really cool Japanese dictionary, that I found helpful.&lt;br /&gt;&lt;a href="http://www.gnomefiles.org/app.php?soft_id=966"&gt;GnomeFiles - GNOME/GTK+ Software Repository&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19475878-113983286420170816?l=bit-rot.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bit-rot.blogspot.com/feeds/113983286420170816/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19475878&amp;postID=113983286420170816' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19475878/posts/default/113983286420170816'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19475878/posts/default/113983286420170816'/><link rel='alternate' type='text/html' href='http://bit-rot.blogspot.com/2006/02/nihongo-benkyo.html' title='nihongo benkyo'/><author><name>Aku</name><uri>http://www.blogger.com/profile/05619668788455349511</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://2.bp.blogspot.com/_MY633kzeIX8/SgRCbVWqtXI/AAAAAAAAAjM/dxLy6K_VfVU/S220/aku02.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19475878.post-113911822207600985</id><published>2006-02-05T11:11:00.000+05:30</published><updated>2006-02-05T11:13:42.096+05:30</updated><title type='text'>Evince - PDF viewer</title><content type='html'>I came across this really neat PDF viewer. I like it bacause I can actually copy-paste text from it :)&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.gnome.org/projects/evince/"&gt; Click here to go to the homepage &lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19475878-113911822207600985?l=bit-rot.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bit-rot.blogspot.com/feeds/113911822207600985/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19475878&amp;postID=113911822207600985' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19475878/posts/default/113911822207600985'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19475878/posts/default/113911822207600985'/><link rel='alternate' type='text/html' href='http://bit-rot.blogspot.com/2006/02/evince-pdf-viewer.html' title='Evince - PDF viewer'/><author><name>Aku</name><uri>http://www.blogger.com/profile/05619668788455349511</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://2.bp.blogspot.com/_MY633kzeIX8/SgRCbVWqtXI/AAAAAAAAAjM/dxLy6K_VfVU/S220/aku02.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19475878.post-113808060381411123</id><published>2006-01-24T11:00:00.000+05:30</published><updated>2006-01-24T11:00:03.823+05:30</updated><title type='text'>Gimp Plugin GREYCstoration - Haypo</title><content type='html'>&lt;a href="http://www.haypocalc.com/wiki/Gimp_Plugin_GREYCstoration"&gt;Gimp Plugin GREYCstoration - Haypo&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19475878-113808060381411123?l=bit-rot.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bit-rot.blogspot.com/feeds/113808060381411123/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19475878&amp;postID=113808060381411123' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19475878/posts/default/113808060381411123'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19475878/posts/default/113808060381411123'/><link rel='alternate' type='text/html' href='http://bit-rot.blogspot.com/2006/01/gimp-plugin-greycstoration-haypo.html' title='Gimp Plugin GREYCstoration - Haypo'/><author><name>Aku</name><uri>http://www.blogger.com/profile/05619668788455349511</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://2.bp.blogspot.com/_MY633kzeIX8/SgRCbVWqtXI/AAAAAAAAAjM/dxLy6K_VfVU/S220/aku02.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19475878.post-113790736745382122</id><published>2006-01-22T10:52:00.000+05:30</published><updated>2006-01-22T10:52:47.486+05:30</updated><title type='text'>Software War</title><content type='html'>&lt;a href="http://www.atai.org/softwarewar.png"&gt;softwarewar.png (PNG Image, 959x719 pixels)&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19475878-113790736745382122?l=bit-rot.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bit-rot.blogspot.com/feeds/113790736745382122/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19475878&amp;postID=113790736745382122' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19475878/posts/default/113790736745382122'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19475878/posts/default/113790736745382122'/><link rel='alternate' type='text/html' href='http://bit-rot.blogspot.com/2006/01/software-war.html' title='Software War'/><author><name>Aku</name><uri>http://www.blogger.com/profile/05619668788455349511</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://2.bp.blogspot.com/_MY633kzeIX8/SgRCbVWqtXI/AAAAAAAAAjM/dxLy6K_VfVU/S220/aku02.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19475878.post-113706488044563271</id><published>2006-01-12T16:45:00.000+05:30</published><updated>2006-01-12T16:51:23.146+05:30</updated><title type='text'>Desktop screenshot</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger/6871/520/1600/Screenshot.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://photos1.blogger.com/blogger/6871/520/320/Screenshot.jpg" border="0" alt="" /&gt;&lt;/a&gt;&lt;br /&gt;Here is a screenshot of my desktop. Its nothing grand, but its my blog, so I can post whatever I want &lt;img src="http://in.geocities.com/akudewan/smileys/tongue.gif"&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19475878-113706488044563271?l=bit-rot.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bit-rot.blogspot.com/feeds/113706488044563271/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19475878&amp;postID=113706488044563271' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19475878/posts/default/113706488044563271'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19475878/posts/default/113706488044563271'/><link rel='alternate' type='text/html' href='http://bit-rot.blogspot.com/2006/01/desktop-screenshot.html' title='Desktop screenshot'/><author><name>Aku</name><uri>http://www.blogger.com/profile/05619668788455349511</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://2.bp.blogspot.com/_MY633kzeIX8/SgRCbVWqtXI/AAAAAAAAAjM/dxLy6K_VfVU/S220/aku02.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19475878.post-113687596001967810</id><published>2006-01-10T12:16:00.000+05:30</published><updated>2006-01-10T12:22:40.040+05:30</updated><title type='text'>Frostwire</title><content type='html'>I found this really great p2p client. I had heard a little about it. Today, I downloaded the linux rpm, used alien to convert it to a deb, and then did a dpkg -i to install it. Its a java progam, but I fell in love with it instantly. Bye bye apollon &lt;img src="http://in.geocities.com/akudewan/smileys/bye.gif"&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;a href="http://www.frostwire.com/index.php?title=Main_Page"&gt; Heres a link to frostwire &lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19475878-113687596001967810?l=bit-rot.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bit-rot.blogspot.com/feeds/113687596001967810/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19475878&amp;postID=113687596001967810' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19475878/posts/default/113687596001967810'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19475878/posts/default/113687596001967810'/><link rel='alternate' type='text/html' href='http://bit-rot.blogspot.com/2006/01/frostwire.html' title='Frostwire'/><author><name>Aku</name><uri>http://www.blogger.com/profile/05619668788455349511</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://2.bp.blogspot.com/_MY633kzeIX8/SgRCbVWqtXI/AAAAAAAAAjM/dxLy6K_VfVU/S220/aku02.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19475878.post-113652650616083871</id><published>2006-01-06T11:18:00.000+05:30</published><updated>2006-01-06T11:18:26.160+05:30</updated><title type='text'>Main Page - Ubuntu Document Storage Facility</title><content type='html'>&lt;a href="http://doc.gwos.org/index.php/Main_Page"&gt;Main Page - Ubuntu Document Storage Facility&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19475878-113652650616083871?l=bit-rot.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bit-rot.blogspot.com/feeds/113652650616083871/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19475878&amp;postID=113652650616083871' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19475878/posts/default/113652650616083871'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19475878/posts/default/113652650616083871'/><link rel='alternate' type='text/html' href='http://bit-rot.blogspot.com/2006/01/main-page-ubuntu-document-storage.html' title='Main Page - Ubuntu Document Storage Facility'/><author><name>Aku</name><uri>http://www.blogger.com/profile/05619668788455349511</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://2.bp.blogspot.com/_MY633kzeIX8/SgRCbVWqtXI/AAAAAAAAAjM/dxLy6K_VfVU/S220/aku02.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19475878.post-113652644161840590</id><published>2006-01-06T11:17:00.000+05:30</published><updated>2006-01-06T11:17:21.656+05:30</updated><title type='text'>Automatix (Automated GUI installation script) - Ubuntu Forums</title><content type='html'>&lt;a href="http://ubuntuforums.org/showthread.php?t=66563"&gt;Automatix (Automated GUI installation script) - Ubuntu Forums&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19475878-113652644161840590?l=bit-rot.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bit-rot.blogspot.com/feeds/113652644161840590/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19475878&amp;postID=113652644161840590' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19475878/posts/default/113652644161840590'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19475878/posts/default/113652644161840590'/><link rel='alternate' type='text/html' href='http://bit-rot.blogspot.com/2006/01/automatix-automated-gui-installation.html' title='Automatix (Automated GUI installation script) - Ubuntu Forums'/><author><name>Aku</name><uri>http://www.blogger.com/profile/05619668788455349511</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://2.bp.blogspot.com/_MY633kzeIX8/SgRCbVWqtXI/AAAAAAAAAjM/dxLy6K_VfVU/S220/aku02.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19475878.post-113568532327500312</id><published>2005-12-27T17:38:00.000+05:30</published><updated>2005-12-27T17:38:43.306+05:30</updated><title type='text'>Creating Shiny BUttons in the GIMP</title><content type='html'>&lt;a href="http://www.geocities.com/apnakamran/gimp/shiny_buttons.html"&gt;Creating Shiny BUttons in the GIMP&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19475878-113568532327500312?l=bit-rot.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bit-rot.blogspot.com/feeds/113568532327500312/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19475878&amp;postID=113568532327500312' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19475878/posts/default/113568532327500312'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19475878/posts/default/113568532327500312'/><link rel='alternate' type='text/html' href='http://bit-rot.blogspot.com/2005/12/creating-shiny-buttons-in-gimp.html' title='Creating Shiny BUttons in the GIMP'/><author><name>Aku</name><uri>http://www.blogger.com/profile/05619668788455349511</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://2.bp.blogspot.com/_MY633kzeIX8/SgRCbVWqtXI/AAAAAAAAAjM/dxLy6K_VfVU/S220/aku02.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19475878.post-113561988920275548</id><published>2005-12-26T23:16:00.000+05:30</published><updated>2005-12-26T23:28:09.213+05:30</updated><title type='text'>Howto turn off your monitor when you lock your screen</title><content type='html'>I wanted to turn off my monitor when I lock my screen. Now, I use xfce, and the (default) shortcut to lock your screen in xfce is ctrl+alt+del&lt;br /&gt;&lt;br /&gt;I have a habbit of pressing ctrl+alt+del when I leave the PC for a few minutes, and I thought it would be nice if I could turn off the monitor simultaneously. So here's what I did.&lt;br /&gt;&lt;br /&gt;xfce runs the "xflock4" script to lock the screen. So open the script in a text editor&lt;br /&gt;&lt;span style="background-color: rgb(204, 204, 204);"&gt;sudo gedit /usr/bin/xflock4&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Now add this line before "exit 0"&lt;br /&gt;&lt;span style="background-color: rgb(204, 204, 204);"&gt;xset dpms force off&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;So basically, your file will look like this:&lt;br /&gt;&lt;br /&gt;&lt;code&gt;&lt;br /&gt;#!/bin/sh&lt;br /&gt;#&lt;br /&gt;#  xfce4&lt;br /&gt;#&lt;br /&gt;#  Copyright (C) 1999, 2003 Olivier Fourdan (fourdan@xfce.org)&lt;br /&gt;#&lt;br /&gt;#  This program is free software; you can redistribute it and/or modify&lt;br /&gt;#  it under the terms of the GNU General Public License as published by&lt;br /&gt;#  the Free Software Foundation; either version 2 of the License, or&lt;br /&gt;#  (at your option) any later version.&lt;br /&gt;#&lt;br /&gt;#  This program is distributed in the hope that it will be useful,&lt;br /&gt;#  but WITHOUT ANY WARRANTY; without even the implied warranty of&lt;br /&gt;#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the&lt;br /&gt;#  GNU General Public License for more details.&lt;br /&gt;#&lt;br /&gt;#  You should have received a copy of the GNU General Public License&lt;br /&gt;#  along with this program; if not, write to the Free Software&lt;br /&gt;#  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.&lt;br /&gt;#&lt;br /&gt;&lt;br /&gt;xscreensaver-command -lock || xlock $*&lt;br /&gt;xset dpms force off&lt;br /&gt;exit 0&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;The disadvantage is that if your mouse moves, or any key is pressed, the monitor won't turn off again, but I can live with that :)&lt;br /&gt;&lt;br /&gt;Please feel free to leave comments and suggestions.&lt;br /&gt;&lt;br /&gt;Again, do this at your own risk, and don't forget to make a backup.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19475878-113561988920275548?l=bit-rot.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bit-rot.blogspot.com/feeds/113561988920275548/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19475878&amp;postID=113561988920275548' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19475878/posts/default/113561988920275548'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19475878/posts/default/113561988920275548'/><link rel='alternate' type='text/html' href='http://bit-rot.blogspot.com/2005/12/howto-turn-off-your-monitor-when-you.html' title='Howto turn off your monitor when you lock your screen'/><author><name>Aku</name><uri>http://www.blogger.com/profile/05619668788455349511</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://2.bp.blogspot.com/_MY633kzeIX8/SgRCbVWqtXI/AAAAAAAAAjM/dxLy6K_VfVU/S220/aku02.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19475878.post-113559948284571698</id><published>2005-12-26T17:48:00.000+05:30</published><updated>2005-12-26T17:48:02.866+05:30</updated><title type='text'>Linux.com - Double Sided Printing</title><content type='html'>&lt;a href="http://www.linux.com/howtos/Ecology-HOWTO/ecology-howto-printing-doublesided.shtml"&gt;Linux.com - Double Sided Printing&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Note: I haven't tried it out yet, but it looks promising.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19475878-113559948284571698?l=bit-rot.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bit-rot.blogspot.com/feeds/113559948284571698/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19475878&amp;postID=113559948284571698' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19475878/posts/default/113559948284571698'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19475878/posts/default/113559948284571698'/><link rel='alternate' type='text/html' href='http://bit-rot.blogspot.com/2005/12/linuxcom-double-sided-printing.html' title='Linux.com - Double Sided Printing'/><author><name>Aku</name><uri>http://www.blogger.com/profile/05619668788455349511</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://2.bp.blogspot.com/_MY633kzeIX8/SgRCbVWqtXI/AAAAAAAAAjM/dxLy6K_VfVU/S220/aku02.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19475878.post-113557564827538304</id><published>2005-12-26T11:10:00.000+05:30</published><updated>2005-12-26T11:10:51.603+05:30</updated><title type='text'>GIMPTalk.com - Ultimate gimp tutorials and community forum</title><content type='html'>&lt;a href="http://gimptalk.com/index.html"&gt;GIMPTalk.com - Ultimate gimp tutorials and community forum&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19475878-113557564827538304?l=bit-rot.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bit-rot.blogspot.com/feeds/113557564827538304/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19475878&amp;postID=113557564827538304' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19475878/posts/default/113557564827538304'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19475878/posts/default/113557564827538304'/><link rel='alternate' type='text/html' href='http://bit-rot.blogspot.com/2005/12/gimptalkcom-ultimate-gimp-tutorials.html' title='GIMPTalk.com - Ultimate gimp tutorials and community forum'/><author><name>Aku</name><uri>http://www.blogger.com/profile/05619668788455349511</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://2.bp.blogspot.com/_MY633kzeIX8/SgRCbVWqtXI/AAAAAAAAAjM/dxLy6K_VfVU/S220/aku02.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19475878.post-113540381410835079</id><published>2005-12-24T11:26:00.000+05:30</published><updated>2005-12-24T11:26:54.133+05:30</updated><title type='text'>Gadgets | The Top 10 weirdest case mods</title><content type='html'>&lt;a href="http://gadgets.fosfor.se/the-top-10-weirdest-case-mods/"&gt;Gadgets | The Top 10 weirdest case mods&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19475878-113540381410835079?l=bit-rot.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bit-rot.blogspot.com/feeds/113540381410835079/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19475878&amp;postID=113540381410835079' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19475878/posts/default/113540381410835079'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19475878/posts/default/113540381410835079'/><link rel='alternate' type='text/html' href='http://bit-rot.blogspot.com/2005/12/gadgets-top-10-weirdest-case-mods.html' title='Gadgets | The Top 10 weirdest case mods'/><author><name>Aku</name><uri>http://www.blogger.com/profile/05619668788455349511</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://2.bp.blogspot.com/_MY633kzeIX8/SgRCbVWqtXI/AAAAAAAAAjM/dxLy6K_VfVU/S220/aku02.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19475878.post-113516402466889057</id><published>2005-12-21T16:50:00.000+05:30</published><updated>2005-12-21T16:50:24.673+05:30</updated><title type='text'>GNU/Linux Cool Tools</title><content type='html'>&lt;a href="http://linux.cudeso.be/linuxtool.php"&gt;GNU/Linux Cool Tools&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19475878-113516402466889057?l=bit-rot.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bit-rot.blogspot.com/feeds/113516402466889057/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19475878&amp;postID=113516402466889057' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19475878/posts/default/113516402466889057'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19475878/posts/default/113516402466889057'/><link rel='alternate' type='text/html' href='http://bit-rot.blogspot.com/2005/12/gnulinux-cool-tools.html' title='GNU/Linux Cool Tools'/><author><name>Aku</name><uri>http://www.blogger.com/profile/05619668788455349511</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://2.bp.blogspot.com/_MY633kzeIX8/SgRCbVWqtXI/AAAAAAAAAjM/dxLy6K_VfVU/S220/aku02.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19475878.post-113516290260721758</id><published>2005-12-21T16:31:00.000+05:30</published><updated>2005-12-21T16:31:42.640+05:30</updated><title type='text'>Linux.com - Turn Monitor off, use Keyboard LEDs</title><content type='html'>I found some really cool apps, check out this link:&lt;br /&gt;&lt;a href="http://www.linux.com/howtos/Ecology-HOWTO/ecology-howto-monitor.shtml"&gt;Linux.com - Turn Monitor off, use Keyboard LEDs&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;I especially like the one called "tleds." It blinks the LEDs of the keyboard indicating TX and RX network packets :)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19475878-113516290260721758?l=bit-rot.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bit-rot.blogspot.com/feeds/113516290260721758/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19475878&amp;postID=113516290260721758' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19475878/posts/default/113516290260721758'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19475878/posts/default/113516290260721758'/><link rel='alternate' type='text/html' href='http://bit-rot.blogspot.com/2005/12/linuxcom-turn-monitor-off-use-keyboard.html' title='Linux.com - Turn Monitor off, use Keyboard LEDs'/><author><name>Aku</name><uri>http://www.blogger.com/profile/05619668788455349511</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://2.bp.blogspot.com/_MY633kzeIX8/SgRCbVWqtXI/AAAAAAAAAjM/dxLy6K_VfVU/S220/aku02.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19475878.post-113506397558090553</id><published>2005-12-20T13:02:00.000+05:30</published><updated>2005-12-20T13:02:55.603+05:30</updated><title type='text'>HOWTO Automatically turn off your monitor</title><content type='html'>&lt;a href="http://gentoo-wiki.com/HOWTO_Automatically_turn_off_your_monitor"&gt;HOWTO Automatically turn off your monitor - Gentoo Linux Wiki&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;I've used it in ubuntu, haven't tested it out yet, but I guess it will work.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19475878-113506397558090553?l=bit-rot.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bit-rot.blogspot.com/feeds/113506397558090553/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19475878&amp;postID=113506397558090553' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19475878/posts/default/113506397558090553'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19475878/posts/default/113506397558090553'/><link rel='alternate' type='text/html' href='http://bit-rot.blogspot.com/2005/12/howto-automatically-turn-off-your.html' title='HOWTO Automatically turn off your monitor'/><author><name>Aku</name><uri>http://www.blogger.com/profile/05619668788455349511</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://2.bp.blogspot.com/_MY633kzeIX8/SgRCbVWqtXI/AAAAAAAAAjM/dxLy6K_VfVU/S220/aku02.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19475878.post-113428125170256121</id><published>2005-12-11T11:25:00.000+05:30</published><updated>2005-12-11T11:37:31.710+05:30</updated><title type='text'>Firefox middle-click to close tab solution</title><content type='html'>I upgraded to firefox 1.5 using the ubuntu wiki. (see previous post). Its really cool, the only problem I came across was that when I was middle-clicking to close a tab, it was opening a google "I'm feeling lucky" page.&lt;br /&gt;&lt;br /&gt;So I came up with a solution on my own. (yay) :) Here's what I did...&lt;br /&gt;&lt;br /&gt;&lt;ol&gt;&lt;br /&gt;&lt;li&gt;Type &lt;span style="font-style:italic;"&gt;&lt;FONT style="BACKGROUND-COLOR: yellow"&gt;about:config&lt;/font&gt;&lt;/span&gt; in the address-bar&lt;br /&gt;&lt;li&gt;Enter &lt;span style="font-style:italic;"&gt;&lt;FONT style="BACKGROUND-COLOR: yellow"&gt;middle&lt;/font&gt;&lt;/span&gt; in the "filter" area. You will see a few options&lt;br /&gt;&lt;li&gt; Right-click on &lt;span style="font-style:italic;"&gt;&lt;FONT style="BACKGROUND-COLOR: yellow"&gt;middlemouse.contentLoadURL&lt;/font&gt;&lt;/span&gt; and click on &lt;span style="font-style:italic;"&gt;&lt;FONT style="BACKGROUND-COLOR: yellow"&gt;Toggle&lt;/font&gt;&lt;/span&gt;. This will now become bold, and it will show "user set"&lt;br /&gt;&lt;/ol&gt;&lt;br /&gt;&lt;br /&gt;And thats it! Now I can middle click on a tab to close it. :)&lt;br /&gt;&lt;br /&gt;&lt;small&gt; Warning: Do this at your own risk &lt;/small&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19475878-113428125170256121?l=bit-rot.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bit-rot.blogspot.com/feeds/113428125170256121/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19475878&amp;postID=113428125170256121' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19475878/posts/default/113428125170256121'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19475878/posts/default/113428125170256121'/><link rel='alternate' type='text/html' href='http://bit-rot.blogspot.com/2005/12/firefox-middle-click-to-close-tab.html' title='Firefox middle-click to close tab solution'/><author><name>Aku</name><uri>http://www.blogger.com/profile/05619668788455349511</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://2.bp.blogspot.com/_MY633kzeIX8/SgRCbVWqtXI/AAAAAAAAAjM/dxLy6K_VfVU/S220/aku02.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19475878.post-113419932278134094</id><published>2005-12-10T12:52:00.000+05:30</published><updated>2005-12-10T12:52:02.780+05:30</updated><title type='text'>FirefoxNewVersion - Ubuntu Wiki</title><content type='html'>&lt;a href="https://wiki.ubuntu.com/FirefoxNewVersion?"&gt;FirefoxNewVersion - Ubuntu Wiki&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19475878-113419932278134094?l=bit-rot.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bit-rot.blogspot.com/feeds/113419932278134094/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19475878&amp;postID=113419932278134094' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19475878/posts/default/113419932278134094'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19475878/posts/default/113419932278134094'/><link rel='alternate' type='text/html' href='http://bit-rot.blogspot.com/2005/12/firefoxnewversion-ubuntu-wiki.html' title='FirefoxNewVersion - Ubuntu Wiki'/><author><name>Aku</name><uri>http://www.blogger.com/profile/05619668788455349511</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://2.bp.blogspot.com/_MY633kzeIX8/SgRCbVWqtXI/AAAAAAAAAjM/dxLy6K_VfVU/S220/aku02.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19475878.post-113419911987553491</id><published>2005-12-10T12:48:00.000+05:30</published><updated>2005-12-10T12:48:39.886+05:30</updated><title type='text'>Gadgets &gt;&gt; The top 10 weirdest USB drives ever</title><content type='html'>&lt;a href="http://gadgets.fosfor.se/the-top-10-weirdest-usb-drives-ever/"&gt;Gadgets  &gt;&gt; The top 10 weirdest USB drives ever&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19475878-113419911987553491?l=bit-rot.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bit-rot.blogspot.com/feeds/113419911987553491/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19475878&amp;postID=113419911987553491' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19475878/posts/default/113419911987553491'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19475878/posts/default/113419911987553491'/><link rel='alternate' type='text/html' href='http://bit-rot.blogspot.com/2005/12/gadgets-top-10-weirdest-usb-drives.html' title='Gadgets &gt;&gt; The top 10 weirdest USB drives ever'/><author><name>Aku</name><uri>http://www.blogger.com/profile/05619668788455349511</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://2.bp.blogspot.com/_MY633kzeIX8/SgRCbVWqtXI/AAAAAAAAAjM/dxLy6K_VfVU/S220/aku02.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19475878.post-113385028192053645</id><published>2005-12-06T11:54:00.000+05:30</published><updated>2005-12-06T11:54:45.133+05:30</updated><title type='text'>A few key strokes I have found useful...</title><content type='html'>&lt;a href="http://forum.xfce.org/index.php?topic=8.0"&gt;A few key strokes I have found useful...&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;(For xfce)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19475878-113385028192053645?l=bit-rot.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bit-rot.blogspot.com/feeds/113385028192053645/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19475878&amp;postID=113385028192053645' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19475878/posts/default/113385028192053645'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19475878/posts/default/113385028192053645'/><link rel='alternate' type='text/html' href='http://bit-rot.blogspot.com/2005/12/few-key-strokes-i-have-found-useful.html' title='A few key strokes I have found useful...'/><author><name>Aku</name><uri>http://www.blogger.com/profile/05619668788455349511</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://2.bp.blogspot.com/_MY633kzeIX8/SgRCbVWqtXI/AAAAAAAAAjM/dxLy6K_VfVU/S220/aku02.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19475878.post-113341623989412144</id><published>2005-12-01T11:20:00.000+05:30</published><updated>2005-12-01T11:20:39.893+05:30</updated><title type='text'>Slashdot | Driving Away Teens With High Frequency Noise</title><content type='html'>Source: &lt;a href="http://science.slashdot.org/article.pl?sid=05/11/30/0021211&amp;amp;from=rss"&gt;Slashdot | Driving Away Teens With High Frequency Noise&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;"The New York Times is reporting on a device called the Mosquito invented by Howard Stapleton designed to drive teens away by emitting a high frequency noise at 75db. Apparently most older people can not hear the sounds, but teens can not stand it. Reports are that it works quite well, but some older people can hear it too. He found the prefect irritating sound by experimenting on his children."&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19475878-113341623989412144?l=bit-rot.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bit-rot.blogspot.com/feeds/113341623989412144/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19475878&amp;postID=113341623989412144' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19475878/posts/default/113341623989412144'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19475878/posts/default/113341623989412144'/><link rel='alternate' type='text/html' href='http://bit-rot.blogspot.com/2005/12/slashdot-driving-away-teens-with-high.html' title='Slashdot | Driving Away Teens With High Frequency Noise'/><author><name>Aku</name><uri>http://www.blogger.com/profile/05619668788455349511</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://2.bp.blogspot.com/_MY633kzeIX8/SgRCbVWqtXI/AAAAAAAAAjM/dxLy6K_VfVU/S220/aku02.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19475878.post-113341611406590050</id><published>2005-12-01T11:16:00.000+05:30</published><updated>2005-12-01T11:18:34.066+05:30</updated><title type='text'>Welcome to my linux blog</title><content type='html'>My website was getting rather difficult to maintain, so I decided to start a linux blog. I'll just keep dumping interesting linux and opensource related stuff on this blog. Feel free to leave comments. :)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19475878-113341611406590050?l=bit-rot.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bit-rot.blogspot.com/feeds/113341611406590050/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19475878&amp;postID=113341611406590050' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19475878/posts/default/113341611406590050'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19475878/posts/default/113341611406590050'/><link rel='alternate' type='text/html' href='http://bit-rot.blogspot.com/2005/12/welcome-to-my-linux-blog.html' title='Welcome to my linux blog'/><author><name>Aku</name><uri>http://www.blogger.com/profile/05619668788455349511</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://2.bp.blogspot.com/_MY633kzeIX8/SgRCbVWqtXI/AAAAAAAAAjM/dxLy6K_VfVU/S220/aku02.jpg'/></author><thr:total>0</thr:total></entry></feed>
