Note that most any computer-related information located on this website will be Linux-based, and more specifically, information will usually be related to Ubuntu or any of the other 'buntu's.
Using hddtemp To Determine Hard Drive Temperature
What do I normally install with a standard Ubuntu build?
$ sudo apt-get install irssi irssi-scripts konqueror epiphany-browser dillo conky terminator k3b audacity vlc mozilla-plugin-vlc videolan-doc vim-full build-essential manpages-dev imagemagick icoutils armagetron streamtuner gwenview mirage geany bluefish kompozer twitux gtwitter glipper xtris bsdgames jack xmms2 xmms2-plugin-all esperanza klinkstatus meld driftnet etherape gftp filezilla vpnc liferea stellarium thunar conky htop pyneighborhood acidrip streamtuner xaos cheese abiword gnumeric kivio maelstrom armagetron rdesktop grdesktop sound-juicer timidity pptp-linux network-manager-pptp nautilus-image-converter
Terminator Terminal Emulator
Terminator is a spiffy little terminal emulator that allows you to split the window into numerous vertical and horizontal panes. To open Terminator in full-screen mode, maximized with no borders:
$ terminator -m -b
Ctrl-Shift-E: split vertically
Ctrl-Shift-O: split horizontally
Ctrl-Shift-N: focus to next
Ctrl-Shift-P: focus to previous
Using the GCC compiler to compile your C program
I recently found out that in Ubuntu, you have to install some more libraries if you wish to compile your C program(s).
--=[ How to make it work ]=--
$ sudo apt-get install build-essential manpages-dev
--=[ You may also need libncurses5-dev if you are working with
conio.h or with ncurses. ]=--
$ sudo aptitude install libncurses5-dev
--=[ To COMPILE your program: ]=--
$ gcc hello.c
--=[ This will produce the output file of a.out, which you can run like this: ]=--
--=[ But if you want to name your output file at the time of compilation: ]=--
$ gcc hello.c -o hello
--=[ This produces an output file called "hello". ]=--
A Quick Way to Create a favicon.ico
There are a number of applications that you can use to create a favicon.ico file. The fastest way I have yet found is to use these command line utilities: imagemagick and icoutils.
--=[ To install ]=--
$ sudo apt-get install imagemagick icoutils
--=[ To create the favicon.ico ]=--
$ convert yourImage.gif -resize 32x32 favicon.png
$ icotool -c -o favicon.ico favicon.png
Does your laptop run hot?
Martijn van de Streek has a method for resetting the values in your gnome-power-manager in gconf. This may also increase the life of your battery.
gconftool-2 -u /apps/gnome-power-manager/cpufreq_ac_policy
gconftool-2 -u /apps/gnome-power-manager/cpufreq_battery_policy
Find out more information about your laptop battery
To find out all the details you would want to know about you battery, browse to the directory /proc/acpi/battery/ and then to the directory that has your battery in it.
$ cd /proc/acpi/battery/BAT1
$ more info
$ more state
How to MD5Sum
Checking an md5sum is a way that you can find out if a file that you have downloaded (typically an .iso file), has downloaded correctly and without errors. Most Linux distributsions come with an md5sum utility. Navigate to the directory that contains your downloaded file and run the md5sum utility.
$ cd yourDirectory
$ md5sum yourFile.iso
--=[ output ]=--
$ c846b8f3ab54641e5f213843e2bc55gs7 yourFile.iso
Usually, when you download an .iso file from the web, there will also be an md5sum text file where you can view the actual md5sum. Compare the md5sum output to the md5sum listed in the text. If the numbers do not match, you should try downloading the .iso again from a different mirror.
The Ubuntu documentation website has a really good tutorial on how to use md5sum utilities: https://help.ubuntu.com/community/HowToMD5SUM