linux memo
interesting packages
- laptop-net
- mplayer/xine
- bootsplash
- cupsys
- sawfish
- auto-apt/aptitude
- fbpanel
exim
- sendmail -bp
- sendmail -qf/-qff
- sendmail -Mrm id
tex
- gs-cjk-resource, cmap-adobe-japan1/2
- dvipdfmx
- /etc/texmf/texmf.d/50dvipdfmx.cnf
- update-texmf
- ln -s /usr/share/fonts/truetype /usr/share/texmf/fonts
- using msfonts in xdvik-ja
- /etc/texmf/vfontmap.d/*
sudo update-vfontmap
- embedding japanese fonts in pdf
-
/etc/texmf/dvipdfm/cid-x.map:
rml H Ryumin-Light
rml H msmincho
etc...
- using msfonts in vflib (for gs)
- /var/lib/defoma/vflib2.d/vfontcap
sudo update-vfontcap
- using msfonts in xpdf-japanese
-
/etc/xpdf/xpdfrc-japanese
msgothic.ttc and msmincho.ttc do not work well... (why?)
usb mouse problem on Dell 4600C (solved!)
I had a very strange phenomenon; usually my usb optical mouse works
nicely, but sometimes, especially when the machine goes very busy, it
hangs (i.e. no click and no mouse cursor movement). This hang is fixed if
I replug it. After checking all the things, finally I found this is due
to one of the Dell 4600C's bios settings, usb emulation. In my computer,
it was turned on. Once desabled, the mouse hang is gone!
dynamic proxy setting for firefox
Store a file like this accessible via web and choose automatic proxy
config:
function FindProxyForURL(url,host)
{ if(isInNet(host,"199.222.69.0","255.255.255.0") || isInNet(...)) {
return "PROXY venus.is.s.u-tokyo.ac.jp:80";
} else { return "DIRECT"; }
}
rdesktop
- -r disk:local=<unix dir path>
- <unix dir path> will be seen as \\tsclient\local\