#contents ---- *Mozilla Firefox [#nd46fc10] [[Mozilla JapanのFirefoxのページ:http://www.mozilla-japan.org/products/firefox/]]からfirefox-1.0.installer.tar.gzをgetして、rootで(sudoで)インストール。元々入ってるMozilla-1.7.3はそのまんま。 Firefoxはそれで問題なく動くし、日本語入力も出来るんだけど、フォームのテキスト編集エリアでのキーバインドが変ちくりん(Ctrl-A, Ctrl-E, Ctrl-Kとかが効かない)で最初困った。こいつはGnomeのショートカットキーの設定が効いちゃってるからで、アプリケーション→デスクトップ設定→キーボード・ショートカットを開き、「テキスト編集のショートカット」をneovineから''Emacs''にすることで元に戻った。 ---- &aname(firefox-1_0_1){1.0.1日本語版};&new(nodate){2005-3-14};~ [[Mozilla Japan:http://www.mozilla-japan.org/]]から1.0.1日本語版が出たので入れ換えた。(2005-03-14) cp -pr ~/.mozilla/firefox ~/backup/. ↑念のため、プロファイルを全部バックアップしとく cd /usr/local/firefox/plugins sudo tar cvfz ../../plugins-firefox.tar.gz ./flashplayer.xpt ./libflashplayer.so ./libjavaplugin_oji.so ↑ここまでが、インストール済みプラグインの退避 cd /usr/local sudo mv firefox firefox-1.0 sudo mkdir firefox-1.0.1 sudo ln -s firefox-1.0.1 firefox ↑ここまでが、インストール先の準備 cd ~/work/src ←どこでもいいんだけど tar vfxz firefox-1.0.1.installer.tar.gz cd firefox-installer sudo ./firefox-installer ↑画面に従ってインストールを実行 cd /usr/local/firefox/plugins sudo tar xvfz ../../plugins-firefox.tar.gz ↑退避したプラグインの展開 これでおっけー。のはずなんだけど、自ユーザで起動したらブックマークが全部消えちゃってた。それ以外は拡張機能もテーマも問題なく移行できてたんだけどブックマークだけ消失。orz 仕方ないので、一旦、Firefoxを終了させて、バックアップしといたbookmarks.htmlを戻す。 cp -p ~/backup/firefox/hogehogehoge.default/bookmarks.html ~/.mozilla/firefox/hogehogehoge.default/. これで再度Firefoxを起動したら、全て環境移行した状態で1.0.1が起動した。ふぅ。 :) // ---------------------- **インストールしたExtensions [#v6bb7e02] ***[[adblock:https://addons.mozilla.org/extensions/moreinfo.php?id=10]] [#b893dc4d] 広告ブロック&br; フィルタは以下の内容で設定。 #code{{ // [Adblock] googlesyndication us.yimg.com/a/ /\/buy_assets\// /[\W\d_](top|bottom|left|right|)?banner(s|id=|\d|_)[\W\d]/ /[\W\d](double|fast)click[\W\d]/ /[\W\d]click(stream|thrutraffic|thru|xchange)[\W\d]/ /[\W\d]value(stream|xchange|click)[\W\d]/ /[\W\d]dime(xchange|click)[\W\d]/ /[\W\d](onlineads?|ad(banner|click|-?flow|frame|ima?g(es?)?|_id|js|log|serv(er|e)?|stream|_string|s|trix|type|vertisements?|v|vert|xchange))[\W\d]/ /(hot|spy)log/ /[\W_](b(an|nr)s?|jump|redir(ect|s)?)[\W_]/ /\W(cy|r)?c(ou)?nt(er|ed)?\W/ /!(image-)p(artner|ing\.cgi|romotion)/ reklama /sp(onsor|ymagic)/ /top(100|cto)/ /bizad.nikkeibp.co.jp/ /adnet.asahi.com/ /adb.nikkei.co.jp/ /[\W\d]ad\./ }} デフォルトからの修正点は、以下の3点。 -10行目 '''xchange)?)[\W\d]'''のところを'''xchange))[\W\d]'''として?を1つ削除 -12行目 '''redir(ect|s)?|stat)'''のところを'''redir(ect|s)?)とstatを削除した。 -14行目 a9.comのイメージ検索結果が表示されるように、'''p(artner|'''のところを'''!(image-)p(artner|'''に変更~ ***[[All-in-One Gestures:https://addons.mozilla.org/extensions/moreinfo.php?id=12]] [#nd728be5] マウスジェスチャー。主なジェスチャーは以下。 -戻る:左へ -進む:右へ -スーパーリロード:上、下、上 -新タブを開く:上 -前のタブを表示:上、左 -後ろのタブを表示:上、右 -現在のページを閉じる:下、右 -新しいウィンドウを開く:下 -リンクを新タブで開く:(リンクの上を)上 ***[[Copy URL+:http://copyurlplus.mozdev.org/index.html]] [#c7263384] URLコピー。blogには必須。 ***[[Google ツールバー:http://toolbar.google.com/firefox/T3/intl/ja/index.html]] [#k3c97472] Googleのツールバー。 ***[[GMail Notifier:http://nexgenmedia.net/extensions/]] [#o57f3c73] GMailのinboxのNotifier ***[[Adsense Notifier | Firefox Add-ons | Mozilla Corporation:https://addons.mozilla.org/firefox/500/]] [#p6fd9b61] Google AdsenseのNotifier (2007-02-24) ***[[Popup ALT Attributes:http://piro.sakura.ne.jp/xul/_popupalt.html]] [#l2ab5d7e] 画像に設定されたALT属性のテキストをポップアップで表示 ***[[Tab Mix Plus:https://addons.mozilla.org/firefox/1122/]] [#v20248ab] タブ機能の拡張&br; 設定でデフォから変えたのは、「Tab Mix Plusのオプション」→「表示」→「タブ」→『「タブを閉じる」ボタンを』で、『全てのタブに表示』から『現在のタブに表示』に変更。 ***[[Reveal:https://addons.mozilla.org/extensions/moreinfo.php?id=1942&application=firefox]] [#q85b33ee] ページのサムネイルで、タブや履歴を見れる。 ***[[Resizeable Textarea:http://www.extensionsmirror.nl/?showtopic=2796]] [#kefc14e9] テキストエリアのサイズを自由に変えられる。 ***[[Resizable Textarea Extension for Firefox 1.5 (by Jeremy Zawodny):http://jeremy.zawodny.com/blog/archives/005752.html]] [#x142aaee] オリジナルが1.5に対応しないので、他の人が対応させたもの。 ***[[Firemacs:http://www.mew.org/~kazu/proj/firemacs/]] [#he5d68fa] FirefoxにEmacsの編集機能を付ける拡張機能。Emacsのキーバインドで編集できる。(2007-03-31) ***[[Together with Foxkeh | Firefox Add-ons | Mozilla Corporation:https://addons.mozilla.org/firefox/3867/]] [#fb9f90d5] フォクすけと一緒。(笑) (2007-02-20) [[bbs2chreader | Firefox Add-ons | Mozilla Corporation:https://addons.mozilla.org/firefox/1560/]] ***[[bbs2chreader | Firefox Add-ons | Mozilla Corporation:https://addons.mozilla.org/firefox/1560/]] [#d4cfdb35] 2chリーダー。(2007-02-24) ***[[Firebug :: Firefox Add-ons:https://addons.mozilla.org/ja/firefox/addon/1843]] [#zdba622c] WebページのCSS、HTML、JavaScriptをリアルタイムに編集、デバッグ、またはモニタすることが出来るツール。(2007-09-14) ***[[Nightly Tester Tools:https://addons.mozilla.org/extensions/moreinfo.php?id=958&application=firefox]] [#v5fd9a06] Firefoxのバージョンを偽って、Extensionsを入れられるnightlyビルド向けツール。 ***[[Mouse Gestures:https://update.mozilla.org/extensions/moreinfo.php?application=mozilla&version=1.8&os=Linux&category=Navigation&numpg=10&id=39]] [#fa015d24] マウスジェスチャー&new(nodate){2005-2-20};~ こちらはFirefoxではなくMozilla Browserの方で使ってた。All-in-One Gesturesの上記ジェスチャーはこれでも同じ。 ***[[RadialContext:http://www.radialthinking.de/radialcontext/]] [#p273245f] 右クリックコンテキストメニュー + マウスジェスチャー~ カスタマイズできないので結局使うの止めた。 ***[[easygestures:http://easygestures.mozdev.org/index.html]] [#w76abaf9] こちらもコンテキストメニュー + マウスジェスチャー~ マウス中ボタンでの張り付けができなくなるので使うの止めた。 **変更した設定(about:config) [#n412bdbf] -layout.frames.force_resizability : true~ trueにすると常にフレームをリサイズできるようになる。デフォルトはfalse。 -image.animation_mode : once~ アニメーションGIFをどう表示するか。noneはアニメしない。onceは一度だけ。nomarlはずっと。デフォルトはnormal。 -copyurlplus.menus.1.copy : <a href="%URL%">%TITLE%</a> -copyurlplus.menus.1.label : リンク形式(タイトル) -copyurlplus.menus.2.copy : <a href="%URL%">%SEL%</a> -copyurlplus.menus.2.label : リンク形式(選択部分) -copyurlplus.menus.3.copy : [[%TITLE%:%URL%]] -copyurlplus.menus.3.label : Wiki形式(タイトル) -xim.input_style : on-the-spot~ 指定できるのは、on-the-spot, over-the-spot, separate, none のいずれか。 -config.trim_on_minimize : true~ trueにすると、ウィンドウ最小化時のメモリ使用量が減る。 -extensions.checkCompatibility : false~ falseにすると、extensionのバージョンチェックが行われない。(Firefox 2.0でCopyURL+がどうしても使いたいため、2.0に対応されるまでの暫定)(2006-11-08) -高速化のもろもろ #pre{{ user_pref("network.http.pipelining", true); user_pref("network.http.pipelining.firstrequest", true); user_pref("network.http.pipelining.maxrequests", 8); user_pref("network.http.max-connections", 32); user_pref("network.http.max-connections-per-server", 8); user_pref("network.http.max-persistent-connections-per-proxy", 8); user_pref("network.http.max-persistent-connections-per-server", 4); user_pref("nglayout.initialpaint.delay", 0); user_pref("content.notify.backoffcount", 5); user_pref("plugin.expose_full_path", true); user_pref("ui.submenuDelay", 0); user_pref("content.interrupt.parsing", true); user_pref("content.max.tokenizing.time", 2250000); user_pref("content.notify.interval", 750000); user_pref("content.notify.ontimer", true); user_pref("content.switch.threshold", 750000); user_pref("browser.cache.memory.capacity", 65536); }} 詳細は、[[チューニング - Mozilla Firefox まとめサイト:http://firefox.geckodev.org/index.php?%E3%83%81%E3%83%A5%E3%83%BC%E3%83%8B%E3%83%B3%E3%82%B0]]にて。 // ---------------------- **Mozilla Calendar/Sunbird [#qd984040] &aname(mozilla_calendar_0_8_3){2005-1-20};&new(nodate){2005-1-20};~ 2005-1-11版のFirefox用Extensionな[[Calendarがリリースされてた:http://www.mozilla.org/projects/calendar/download.html#download_firefox]]ので、早速アップデート。でも、拡張機能ウィンドウからMozilla Calendarを選択して更新ボタンを押しても、今回も更新を認知してくんなかったので、上記ページで.xpiをクリックすることでインストール。バージョンは Mozilla Calendar 0.8.3+になった。しかし、変更点は分からず。ただ、心なしか軽くなった気がするよ。 *Spamassassin [#v7262c55] [[Vine 2.6と同じ>http://www.kyo-ko.org/knowhow/vine/memo11.html#spamassassin]]なんだけど、マシン起動ごとにデーモンが起動するようにする設定が書いてなかった。 $ sudo chkconfig --level 3 spamassassin on ---- &aname(spamassassin_3_1_7){2006-10-21};&new(nodate){2006-10-21};~ 2006/10/10リリースの3.1.7が早くもVine Plusに登録されたので、早速更新。 $ sudo apt-get update; sudo apt-get install spamassassin 2.64からのアップデートなので、[[UPGRADE:http://svn.apache.org/repos/asf/spamassassin/branches/3.1/UPGRADE]]通りに #pre{{ - stop running spamassassin/spamd (ie: you don't want it to be running during the upgrade) - run "sa-learn --rebuild", this will sync your journal. if you skip this step, any data from the journal will be lost when the DB is upgraded. - upgrade SA to 3.0.0 - run "sa-learn --sync", which will cause the db format to be upgraded. if you want to see what is going on, you can add the "-D" option. - test the new database by running some sample mails through SpamAssassin, and/or at least running "sa-learn --dump" to make sure the data looks valid. - start running spamassassin/spamd again }} をした。 次に[[Easy setup & configuration of SpamAssassin with fetchmail -Tokyo Linux Entertainment Community-:http://tlec.linux.or.jp/docs/spamassassin_setup_example.html]]を参考に、/etc/mail/spamassassin/local.cfを以下のように編集。(コメント行割愛) #code{{ auto_whitelist_path /var/spool/spamassassin/auto-whitelist auto_whitelist_file_mode 0666 bayes_path /var/spool/spamassassin/bayes bayes_file_mode 0666 rewrite_header subject *****SPAM***** required_score 5.5 allow_user_rules 1 version_tag eternal bayes_auto_learn_threshold_nonspam 0.1 bayes_auto_learn_threshold_spam 7.0 trusted_networks 127.0.0.1/8 192.168.11.1/16 10.0.0.1/8 172.16.0.1/12 }} /etc/mail/spamassassin/init.pre #code{{ loadplugin Mail::SpamAssassin::Plugin::URIDNSBL loadplugin Mail::SpamAssassin::Plugin::Hashcash loadplugin Mail::SpamAssassin::Plugin::SPF }} /etc/mail/spamassassin/v310.pre #code{{ loadplugin Mail::SpamAssassin::Plugin::DCC loadplugin Mail::SpamAssassin::Plugin::Pyzor loadplugin Mail::SpamAssassin::Plugin::Razor2 loadplugin Mail::SpamAssassin::Plugin::SpamCop loadplugin Mail::SpamAssassin::Plugin::AWL loadplugin Mail::SpamAssassin::Plugin::AutoLearnThreshold loadplugin Mail::SpamAssassin::Plugin::TextCat loadplugin Mail::SpamAssassin::Plugin::WhiteListSubject loadplugin Mail::SpamAssassin::Plugin::MIMEHeader loadplugin Mail::SpamAssassin::Plugin::ReplaceTags }} ~/.spamassassin/private_prefs #code{{ trusted_networks 127.0.0.1/8 192.168.11.1/16 replace_tag MYMTA (*\.infoweb.ne.jp|mail\.flcl\.org|(mbox|bulkg|mxg|userg)\d+\.nifty\.com|(alt|dns|mta|ybbmta)\d+\.mail\.((bbt|mci|tnz)\.){0,1}yahoo\.co\.jp|fm[1-6]\.freemail\.ne\.jp) }} ~/.spamassassin/user_prefs は、基本的にTLECのやつと同じだけど、以下が違う。 #code{{ header WLOJ_ML List-Id =~ "webmaster.linux.or.jp" describe WLOJ_ML Mail from wloj's ML score WLOJ_ML 3.0 required_score 5.0 }} その他、以下を行って完了。 $ sudo mkdir /var/spool/spamassassin $ sudo chmod 777 /var/spool/spamassassin $ sudo chmod 666 /var/spool/spamassassin/auto-whitelist $ sudo apt-get install perl-Net-DNS perl-Net-IP perl-Geography-Countries perl-IP-Country $ sudo service spamassassin restart // ******************************* *rsync [#v1a11c45] 他マシンとディレクトリの同期がとれるソフト。 デフォじゃ入ってなかったので、apt-getで入れた。 $ sudo apt-get install rsync // ******************************* *tDiary [#ma36ce62] 日記ソフト。&br; 設置方法はおいといて、tDiary-2.1.4.20061210のサイト移行時に気付いた点をメモっとく。 **[[image_ex.rb:http://docs.tdiary.org/ja/?image_ex.rb]] [#f77e9d00] 配布サイトにアクセスできなくなっているので、tDiaryの./contrib/plugin配下にあるimage_ex.rbを自分でコピーする必要がある。あと、こいつが[[image_size:http://raa.ruby-lang.org/project/image_size]]を要求するので、image_size.rbをtDiary直下に置いておく必要がある。image_size.rbがなくても動くけど、これがないとサムネイルファイルを作ってくれない。(2006-12-30) |