Monday, February 19, 2007
If you miss Firefox 1.5 days, here you have 3 little hacks that will make your day,
Open a new tab with this url, about:config
- Backspace button as Previous Page: browser.backspace_action change value to 0
- No tab scrolling: browser.tabs.tabMinWidth change value to 0
- One close button for all the tabs: browser.tabs.closeButtons change value to 3
Sunday, February 18, 2007
I am writing this post from my shine new Ubuntu 7.04 herd 4 x86_64 on my Thinkpad T60 with a Core 2 Duo T5600.
Now i will try to install the kvm module to play around.
P.S.: ATI cards sucks, well in fact they are AMD cards……
Tuesday, February 13, 2007
All of you may know about the top command line of linux, well there are a lot of similar programs to monitor other type of resources, here we have some of the more useful to me,
iftop
This is a nice one to monitor network usage, more specific bandwidth usage.
Installation:
cd /usr/local/src
wget http://www.ex-parrot.com/~pdw/iftop/download/iftop-0.17pre3.tar.gz
tar -xvzf iftop-0.17pre3.tar.gz
cd iftop-0.17pre3
./configure && make && make install
You wil need libcap and libcurses but most of the cases they are already installed.
mytop
This program can be quite useful to debug mysql.
Installation:
Install TermReadKey,
cd /usr/local/src
wget http://search.cpan.org/CPAN/authors/id/J/JS/JSTOWE/TermReadKey-2.30.tar.gz
tar -xvzf TermReadKey-2.30.tar.gz
cd TermRead*
perl Makefile.PL
make test && make && make install
Install DBI,
cd /usr/local/src
wget http://search.cpan.org/CPAN/authors/id/T/TI/TIMB/DBI-1.48.tar.gz
tar -xvzf DBI-1.48.tar.gz
cd DBI*
perl Makefile.PL
make test && make && make install
Now finally mytop,
cd /usr/local/src
wget http://jeremy.zawodny.com/mysql/mytop/mytop-1.4.tar.gz
tar -xvzf mytop-1.4.tar.gz
cd mytop*
perl Makefile.PL
make test && make && make install
apachetop
This is a program that uses the logs of apache to monitor it.
Installation:
cd /usr/local/src
wget http://www.webta.org/apachetop/apachetop-0.12.6.tar.gz
tar -xvzf apachetop-0.12.6.tar.gz
cd apachetop-0.12.6
./configure && make && make install
Sunday, February 11, 2007
One of the things that i did not like that much of my linux installation are fonts.
Here it is a quick way to get improve it,
gus@jackdaniels:~$ xdpyinfo | grep dimensions
dimensions: 1280×1024 pixels (342×271 millimeters)
gus@jackdaniels:~$
gus@jackdaniels:~$ xdpyinfo | grep resolution
resolution: 95×96 dots per inch
gus@jackdaniels:~$
Now as i would like 96 DPI fonts, we need to adjust the display size, the equation would be something like this,
1280*25.425/96=338
1024*25.425/96=270
So go and add this line to the Monitor Section on /etc/X11/xorg.conf,
DisplaySize 339 271
Restart Xorg with ctrl+alt+backspace
Now you need to be sure that your Desktop Environment is using the correct DPI, in Gnome go to,
System->Preferences->Fonts
My Tahoma fonts looks nice nicer now, next thing to find: why icons are so big or so small ? 