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"
-
keycode is the code of the physical button your finger presses.
-
The RHS is the character the OS receives.
xbindkeys
Assign key(s) to an executable or a command with arguments.
-
.xbindkeysrc is the config file. Each bind is two lines. The first line is the command to run, the second line is the keystroke(s) you want to trigger the command.
-
xbindkeys -k then press a key to get its keycode
-
xbindkeys -p (re)load the config file
-
Might need to append + Release to the keystroke line when your command line is an xdotool command.
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:
-
I don't know what the "A" is for.
-
The second letter is the row, counting up from the bottom.
-
The last two characters are the keys position in the row, counting from zero.
The data inside the curly braces:
-
The first field inside the brackets is the default character for the key.
-
The second field inside the brackets is the shifted character for the key.
-
The third and fourth fields inside the brackets are presumably for other modifiers applied to the key.
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
       
file system stuff
       
rc.M
               
rc.inet1 -
               
rc.inet2 -
               
rc.local
nfs
       
edit /etc/exports
               
/archive/scripts 192.168.1.36(rw)
               
       
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