2008年11月25日火曜日

Ubutnu8.10でJudeを使う

Ubutnu8.10上でJude-Professionalを利用するとフォントがギザギザになってしまった。
そこでJude-Professionalをインストールしたディレクトリ内のjudeファイルにJavaのオプションを追加。
java $JAVA_OPTS -Dawt.useSystemAAFontSettings=on -jar $JUDE_HOME/$JUDE_JAR $1 $2 $3

Javaのアンチエイリアスに関してはここを参照

2008年11月21日金曜日

BCCKS

BCCKS
いい感じだなぁと思って、運営会社のメンバーを見ると、なるほど。

2008年11月10日月曜日

HP2133上のUbuntu8.10の画面解像度を変更する

Hp2133にUbutnu8.10をインストールしたはいいものの、Xの設定がイマイチだったので、ここを参考にして、変更した。

まず、xorg.confを編集
# xorg.conf (X.Org X Window System server configuration file)
#
# This file was generated by reidy90, by copying correct settings from
# the xorg.conf that was provided with the SUSE hp 2133.
#
# Edit this file with caution, and see the xorg.conf manual page.
# (Type "man xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# Note that some configuration settings that could be done previously
# in this file, now are automatically configured by the server and settings
# here are ignored.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
# sudo dpkg-reconfigure -phigh xserver-xorg

Section "Device"
BoardName "Framebuffer Graphics"
Driver "vesa"
Identifier "Device[0]"
Screen 0
VendorName "VIA Technology"
Option "NoDDCValue"
Option "ActiveDevice" "LCD,CRT"
Option "PanelID" "3"
Option "DisplayHardwareLayout" "LCD"
Option "ForceLCD"
#[]
Option "VideoOnDevice" "LCD"
# Option "LCDPort" "DVP0"
EndSection

Section "Monitor"
DisplaySize 250 150
HorizSync 28-500
Identifier "Monitor[0]"
ModelName "VIEWSONIC VA912-4SERIES"
Option "DPMS"
VendorName "VSC"
VertRefresh 43-60
UseModes "Modes[0]"
EndSection

Section "Modes"
Identifier "Modes[0]"
Modeline "1280x800" 120.33 1280 1368 1504 1728 800 801 804 839
Modeline "1280x800" 118.88 1280 1368 1504 1728 800 801 804 839
Modeline "1280x800" 116.21 1280 1360 1496 1712 800 801 804 838
# Modeline "1280x768" 114.53 1280 1360 1496 1712 768 769 772 806
# Modeline "1280x768" 113.01 1280 1360 1496 1712 768 769 772 805
# Modeline "1280x768" 111.63 1280 1360 1496 1712 768 769 772 805
Modeline "1280x768" 80.14 1280 1344 1480 1680 768 769 772 795 -HSync +Vsync
Modeline "1024x768" 92.05 1024 1088 1200 1376 768 769 772 806
Modeline "1024x768" 90.83 1024 1088 1200 1376 768 769 772 805
Modeline "1024x768" 89.72 1024 1088 1200 1376 768 769 772 805
Modeline "1280x600" 88.68 1280 1352 1488 1696 600 601 604 630
Modeline "1280x600" 87.48 1280 1352 1488 1696 600 601 604 629
Modeline "1280x600" 85.59 1280 1344 1480 1680 600 601 604 629
Modeline "1024x600" 71.11 1024 1080 1192 1360 600 601 604 630
Modeline "1024x600" 69.32 1024 1080 1184 1344 600 601 604 629
Modeline "1024x600" 68.48 1024 1080 1184 1344 600 601 604 629
Modeline "800x600" 55.22 800 840 928 1056 600 601 604 630
Modeline "800x600" 54.47 800 840 928 1056 600 601 604 629
Modeline "800x600" 53.80 800 840 928 1056 600 601 604 629
Modeline "768x576" 50.62 768 808 888 1008 576 577 580 605
Modeline "768x576" 49.92 768 808 888 1008 576 577 580 604
Modeline "768x576" 49.32 768 808 888 1008 576 577 580 604
Modeline "640x480" 34.80 640 672 736 832 480 481 484 504
Modeline "640x480" 34.38 640 672 736 832 480 481 484 504
Modeline "640x480" 33.90 640 672 736 832 480 481 484 503
EndSection

Section "Screen"
SubSection "Display"
Modes "1280x768"
EndSubSection
Device "Device[0]"
Identifier "Screen[0]"
Monitor "Monitor[0]"
EndSection

それで、画面解像度を1280x768へ変更

さらにViaのサイトからドライバをダウンロード
展開したディレクトリの中から「via.ko」ファイルを/usr/lib/xorg/modules/driversへコピー
xorg.ocnfの "Section Device" 中"Driver" を "vesa"から"via"へ変更

これでバッチリ使えるようになりました。



2008年11月2日日曜日

Ubuntu8.10のOpenOfficeを3.0にバージョンアップ

ここを参照して、ソフトウェアソースに以下のレポジトリを追加して、アップデート
deb http://ppa.launchpad.net/openoffice-pkgs/ubuntu intrepid main
deb-src http://ppa.launchpad.net/openoffice-pkgs/ubuntu intrepid main

Ubuntu8.10(ホスト)のVMwareWorkstation6.5のキーマップを変更

Ubuntu8.10(ホスト)のVMwareWorkstation6.5にWindowsXPをインストールしたら、「\」や「_」が入力できなかった。

  • 入力を受け付けないキー
「\/|」、「\/_」、「Insert」、「Delete」、「Home」、「End」、「PageUP」、「PageDown」、
「↑」、「↓」、「←」、「→」

  • keycodeを出力
$ xmodmap -pke
keycode 97 = backslash underscore backslash underscore backslash underscore
keycode 110 = Home NoSymbol Home NoSymbol Home
keycode 111 = Up NoSymbol Up NoSymbol Up
keycode 112 = Prior NoSymbol Prior NoSymbol Prior
keycode 113 = Left NoSymbol Left NoSymbol Left
keycode 114 = Right NoSymbol Right NoSymbol Right
keycode 115 = End NoSymbol End NoSymbol End
keycode 116 = Down NoSymbol Down NoSymbol Down
keycode 117 = Next NoSymbol Next NoSymbol Next
keycode 118 = Insert NoSymbol Insert NoSymbol Insert
keycode 119 = Delete NoSymbol Delete NoSymbol Delete
keycode 132 = backslash bar backslash bar backslash bar

  • 念のためにxevでキーの位置とコードを確認

  • /usr/lib/vmware/xkeymap/jp106でVMwareのキーマップを確認

Home = 0x147
Up = 0x148
Prior = 0x149
Left = 0x14b
Right = 0x14d
End = 0x14f
Down = 0x150
Next = 0x151
Insert = 0x152
Delete = 0x153

kana_RO = 0x073
Henkan_Mode = 0x079
Muhenkan = 0x07b
backslash = 0x07d

  • /etc/vmware/configを編集

xkeymap.usekeycodeMapIfXFree86 = "TRUE"

xkeymap.keycode.97 = 0x073
xkeymap.keycode.132 = 0x07d

xkeymap.keycode.110 = 0x147
xkeymap.keycode.111 = 0x148
xkeymap.keycode.112 = 0x149
xkeymap.keycode.113 = 0x14b
xkeymap.keycode.114 = 0x14d
xkeymap.keycode.115 = 0x14f
xkeymap.keycode.116 = 0x150
xkeymap.keycode.117 = 0x151
xkeymap.keycode.118 = 0x152
xkeymap.keycode.119 = 0x153

  • 再起動
sudo /etc/init.d/vmware restart