[前][次][番号順一覧][スレッド一覧]

sylpheed-jp:671

From: Takashi Nanao <unchi@xxxxxxxxxx>
Date: Sun, 17 Jun 2001 19:18:12 +0900
Subject: [sylpheed-jp:00671] Re: Sylpheed が起動しなくなった

#設定ファイルの記述とかしてしまって、長文になりすみません。#

七尾です。

佐藤さん、誠に丁寧なご教授、どうもありがとうございます。
よく理解できなかったのと、なぜか感動的な気分になり、10回ほど読み返しました。

sylpheed はフォント表示の設定を、他のgtk+ を使うアプリケーションとは異なる指 
定の仕方をしているので
sylpheedの初期化ファイルで設定している(sylpheedに限って指定している)フォン 
トの中に、壊れてしまったものがある
そのために、sylpheedが起動できなくなってしまった、
ということになるのでしょうか?

さて、

>$ LC_ALL=ja_JP.eucJP sylpheed &
>
>まずこのようにした場合に起動できるでしょうか?
>(おそらく何も問題なく起動すると思うけれど)

やってみました。

起動しないのです。
gtkなんたらエラーがまたしても出ます。

で、試しにというか、わけわからないままに

  LC_ALL=ja_JA.eucJA sylpheed &

なぞということをしてみたら、めちゃめちゃ文字化けした、sylpheedが起動しました。
kterm上には

  Gdk-WARNING **: locale not supported by C library

sylpheed-CRITICAL **: file inc.c: line 298 (inc_session_new): assertion 
`account != NULL' failed.

(あるいは

# LC_ALL=ja_EU.eucEU sylpheed &
[1] 990

なぞとすると

Gdk-WARNING **: locale not supported by C library)

という記述が残りました。

佐藤さんの、予想では、

$ LC_ALL=ja_JP.eucJP sylpheed &

で起動するだろう、とのことだったので、ここらへんが何か状況打開のヒントになっ 
たりするのでしょうか?

さらに、

>で、対策ですが、~/.sylpheed を消すというのは全然本質的でなくて
>~/.sylpheed/gtkrc あるいは ~/.gtkrc などに X 上で利用できるフォントを指定
>すればよいのでは?
>
>例えば、他の gtk+ アプリケーションは動くということなので、それらと同じフォ
>ントを使うようにしてみる(
>
>~/.sylpheed/gtkrc のフォント指定部分をばっさりコメントアウトして、代りに次
>を挿入する
>
>include "/etc/gtk/gtkrc.ja"
>
>か、またはフォント指定部分を書き変える、例えば、
>
>style "gtk-default-ja" {
>        fontset = "-*-fixed-medium-r-normal--12-90-75-75-c-50-iso8859-1,\
>
>-*-fixed-medium-r-normal--12-90-75-75-c-100-jisx0208.1983-0,\
>
>-*-fixed-medium-r-normal--12-90-75-75-c-50-jisx0201.1976-0,\
>                   -*-fixed-medium-r-normal--*-*-*-*-*-*-*-*,\
>                   *-r-*"
>}
>
>) のはいかがでしょう?
>
>あ、というか今見たら ~/.sylpheed/sylpheedrc の中でもフォントの設定をし
>ていますね。ということは gtkrc でなくてこちらのフォント指定で利用不可なフ
>ォントが指定されているのかも。そちらもgtkrcのフォント指定と同じように確認
>してみて下さい。(それでももしだめなら次は FontPathをいじると)

上記に関してですが、
~/.sylpheed/gtkc
が無いです。
これって、異常なのでしょうか?


また
~/.sylpheed/sylpheedrc
はあります。
内容は、

--
[Common]
use_ext_inc=0
ext_inc_path=/usr/bin/mh/inc
inc_local=1
filter_on_inc_local=0
spool_path=/var/spool/mail
autochk_newmail=0
autochk_interval=10
check_on_startup=0
max_news_articles=300
use_ext_send=0
ext_send_path=
save_message=1
queue_message=0
outgoing_charset=AUTO
reply_with_quote=1
quote_mark=>
quote_format=On %d\n%f wrote:\n\n
auto_signature=1
signature_separator=--
linewrap_length=74
linewrap_quotation=0
linewrap_before_sending=0
show_ruler=1
widget_font=
message_font=-misc-fixed-medium-r-normal--14-*-*-*-*-*-*-*
display_folder_unread_num=1
translate_header=1
enable_swap_from=1
enable_hscrollbar=1
date_format=%y/%m/%d(%a) %H:%M
enable_thread=1
toolbar_style=3
show_statusbar=1
show_mark=1
show_unread=1
show_mime=1
show_number=1
show_size=0
show_date=1
show_from=1
show_subject=1
folderview_width=179
folderview_height=880
folder_col_folder=150
folder_col_new=32
folder_col_unread=32
folder_col_total=32
summaryview_width=1025
summaryview_height=173
summary_col_mark=10
summary_col_unread=13
summary_col_mime=10
summary_col_number=40
summary_col_size=48
summary_col_date=120
summary_col_from=140
summary_col_subject=33
mainview_x=0
mainview_y=0
mainview_width=1025
mainview_height=994
mainwin_x=0
mainwin_y=0
mainwin_width=1214
mainwin_height=994
messagewin_width=600
messagewin_height=540
compose_width=600
compose_height=560
enable_color=1
quote_level1_color=179
quote_level2_color=179
quote_level3_color=179
uri_color=32512
signature_color=0
recycle_quote_colors=0
convert_mb_alnum=0
display_header_pane=1
display_header=1
line_space=2
enable_head_space=0
enable_smooth_scroll=0
scroll_step=1
scroll_half_page=0
show_other_header=0
mime_image_viewer=display '%s'
mime_audio_player=play '%s'
separate_folder=0
separate_message=0
emulate_emacs=0
open_unread_on_enter=0
open_inbox_on_inc=1
immediate_execution=1
add_address_by_click=0
confirm_on_exit=1
clean_trash_on_exit=0
ask_on_cleaning=1
warn_queued_on_exit=1
uri_open_command=netscape -remote 'openURL(%s,raise)'
print_command=lpr %s
ext_editor_command=gedit %s
--

この中のフォント指定部分と言うのは、

widget_font=
message_font=-misc-fixed-medium-r-normal--14-*-*-*-*-*-*-*

かと思い、これを削除の上、

include "/etc/gtkrc.ja"

を記述して見ました。
しかし、起動しません。
また、起動後、書き換えた部分が、元の内容に戻ってしまっているのです。
(設定を上書きした後、Xを再起動しましたがそれだけでは、再設定が反映されないの 
でしょうか?)

また、/etc/gtk/gtkrc.ja の内容ですが

--
style "gtk-default-ja" {
        fontset = "-adobe-helvetica-medium-r-normal--12-*-*-*-*-*-iso8859-1,\
                   -alias-fixed-medium-r-normal--12-*-*-*-*-*-jisx0208.1983-0"
}
class "GtkWidget" style "gtk-default-ja"
--

だったので、今度は~/.sylpheed/sylpheedrcの

widget_font=
message_font=-misc-fixed-medium-r-normal--14-*-*-*-*-*-*-*

だった部分を

style "gtk-default-ja" {
        fontset = "-adobe-helvetica-medium-r-normal--12-*-*-*-*-*-iso8859-1,\
                   -alias-fixed-medium-r-normal--12-*-*-*-*-*-jisx0208.1983-0"
}

に変更してみましたが、sylpheedは、起動しないし、起動失敗後、やはり、記述が元 
に戻ります。

どこか、~/.sylpheed/sylpheedrc の内容を強制している元ファイルみたいなものがあ 
る、ということなのでしょうか?

以上、大変長くなってしまいましたが、とんちんかんな事をしている可能性大です。

お気づきの点ありましたら、ご教授ください。
手をわずらわせて申し訳ありません。
よろしくお願いします。





--
Takashi Nanao
E-mail : unchi@xxxxxxxxxx
Web : http://www1.plala.or.jp/NANAO/
-- 




[前][次][番号順一覧][スレッド一覧]

       650 2001-06-15 02:25 [unchi@xxxxxxxxxx    ] Re: Sylpheed   が起動しなくなった       
       651 2001-06-15 08:56 ┣[zero@xxxxxxxxxx     ]                                       
       652 2001-06-15 09:41 ┗[tmishima@xxxxxxxxxx ]                                       
       656 2001-06-15 15:13  ┗[unchi@xxxxxxxxxx    ]                                     
       657 2001-06-15 15:43   ┗[iwaim@xxxxxxxxxx    ]                                   
       659 2001-06-15 17:02    ┣[tmishima@xxxxxxxxxx ]                                 
       660 2001-06-15 19:22    ┃┗[ssato@xxxxxxxxxx    ]                               
       662 2001-06-16 03:55    ┗[unchi@xxxxxxxxxx    ]                                 
       663 2001-06-16 09:24     ┣[zero@xxxxxxxxxx     ]                               
       665 2001-06-16 17:20     ┗[ssato@xxxxxxxxxx    ]                               
->     671 2001-06-17 19:18      ┗[unchi@xxxxxxxxxx    ]