Mozilla Firefox Edit

Mozilla JapanのFirefoxのページからfirefox-1.0.installer.tar.gzをgetして、rootで(sudoで)インストール。元々入ってるMozilla-1.7.3はそのまんま。

Firefoxはそれで問題なく動くし、日本語入力も出来るんだけど、フォームのテキスト編集エリアでのキーバインドが変ちくりん(Ctrl-A, Ctrl-E, Ctrl-Kとかが効かない)で最初困った。こいつはGnomeのショートカットキーの設定が効いちゃってるからで、アプリケーション→デスクトップ設定→キーボード・ショートカットを開き、「テキスト編集のショートカット」をneovineからEmacsにすることで元に戻った。


1.0.1日本語
Mozilla Japanから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 Edit

adblock Edit

広告ブロック
フィルタは以下の内容で設定。

  0
  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
//
[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 Edit

マウスジェスチャー。主なジェスチャーは以下。

  • 戻る:左へ
  • 進む:右へ
  • スーパーリロード:上、下、上
  • 新タブを開く:上
  • 前のタブを表示:上、左
  • 後ろのタブを表示:上、右
  • 現在のページを閉じる:下、右
  • 新しいウィンドウを開く:下
  • リンクを新タブで開く:(リンクの上を)上

Copy URL+ Edit

URLコピー。blogには必須。

Google ツールバー Edit

Googleのツールバー。

GMail Notifier Edit

GMailのinboxのNotifier

Adsense Notifier | Firefox Add-ons | Mozilla Corporation Edit

Google AdsenseのNotifier (2007-02-24)

Popup ALT Attributes Edit

画像に設定されたALT属性のテキストをポップアップで表示

Tab Mix Plus Edit

タブ機能の拡張
設定でデフォから変えたのは、「Tab Mix Plusのオプション」→「表示」→「タブ」→『「タブを閉じる」ボタンを』で、『全てのタブに表示』から『現在のタブに表示』に変更。

Reveal Edit

ページのサムネイルで、タブや履歴を見れる。

Resizeable Textarea Edit

テキストエリアのサイズを自由に変えられる。

Resizable Textarea Extension for Firefox 1.5 (by Jeremy Zawodny) Edit

オリジナルが1.5に対応しないので、他の人が対応させたもの。

Firemacs Edit

FirefoxにEmacsの編集機能を付ける拡張機能。Emacsのキーバインドで編集できる。(2007-03-31)

Together with Foxkeh | Firefox Add-ons | Mozilla Corporation Edit

フォクすけと一緒。(笑) (2007-02-20)

bbs2chreader | Firefox Add-ons | Mozilla Corporation Edit

2chリーダー。(2007-02-24)

Firebug :: Firefox Add-ons Edit

WebページのCSS、HTML、JavaScriptをリアルタイムに編集、デバッグ、またはモニタすることが出来るツール。(2007-09-14)

Nightly Tester Tools Edit

Firefoxのバージョンを偽って、Extensionsを入れられるnightlyビルド向けツール。

Mouse Gestures Edit

マウスジェスチャー
こちらはFirefoxではなくMozilla Browserの方で使ってた。All-in-One Gesturesの上記ジェスチャーはこれでも同じ。

RadialContext Edit

右クリックコンテキストメニュー + マウスジェスチャー
カスタマイズできないので結局使うの止めた。

easygestures Edit

こちらもコンテキストメニュー + マウスジェスチャー
マウス中ボタンでの張り付けができなくなるので使うの止めた。

変更した設定(about:config) Edit

  • 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)
  • 高速化のもろもろ
    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 まとめサイトにて。

Mozilla Calendar/Sunbird Edit

2005-1-20
2005-1-11版のFirefox用ExtensionなCalendarがリリースされてたので、早速アップデート。でも、拡張機能ウィンドウからMozilla Calendarを選択して更新ボタンを押しても、今回も更新を認知してくんなかったので、上記ページで.xpiをクリックすることでインストール。バージョンは Mozilla Calendar 0.8.3+になった。しかし、変更点は分からず。ただ、心なしか軽くなった気がするよ。

Spamassassin Edit

Vine 2.6と同じなんだけど、マシン起動ごとにデーモンが起動するようにする設定が書いてなかった。

$ sudo chkconfig --level 3 spamassassin on

2006-10-21
2006/10/10リリースの3.1.7が早くもVine Plusに登録されたので、早速更新。

$ sudo apt-get update; sudo apt-get install spamassassin

2.64からのアップデートなので、UPGRADE通りに

  - 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-を参考に、/etc/mail/spamassassin/local.cfを以下のように編集。(コメント行割愛)

  0
  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
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

  0
  1
loadplugin Mail::SpamAssassin::Plugin::URIDNSBL
loadplugin Mail::SpamAssassin::Plugin::Hashcash
loadplugin Mail::SpamAssassin::Plugin::SPF

/etc/mail/spamassassin/v310.pre

  0
  1
  2
  3
  4
  5
  6
  7
  8
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

  0
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のやつと同じだけど、以下が違う。

  0
  1
  2
  3
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 Edit

他マシンとディレクトリの同期がとれるソフト。 デフォじゃ入ってなかったので、apt-getで入れた。

$ sudo apt-get install rsync

tDiary Edit

日記ソフト。
設置方法はおいといて、tDiary-2.1.4.20061210のサイト移行時に気付いた点をメモっとく。

image_ex.rb Edit

配布サイトにアクセスできなくなっているので、tDiaryの./contrib/plugin配下にあるimage_ex.rbを自分でコピーする必要がある。あと、こいつがimage_sizeを要求するので、image_size.rbをtDiary直下に置いておく必要がある。image_size.rbがなくても動くけど、これがないとサムネイルファイルを作ってくれない。(2006-12-30)


リロード   新規 下位ページ作成 編集 凍結 差分 添付 コピー 名前変更   ホーム 一覧 検索 最終更新 バックアップ リンク元   ヘルプ   最終更新のRSS
Last-modified: Wed, 02 Dec 2015 18:53:03 JST (3071d)