気になっていること:
1:起動時のコンソールメッセージの最後にエラーメッセージが・・・
minon さんも書いていらっしゃいます。
viewtopic.php?f=28&t=1334&p=8681#p8681
私の場合も起動時のコンソールメッセージの最後に、一瞬エラーメッセージが出ます。
/var/log/messages を見ると
コード: 全て選択
daemon.notice modprobe: WARNING: Could not open '/lib/modules/2.6.30.5/initrd/kernel/drivers/parport/parport.ko': No such file or directory
daemon.notice modprobe: FATAL: Error inserting lp (/lib/modules/2.6.30.5/kernel/drivers/char/lp.ko): Unknown symbol in module, or unknown parameter (see dmesg)
daemon.notice modprobe: WARNING: Could not open '/lib/modules/2.6.30.5/initrd/kernel/drivers/parport/parport.ko': No such file or directory
daemon.notice modprobe: FATAL: Error inserting lp (/lib/modules/2.6.30.5/kernel/drivers/char/lp.ko): Unknown symbol in module, or unknown parameter (see dmesg)
となっています。
PCが古すぎるのかも。
2:gxmessage ウィンドウのサイズ
短いメッセージではウィンドウの下に空白ができ、間延びして見える。
これはgxmessageの仕様で仕方ないかも知れませんが、何かよい方法があればいいと思います。
gxmessageの最新版2.12.1をインストールして、(-geometry を色々変えてたりして)試して見ましたが変わらず。
xmessage や /usr/X11R7/bin/yaf-splash は日本語が使えません。
3:ちょっと脱線
yaf-splash で調べていてMUさんが次のように書いていました。
英語版パピーでも yaf-splash は使われなくなってきていますが。
If I load unicode from a file and display it with yaf-splash, I see garbage.
My workaround in Muppy008.1 is a replacement for yaf-splash.
It seems to cover all calls I could find in /usr/sbin/
コード: 全て選択
#!/bin/bash
XMESSAGE="gxmessage -encoding UTF-8"
text=`echo $@ | sed -e "s/.*-text \(.*\)/\1/"`
#echo "$text"
a=`echo $@ | sed -e "s/-bg pale /-bg /" -e "s/-placement [^ ]* //" -e "s/-outline [^ ]* //" -e "s/-margin [^ ]* //" -e "s/-text .*//"`
#echo $a
exec $XMESSAGE -center -buttons "" -borderless $a "$text"
You can search for options used in Puppy like this:
コード: 全て選択
cd /usr/sbin
grep -n yaf-splash *
gxmessage does not know all options like "-margin", so those are filtered out.
It also does not know "pale green", so such "pale " is removed.
It also cannot position the window at bottom, so it is always centered.
I think we should no longer use apps that cannot deal with unicode, though yaf-splash is quite nifty.
Could we rewrite it with freebasic?
That creates so small executables!
出典:
http://www.murga-linux.com/puppy/viewto ... 1e9a8dccf7
http://www.murga-linux.com/puppy/viewtopic.php?t=25536