Tuesday, December 2, 2008

flashplayer for 64 bit

Now there is no need of ndiswrapper for installing flashplayer.
(semi) finally it is out for 64 bit linux
Can download it from http://labs.adobe.com/downloads/flashplayer10.html
In debian you have to make a directory named plugins in iceweasel dir
#mkdir /usr/lib/iceweasel/plugins
untar the .so plugin u got from the website and put it in plugins dir
voila there is no need of restarting the browser and njoy all sites including youtube.

Thursday, November 27, 2008

uuid fstab and grub menu.lst

So Finally uuids are there in my config files. They are absically the identifaication of ur partitions irrespective of the detected device points. They look weird but are very useful especially in case u r changing ur hardsisks places in ur cabinet or u have a raid controller sitting and u r not using raid configuration.
So here is the process:

  1. become root
  2. # blkid (will give u the uuid of machine)
  3. /dev/sda1: UUID="2f1b9e84-dc33-4649-bb78-634afb6deb0c" TYPE="ext3"
    /dev/sdb1: UUID="74bef01f-605c-4d29-9e26-928c3dbaf315" TYPE="ext3"


  4. open ur fstab (the original looks like this)
  5. # /etc/fstab: static file system information.
    #
    #

    proc /proc proc defaults 0 0
    /dev/sda1 / ext3 defaults,errors=remount-ro 0 1 errors=remount-ro 0 1
    /dev/sdb1 /home ext3 defaults 0 2
    /dev/scd0 /media/cdrom0 udf,iso9660 user,noauto 0 0

  6. replace the /dev things of partions with uuid and remember to comment out lld lines fore referenfe purpose and dont delete them.

  7. here is new fstab

  8. # /etc/fstab: static file system information.
    #
    #

    proc /proc proc defaults 0 0
    #/dev/sda1 / ext3 defaults,errors=remount-ro 0 1
    UUID=2f1b9e84-dc33-4649-bb78-634afb6deb0c / ext3 defaults,errors=remount-ro 0 1
    #/dev/sdb1 /home ext3 defaults 0 2
    UUID=74bef01f-605c-4d29-9e26-928c3dbaf315 /home ext3 defaults 0 2
    /dev/scd0 /media/cdrom0 udf,iso9660 user,noauto 0 0


  9. now move ur /boot/grub/menu.lst to /root for backup and on commnad line do #update-grub. here is the new menu.lst


  10. Go for reboot once if u r not using raid controller without raid configuration or 2-3 times reboot in case u r using one.

  11. U can make a backup grub cd/floppy or a live cd will be handy in case of any problems.

Tuesday, November 25, 2008

my fvwm window manager

basically it is fvwm2.
to quote from fvwm website the expansion of fvwm is
"Fill_in_the_blank_with_whatever_f_word_you_like_at_the_time
Virtual Window Manager". Rob Nation (the original Author of fvwm)
doesn't really remember what the F stood for originally,
Isn't that quite geeky/nerdy. I in particular use fvwm-crystal bindings which gives me the most useful keyboard shortcuts (almost everything that i need normally) with a very fast response in comparison with gnome/kde (its my opinion) and a very small memory footprint which in normal language translates to light weight window manager.
The only thing that i have changed is the keyboard bindings for meta key which was previously alt key and now on mine it is Super key. Though me laptop has only one Super key. the change is quite simple in /usr/share/local/fvwm/components/functions/Keyboard-modifiers. Though there is no need to do so, still I m telling that below is the screenshot of my computer.




Tuesday, November 18, 2008

enabling tab completion in your python shell

>>>>import readline
>>>>import rlcompleter
>>>>readline.parse_and_bind("tab:complete")
>>>> hel TAB TAB
help hex

Monday, November 17, 2008

lappi's specs

So here are my lappi's hardware specs
Inspiron 1525 ,Blue color
Intel Core 2 Duo T8100, 800Mhz,
3GB, DDR2, 667MHz
15.4 inch Wide Screen (1440x900)
Intel Graphics Media Accelerator X3100
160G hard disk
Integrated 10/100 Network Card
8X DVD+/-RW
Intel 3945 WLAN (802.11a/b/g) Mini Card
Integrated 2.0M Pixel Webcam
6-cell battery
Ports:
4 USB, 1 IEEE 1394a, 2 Headphone,
1 Microphone, 1 Media Card,
1 HDMI, 1 S-Video, 1 VGA,
1 RJ-45 (Ethernet), 1 RG-11 (Modem)

Monday, August 4, 2008

bash completion

1) install the package bash_completion and it will unleash the full power of bash completion. Can check out in
$ apt-get install xserver TAB TAB and see.

2) and its time to switch to lighter terminals
try using mrxvt and see the small signature of the process

3) check out package conky for a light weight process/ram/swam/harddisk viewer

Tuesday, July 15, 2008

increase loop mount devices in debian (lenny)

I use debian(flavour of linux www.debian.org). By default we can loopmount only 8 iso images. but there is a very easy way to increase it (I think max we can increase upto 256 by default). First there is no /etc/modules.conf in debian now. But all the files are split and placed inside /etc/modprobe.d . So what u have to do is simply this:
*be sure to umount any loop images u have on ur machine

$ ls /dev/loop* (will give u an idea of max mountable loop devices on ur m/c)
$ cd /etc/modprobe.d
$ cat"modprobe loop max_loop=24" > local-loop (use ur fav text editor, 24 = needed loopmount points)
$ repmode loop
$ modprobe loop
$ ls /dev/loop* (shd show an increase upto loop23 (bcoz u have chosed 24. it starts frm 0)
or u just restart the system after creating the file local-loop
*inspired from http://tldp.org/HOWTO/Debian-Jigdo/

Tuesday, July 8, 2008

recently bought dell inspiron 1525

So here is my first entry in lieu of todays fashion of blogging. As the title suggests i have dell. a gud machine to work on. And i installed debian (lenny) on it. sound, webcam, bluetooth is working. Details of setup and specs in next entry :)