<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet href="style1.xsl" type="text/xsl"?>

<rt name="notes1">


<notes name="slackware 13.0 xorg.conf XkbLayout">


% Xorg -configure
% cp xorg.conf.new /etc/X11/xorg.conf

xorg.conf

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "kbd"
        Option     "XkbLayout"     "jp"

EndSection


% startx

 

/var/log/Xorg.0.log

(**) Option "xkb_rules" "evdev"
(**) Option "xkb_model" "evdev"
(**) Option "xkb_layout" "us"
(**) Option "xkb_options" "terminate:ctrl_alt_bksp"


% less /usr/share/hal/fdi/policy/10osvendor/10-keymap.fdi 

  If you want to add a custom model/layout/variant to X, you will need to COPY
  this file to /etc/hal/fdi/policy/ and edit that copy.  After editing it to
  suit, you will need to leave X, restart the HAL daemon, and start X again.

  Here's an example of the four lines from above:
      &lt;merge key="input.xkb.rules" type="string"&gt;base&lt;/merge&gt;
      &lt;merge key="input.xkb.model" type="string"&gt;evdev&lt;/merge&gt;
      &lt;merge key="input.xkb.layout" type="string"&gt;us&lt;/merge&gt;
      &lt;merge key="input.xkb.variant" type="string"&gt;intl&lt;/merge&gt;

  Many desktop environments, including KDE and Xfce, have their own methods to
  configure keyboard layouts and such if you'd like to use them.

  If you prefer to use the "old" way of configuring keyboards (without HAL's
  input device hotplugging), then you'll need to add the following lines to
  the ServerFlags section of /etc/X11/xorg.conf:
    Option   "AllowEmptyInput"     "false"
    Option   "AutoAddDevices"      "false"
    Option   "AutoEnableDevices"   "false"
  You can now edit the Keyboard section of xorg.conf as usual.

上記を参考にして



% su
% vi /etc/X11/xorg.conf

Section "ServerFlags"
        Option   "AllowEmptyInput"     "false"
        Option   "AutoAddDevices"      "false"
        Option   "AutoEnableDevices"   "false"
EndSection


% startx
 
 /var/log/Xorg.0.log
(**) Option "CoreKeyboard"
(**) Keyboard0: always reports core events
(**) Option "Protocol" "standard"
(**) Keyboard0: Protocol: standard
(**) Option "AutoRepeat" "500 30"
(**) Option "XkbRules" "xorg"
(**) Keyboard0: XkbRules: "xorg"
(**) Option "XkbModel" "pc105"
(**) Keyboard0: XkbModel: "pc105"
(**) Option "XkbLayout" "jp"
(**) Keyboard0: XkbLayout: "jp"
(**) Option "CustomKeycodes" "off"
(**) Keyboard0: CustomKeycodes disabled
(II) XINPUT: Adding extended input device "Keyboard0" (type: KEYBOARD)
(II) config/hal: Adding input device Macintosh mouse button emulation
(EE) config/hal: NewInputDeviceRequest failed (8)
(II) config/hal: Adding input device ImPS/2 Generic Wheel Mouse
(EE) config/hal: NewInputDeviceRequest failed (8)
(II) config/hal: Adding input device AT Translated Set 2 keyboard
(EE) config/hal: NewInputDeviceRequest failed (8)
  
kblayout は jp に変更されているようです。


</notes>

<notes name="slackware 13.0 unison">


  ocaml build install
  
  http://slackbuilds.org/repository/13.0/development/
  より ocaml.tar.gz caml-3.11.1.tar.bz2 を download
  
  tar xvzf ocaml.tar.gz

  mv ocaml-3.11.1.tar.bz2 ocaml

  cd ocaml

  ./ocaml.SlackBuild


  slackware package /tmp/ocaml-3.11.1-i486-1_SBo.tgz created.
  
  installpkg /tmp/ocaml-3.11.1-i486-1_SBo.tgz


  http://slackbuilds.org/repository/13.0/system/
  より unison.tar.gz unison-2.32.52.tar.gz を download

  tar xvzf unison.tar.gz

  mv unison-2.32.52.tar.gz unison

  cd unison

  FLAVOR=text ./unison.SlackBuild

  Slackware package /tmp/unison-2.32.52-i486-1_SBo.tgz created.

  installpkg /tmp/unison-2.32.52-i486-1_SBo.tgz





</notes>


<notes name="squeak インストール slackware 13.0">

http://swikis.ddo.jp/umejava/48
より Squeak3.10.2J-all-in-one.zip を download

unzipにて展開


LANG が ja_JP.UTF-8 だと
起動二回目以降
 XCreateFontSet() failed for "-*-*-medium-r-normal--14-*"
と表示されて日本語入力が上手くいかなかったので

linux_run を編集
-------------------------------------------------------------------
#! /bin/sh

export LANG=ja_JP.eucJP # &gt;- 追加

./vm/linux/squeak -plugins ./vm/linux -vm-display-X11 -xicfont \
"-*-*-medium-r-normal--14-*" -compositioninput \
./image/Squeak3.10.2-7179-basic-J.image &amp;

-------------------------------------------------------------------

日本語入力は scim だと不安定な感じでしたので
http://de.sourceforge.jp/projects/slackware/releases/44911
より uim-1.5.7-i486-1.tgz を Download して 

installpkg uim-1.5.7-i486-1.tgz

vi .xinitrc

export XMODIFIERS="@im=uim"
export LANG=ja_JP.UTF-8
echo '*inputMethod: uim' | xrdb -merge
uim-xim &amp;


</notes>

<notes name="jdk vine4.2">

Vine4.2 に JDK 6 Update 3 をインストールしたときのメモです。

sunのサイト http://java.sun.com/javase/ja/6/download.html
から jdk-6u3-linux-i586-rpm.bin をダウンロード

$ chmod 777 jdk-6u3-linux-i586-rpm.bin

インストール
# ./jdk-6u3-linux-i586-rpm.bin

firefox pluguin
# cd /usr/lib/firefox-2.0/plugins/
# ln -s /usr/java/jdk1.6.0_03/jre/plugin/i386/ns7/libjavaplugin_oji.so .

日本語表示文字化け対策
# cd /usr/java/jdk1.6.0_03/jre/lib/fonts
# mkdir fallback
# cd fallback
# ln -s /usr/X11R6/lib/X11/fonts/TrueType/kochi-gothic.ttf ./
# ln -s /usr/X11R6/lib/X11/fonts/TrueType/fonts.dir ./


</notes>

<notes name="VisualWorks 7.5 NC インストール (Vine 4.2)">

0.  http://smalltalk.cincom.jp/scripts/smalltalk.dll/visualworks/
より VisualWorks Non-Commercial（NC）をダウンロード


1. インストール
 
      # mount -t iso9660 /dev/cdrom /mnt
      % /mnt/installUnix

2. .bash_profile に

  export VISUALWORKS= インストールディレクトリ
こ!

3. 起動テスト
 
  (例)

  vw7.5nc/bin/linux86/visual vw7.5nc/image/visualnc.im

</notes>


<notes name="rtmtdump ubuntu 9.10">

sudo aptitude install libssl-dev


sudo aptitude install mplayer

wget http://rtmpdump.mplayerhq.hu/download/rtmpdump-2.2c.tar.gz

tar xvzf rtmpdump-2.2c.tar.gz 

cd rtmpdump-2.2c/

#make linux
make posix

sudo aptitude install libavcodec-unstripped-52
ptptitude install libmp3lame-dev
sudo aptitude install libfaac-dev
aptitude install libmp3lame-dev




radiko ニッポン放送 10秒

bin/rtmpdump --rtmp "rtmpe://radiko.smartstream.ne.jp:1935" \
--playpath "simul-stream"  --app "LFR/_defInst_"  \
--flashVer "LNX 10,0,45,2" --live --stop 10 | mplayer -

ファイルに出力

bin/rtmpdump --rtmp "rtmpe://radiko.smartstream.ne.jp:1935" \
--playpath "simul-stream"  --app "LFR/_defInst_"  \
--flashVer "LNX 10,0,45,2" --live --stop 10 -o lfr.flv



cf.

http://ubuntu.futene.net/tips/radiko2.htm
http://radioradiko.blog52.fc2.com/blog-entry-32.html



</notes>
</rt>
