| « onclick メモ | portupgrade-devel - PortDirError » |
IEs4Linuxを使ってみた
最近よく耳にする、最小の構成のIE6(もしくは、5.5 or 5)のインストールを自動化するスクリプトIEs4Linuxを使って、FreeBSD上のwineでIE6を動かしてみました。
使用したwineのバージョンは、portsから導入したwine-0.9.54,1です(この他、IEのインストールの際、archives/cabextractが必要になるので事前に導入)。
まずは、IEs4Linuxのダウンロードと展開。
> wget http://www.tatanka.com.br/ies4linux/downloads/ies4linux-latest.tar.gz > tar zxf ./ies4linux-latest.tar.gz
便宜上、Linuxエミュレータのbashから、スクリプトを起動して、IEをインストール。
> env LANG=C /compat/linux/bin/bash > cd ./ies4linux-2.99.0/ > ./ies4linux --no-gui --no-color > exit
上記では、IE6とFlash9がインストールされます。
以降は、${HOME}/bin/にIEの起動スクリプトがインストールされるので、それを使って、通常のシェルから、IEを起動できます。
Follow up:
しかし、ie6とタイプして、IEは立ち上がるんだけど、何故かツールバーの文字やアドレスバー等が、
のように正常に表示されていない。
※ IEs4Linux 2.99.0.1のバージョンで解消されています。
調べてみたところ、こちらのフォーラムに不具合の回避策が書いてあったので、それを適用してみる。
> cd ~/.ies4linux/ie6/ > cp -p user.reg user.reg.old > vi user.reg
でエディタを開き、最初の方にある[Control Panel\\Colors]のレジストリキー
[Control Panel\\Colors] 1201766890 "ActiveBorder"="228 228 228" "ActiveTitle"=hex(1): "AppWorkSpace"=hex(1): "Background"="0 0 0" "ButtonAlternateFace"=hex(1): "ButtonDkShadow"=hex(1): "ButtonFace"="228 228 228" "ButtonHilight"=hex(1): "ButtonLight"="228 228 228" "ButtonShadow"=hex(1): "ButtonText"=hex(1): "GradientActiveTitle"=hex(1): "GradientInactiveTitle"=hex(1): "GrayText"=hex(1): "Hilight"=hex(1): "HilightText"=hex(1): "HotTrackingColor"=hex(1): "InactiveBorder"="228 228 228" "InactiveTitle"=hex(1): "InactiveTitleText"=hex(1): "InfoText"=hex(1): "InfoWindow"=hex(1): "Menu"="228 228 228" "MenuBar"=hex(1): "MenuHilight"=hex(1): "MenuText"=hex(1): "Scrollbar"=hex(1): "TitleText"=hex(1): "Window"=hex(1): "WindowFrame"=hex(1): "WindowText"=hex(1):
の箇所を削除して保存。
削除後、同様にして、IEを起動してみると、今度はメニュー部等は正常に表示されるようになっていました。
Trackback address for this post
Trackback URL (right click and copy shortcut/link location)
1 comment
This post has 4 feedbacks awaiting moderation...