some useful stuff for ubuntu linux
sources.list for ubuntu lucid (10.04)
## Maindeb http://archive.ubuntu.com/ubuntu lucid main restricted universe multiverse
# deb-src http://archive.ubuntu.com/ubuntu lucid main restricted universe multiverse
## Major bug fix updates
deb http://archive.ubuntu.com/ubuntu lucid-updates main restricted universe multiverse
# deb-src http://archive.ubuntu.com/ubuntu lucid-updates main restricted universe multiverse
## Security Updates
deb http://archive.ubuntu.com/ubuntu lucid-security main restricted universe multiverse
# deb-src http://archive.ubuntu.com/ubuntu lucid-security main restricted universe multiverse
## Backports
# deb http://at.archive.ubuntu.com/ubuntu/ lucid-backports main restricted universe multiverse
# deb-src http://at.archive.ubuntu.com/ubuntu/ lucid-backports main restricted universe multiverse
## Canonical 'partner' repository
deb http://archive.canonical.com/ubuntu lucid partner
# deb-src http://archive.canonical.com/ubuntu lucid partner
#Virtualbox
deb http://download.virtualbox.org/virtualbox/debian lucid non-free
deb http://dl.google.com/linux/deb/ stable non-free
deb http://dl.google.com/linux/deb/ testing non-free
#brunks
deb http://www.bunkus.org/ubuntu/lucid/ ./
conky
Conky is a neat & light weight system monitor for X desktops. It's available as deb package conky in the official ubuntu repositories.Save this configuration file as ~/.conkyrc & start it with "conky" from a terminal.
much more configuration examples are here
useful programs for monitoring your system
- baobab (sudo apt-get install baobab): shows you disk usage by folder
- localepurge (sudo apt-get install localepurge): removes unused locales (saves loads of diskspace)
helpful console commands
Check Volume Status of the ALSA PCM device
If your audio volume in ubuntu is very low (although all the PulseAudio Volume controls are up) your problem is most
likely caused by the PCM mixer's volume being muted/set to 0%. Check it's status via
alsamixer:
Code:
$ alsamixer -Dhw
Add an apt key (obviously
replace http://host.com/name.key.asc with the real URL)
Code:
wget http://host.com/name.key.asc -O - | sudo apt-key add -
Mount an iso (run "sudo mkdir /media/iso" first)
Code:
sudo mount -t iso9660 -o ro -o loop /home/user/filename.iso /media/iso
List all open ports:
Code:
sudo netstat -lpAinet
Get IP's without hostnames:
Code:
sudo netstat -lpnAinet
List what's using eg. TCP port 443:
Code:
sudo fuser -v 443/tcp
Code:
sudo gedit /etc/ld.so.conf (check that the file contains)
/usr/local/lib
sudo ldconfig
Code:
GET http://joshyfun.peque.org/transponders/0130.ini |
sed 's/^\(.*\)=\([0-9]*\),\(.\),\(.*\),\(.\)\(.\)/S \2000 \3 \4000 \5\/\6/g' |
grep ^S > ~/.kde/share/apps/kaffeine/dvb-s/Hotbird-13.0E