# sudo -i
# vi /etc/apt/sources.list
deb-src http://mirrors.kernel.org/ubuntu/ edgy universe
# apt-get update
# apt-get build-dep mpd
# apt-get source --build mpd
# dpkg -i mpd_0.12.1-1ubuntu1_i386.deb
Settings, configuration files, tweaks, etc. for (K/X)Ubuntu
I have used GNU/Linux on and off since 1999. On 2005-11-08 I made Ubuntu 5.10 "Breezy Badger" my primary system. There is no going back.
deb-src http://mirrors.kernel.org/ubuntu/ edgy universe
deb-src http://archive.ubuntu.com/ubuntu/ dapper main restricted universe multiverse
#!/usr/bin/make -f
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/autotools.mk
DEB_CONFIGURE_EXTRA_FLAGS := --prefix=/usr --sysconfdir=/usr/share/doc/darkice/examples --with-lame
# sudo vi /var/lib/alsa/asound.state
# aplay -l
# sudo vi /etc/asound.conf
# aptitude install autofs pmount
# sudo vi /etc/auto.master
/media /etc/auto.media --ghost |
# ls /dev/disk/by-id/ | grep iPod
usb-Apple_iPod_000A270012E6900E usb-Apple_iPod_000A270012E6900E-part1 usb-Apple_iPod_000A270012E6900E-part2 |
# sudo vi /etc/auto.media
usb -fstype=vfat :/dev/disk/by-id/usb-KINGMAX_USB2.0_Flashdisk_00000000000064-part1 ipod -fstype=vfat,iocharset=iso8859-1,fmask=0117,dmask=0007,gid=plugdev :/dev/disk/by-id/usb-Apple_iPod_000A270012E6900E-part2 |
ipod -fstype=vfat :/dev/disk/by-uuid/A5D3-DF28 |
# sudo /etc/init.d/autofs reload
# apt-get install x11vnc
# x11vnc -display :0 -rfbauth ~/.vnc/passwd
# x11vnc -storepasswd yourpassword /path/to/password
# vncpasswd
# ~/.x11vncrc
# ** uncomment options you need **
# password file must use full path
rfbauth /home/user/.vnc/passwd
display :0
forever
shared
# keyboard repeat
repeat
# visual speed tweak
nodragging
# CPU performance tweak (?)
threads
# be less verbose
quiet
# put process in background
#bg
# show GUI
#gui
# x11vnc -remote stop
/bin 4.5M
/boot 9.4M
/dev 5.5M
/etc 40M
/home 862M
/lib 110M
/proc 900M
/root 24M
/sbin 8.5M
/tmp 31M
/usr 2.8G
/var 1.3G
# modprobe md
# mdadm --assemble /dev/md0 /dev/hde3 /dev/hdg8
# mount /dev/md0 /mnt
# umount /mnt
# mdadm --stop /dev/md0
Section "Device"
Identifier "NVIDIA Corporation NV43 [GeForce 6200]"
Driver "nvidia"
BusID "PCI:1:0:0"
Option "UseEDID" "false"
EndSection
Section "Screen"
Identifier "Default Screen"
Device "NVIDIA Corporation NV43 [GeForce 6200]"
Monitor "BenQ FP731"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1280x1024_60" "1024x768" "800x600" "640x480"
EndSubSection
EndSection
PRELINKING=yes
Defaults !lecture,!tty_tickets
Defaults !lecture,tty_tickets,timestamp_timeout=0
Defaults !lecture,tty_tickets,timestamp_timeout=-1
# mozilla/.mozconfig
# Firefox 1.5.0.1 compile options
. $topsrcdir/browser/config/mozconfig
mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/firefox-build
ac_add_options --enable-official-branding
#ac_add_options --disable-official-branding
#ac_add_options --enable-default-toolkit=qt
#ac_add_options --with-qtdir=/usr/share/qt3
ac_add_options --enable-default-toolkit=gtk2
ac_add_options --enable-xft --disable-freetype2
ac_add_options --enable-static --disable-shared
ac_add_options '--enable-optimize=-Os -freorder-blocks -fno-reorder-functions -gstabs+'
#ac_add_options --enable-optimize="-O6 -march=k8"
#ac_add_options --enable-optimize="-O2 -msse -mmmx -m3dnow -mfpmath=sse"
#ac_add_options '--enable-optimize=-pipe\ -w\ -O2\ -DDEBIAN\ -fno-strict-aliasing'
ac_add_options --enable-strip
ac_add_options --disable-debug
ac_add_options --disable-logging
ac_add_options --disable-tests
ac_add_options --disable-pedantic
ac_add_options --disable-long-long-warning
ac_add_options --enable-svg
ac_add_options --enable-svg-renderer-cairo
ac_add_options --enable-canvas
ac_add_options --enable-mathml
ac_add_options --enable-postscript
ac_add_options --enable-crypto
ac_add_options --enable-single-profile --disable-profilesharing
#ac_add_options --enable-extensions=cookie,xml-rpc,xmlextras,pref,transformiix,universalchardet,webservices,inspector,auth
ac_add_options --enable-xinerama
ac_add_options --enable-pango
ac_add_options --enable-gnomevfs
ac_add_options --enable-gnomeui
ac_add_options --disable-installer
ac_add_options --disable-updater
ac_add_options --disable-xprint
ac_add_options --disable-ldap
ac_add_options --disable-accessibility
ac_add_options --disable-oji
ac_add_options --disable-jsd
ac_add_options --with-default-mozilla-five-home=/usr/lib/mozilla-firefox
ac_add_options --with-user-appdir=.mozilla
ac_add_options --with-system-zlib=/usr
ac_add_options --with-system-jpeg=/usr
ac_add_options --with-system-png=/usr
ac_add_options --with-system-mng=/usr
ac_add_options --without-system-nspr
ac_add_options --with-pthreads
--->8---
# mkdir -p BOOT_CD/boot/grub
# cp /lib/grub/i386-pc/stage2_eltorito BOOT_CD/boot/grub/
# mkisofs -R -b boot/grub/stage2_eltorito -no-emul-boot -boot-load-size 4 -boot-info-table -o BOOT_CD.iso BOOT_CD
# cdrecord -v -sao CD_BOOT_GRUB.iso
id = "PCI\VEN_1095&DEV_0680&SUBSYS_36801095", "PnP680r"
[SourceDisksFiles]
pnp680r.sys = 1,,,,,,3_,4,1
[HardwareIdsDatabase]
PCI\VEN_1095&DEV_0680&SUBSYS_36801095 = "PnP680r"
[SCSI.load]
PnP680r = pnp680r.sys,4
[SCSI]
PnP680r = "Silicon Image Ultra-133 Medley ATA RAID Controller"
[Data]
UnattendedInstall=Yes
MSDosInitiated=No
AutoPartition=0
[Unattended]
OemPnPDriversPath="Drivers\sii680r"
Eltorito defaultboot header:
Bootid 88 (bootable)
Boot media 0 (No Emulation Boot)
Load segment 0
Sys type 0
Nsect 4
Bootoff 177 375
00bb800: fa33 c08e d0bc 007c fb8c c88e d852 e800 .3.....|.....R..
00bb810: 005e 81ee 1100 7412 81fe 007c 7575 8cc8 .^....t....|uu..
00bb820: 3d00 0075 7fea 3700 c007 c606 ae01 3390 =..u..7.......3.
00bb830: 8cc8 3dc0 0775 7e8c c88e d8c6 06ae 0134 ..=..u~........4
00bb840: 9080 fa80 726f c606 ae01 3590 bbfe 078b ....ro....5.....
00bb850: 073d 55aa 755f 5a88 1699 0468 8a04 6a0b .=U.u_Z....h..j.
00bb860: 6800 20e8 7603 0f82 0f00 601e 068a 1699 h. .v.....`.....
00bb870: 049a 0000 0020 071f 6168 7e04 6a0c 6800 ..... ..ah~.j.h.
000a000: fa33 c08e d0bc 007c fb8c c88e d852 e800 .3.....|.....R..
nice_value=-10