Posts

Showing posts from March, 2009

nethogs - Watch Network Traffic by Process

Image
nethogs allows you to watch network traffic on the system grouped by process. It tracks both upload and download speeds. Has support for ethernet, PPP and supports both IPv4 and IPv6. Install nethogs Use following command to install nethogs sudo apt-get -y install nethogs

Windows key as shortcut in gnome keyboard shortcuts

Image
Ever tried using win key( super ,meta) as shortcut in gnome keyboard shortcuts? It will take it as super-key and not modifier. Do the following to use win/super/meta/mod4(different names for same key btw) for shortcuts in gnome. Change Win key behaviour in gnome. Select "Alt/Win key behaviour" by selection doing selecting following actions. Select "Meta is mapped to Left Win" from the list. preferences -> keyboard -> layouts(tab) -> Layout Options(button) -> Alt/Win key behaviour(dropdown list item) Now select "preferences -> keyboard shortcuts " and select the action you want to change and press win+key as you do normally. You will see Mod4+key . And it works now :)

Lightweight Terminal

I like gnome terminal except with each tab it consumes more and more memory. Some times I can actually see system slowing down and perceived delays in terminal response. Recently I stumbled on to xfce4 terminal which is similar but takes lot less memory, lightweight and responsive. Install xfce4 terminal Install the package xfce4-terminal sudo apt-get -y install xfce4-terminal Use following command to run the XFCE terminal xfce4-terminal

Bleeding Edge Chromium on Ubuntu

Chromium is the Linux port of official Google chrome browser for windows. Right now chromium is unstable and only useful for scratching your curiosity itch. Install chromium Add following sources to /etc/apt/sources.list file. For jaunty deb http://ppa.launchpad.net/chromium-daily/ppa/ubuntu jaunty main deb-src http://ppa.launchpad.net/chromium-daily/ppa/ubuntu jaunty main For intrepid deb http://ppa.launchpad.net/chromium-daily/ppa/ubuntu intrepid main deb-src http://ppa.launchpad.net/chromium-daily/ppa/ubuntu intrepid main For hardy deb http://ppa.launchpad.net/chromium-daily/ppa/ubuntu hardy main deb-src http://ppa.launchpad.net/chromium-daily/ppa/ubuntu hardy main Now execute following commands to install chromium. sudo apt-get -y update && sudo apt-get -y --force-yes install chromium-browser

SSHMenu - Keep Track of Your SSH Sessions

Image
SSHMenu is an gnome panel applet that allows you to configure ssh connections with different presets (colors, etc...). Install SSHMenu Use following command to install sshmenu . sudo apt-get install sshmenu-gnome Now execute following command to restart gnome panel. killall -9 gnome-panel Now right click on any gnome panel and add ssh menu gnome applet.

Multi touch for any,all synaptics touchpad

Multi-touch became trendy after iphone came up with it. We are seeing many new laptops with multi-touch. At hardware level, there is nothing special that you need, to make multi-touch work. You can also do two-finger scroll and two-finger tap to right/middle click. Also, three-finger tap, but, for me it is very hard to press three fingers at the same time(1 out of 10). Create new file gksudo gedit /etc/hal/fdi/policy/11-x11-synaptics.fdi Paste the following code into the file and save it. <?xml version="1.0" encoding="ISO-8859-1"?> <deviceinfo version="0.2"> <device> <match key="info.capabilities" contains="input.touchpad"> <merge key="input.x11_driver" type="string">synaptics</merge> <merge key="input.x11_options.SHMConfig" type="string">On</merge> <merge key="input.x11_options.EmulateTwoFingerMinZ"

Wifi on Acer Laptops

A few months back I bought an acer aspire 4520 laptop. Since then I wasn't able to make wifi work on my laptop. For me madwifi doesn't work at all and ndiswrapper works occasionally. Recently I went out bought Netgear USB wifi stick and it worked out of box. No need to install any drivers or anything. Hope jaunty will have proper support for atheros chip sets.

Vega Strike

Image
Vega strike is a space simulation game with numerous mods. It has support for multi player gaming. Use following command to install vegastrike package. sudo apt-get -y install vegastrike You can visit vegastrike wiki for further info on both playing and developing the game. Vegastrike wiki