2007年3月3日

Note for setuping Ubuntu

http://ubuntuguide.org/wiki/Ubuntu:Edgy

sp. problems:
realplay Segmentation fault Problem

file:/usr/lib/realplay-10.0.8/realplay
#!/bin/sh
Add:
export GTK_IM_MODULE=xim


no sound problem of reaplay
sudo apt-get install alsa-oss
edit /usr/lib/realplay-10.0.8/realplay:73
aoss $REALPLAYBIN “$@”


ATI driver installation
http://wiki.cchtml.com/index.php/Ubuntu_Edgy_Installation_Guide


Mounting smb server for non-gnome-vfs program
mount -t cifs //sambaserver/共享1 /mnt/smb/ -o username=xxxx,iocharset=utf8


HP 1020 setup
getweb 1020
arm2hpdl sihp1020.img > sihp1020.dl
sudo cp sihp1020.dl /usr/share/foo2zjs/firmware/
sudo cat /usr/share/foo2zjs/firmware/sihp1020.dl > /dev/usb/lp0

sudo ln -s /usr/bin/usb_printerid /bin/usb_printerid
sudo ln -s /usr/bin/hplj1000 /usr/sbin/hplj1020
edit /etc/udev/rules.d/11-hplj10xx.rules:
KERNEL=="lp*", BUS=="usb", SYSFS{idVendor}=="03f0", SYSFS{product}=="HP LaserJet 1020", NAME="usb/%k", SYMLINK="hplj1020%e", MODE="0666", RUN+="/usr/bin/hplj1020"

#For 2/4-UP CAPABILITY
sudo apt-get install psutils

ref:
Bug #65618 in foo2zjs (Ubuntu Edgy)
OpenPrinting database - Printer: HP LaserJet 1020
foo2zjs: a linux printer driver for ZjStream protocol


To find out the UUID of your partition just use the following command:
sudo vol_id -u device