Xubuntu

Post-install:

sudo apt-get install nfs-common

sudo mkdir /tao

sudo chown sean /tao

sudo mount 10.0.0.150:/archive /tao

KB Layout

xmodmap -pke

xmodmap -e "keycode 127 = p"


xbindkeys

Assign key(s) to an executable or a command with arguments.


xdotool


xvkbd


/etc/X11/xkb/symbols/us

Anatomy of a KB layout line:

key <AE01> { [ 1, exclam, bar, exclamdown ] };
key <AE04> { [ 4, dollar, asciitilde, dollar ] };

The string inside the key tag:

The data inside the curly braces:

COMMANDS

lshw (as root) - Belarc-type info

dmidecode (as root) - Belarc-type info

wget -e robots=off -r --no-parent http://...

su -c "modprobe loop; umount /usr/winecd; mount -o loop,ro rfactor.iso /usr/winecd"

displayconfig-gtk - tell Ubunut 8.04 and lower your monitor model

SETUP

Ubuntu: Add 'export LANG="C"' to ~/.bashrc for old style shell sorting (case sensitive, etc...)

Edit desktop settings to save settings at logout (default was to not save)

add /archive/scripts to PATH in /etc/profile
might also want to add it in the section of profile that deals with root ssh

The file /usr/share/dict/words was not installed.

On one Zen install, /ect/rc.d/rc.portmap was executable, on other it wasn't.
Needs to be executable for nfs to work: chmod 755 rc.portmap

alsaconf got sound running

Boot Scripts in /etc/rc.d/
rc.S (S = Single user)
        file system stuff
        rc.M (M = Multi-user)
                rc.inet1 - network configuration
                rc.inet2 - network servers
                rc.local

nfs (already installed)
        edit /etc/exports
                /archive/scripts 192.168.1.36(rw)
                (This entry will trigger start of proper daemons at boot)
        On Linux machine that mounts /archive/scripts, edit /etc/fstab:
                192.168.1.1:/archive /archive nfs rw,hard,intr 0 0

UTILITIES

dhcp
        ./configure && make && su -c "make install"
        edit /etc/rc.d/rc.inet2
                if [ -x /usr/sbin/dhcpd ]; then
                /usr/sbin/dhcpd
                fi

samba
        cd source
        ./configure && make && make install
        location for smb.conf is /usr/local/samba/lib (need to create manually)
        binaries installed in /usr/local/samba/sbin | bin
        make sure users exist on system
        add users to samba password file: smbpasswd -a

APPLICATIONS

tightvnc
        Requires zlib & jpeg libraries (looks like vnc will make 'em)
        xmkmf
        make World
        cd Xvnc
        ./configure
        make
        cd ..
        su -c "./vncinstall /usr/local/bin /usr/local/man"

pan
        ./configure && make && su -c "make install"

mpg123 - mp3 decoder (and command-line music player)
        ./
        make linux && su -c "make install"

flac (includes xmms flac plug-in)
        ./
        ./configure && make && su -c "make install"

shorten (Does NOT include xmms plug-in)
        ./
        ./configure && make && make check && su -c "make install"

xmms - music player
        ./configure && make && su -c "make install"

xmms-shn (xmms shn plug-in)
        ./
        ./configure && make && su -c "make install"

mplayer - video player
        Install codecs from archive first
                su
                cp mplayer-codecs.tar.gz /usr/local/lib
                tar -zxvf mplayer-codecs.tar.gz # untars as dir "codecs"
        Build exe
                ./configure && make && su -c "make install"

notlame - mp3 encoder
        ./
        mv notlame /usr/local/bin

PROGRAMMING

freebasic
        su -c "./install.sh -i"

wxGTK
        ./
        ./configure --with-gtk && make && su -c "make install && ldconfig"
        Need to edit LD_LIBRARY PATH?
        wxGTK-/samples/minimal contains base makefile.unx


SCRIPTS